now,i have finished this kernel
NEXT,i will do CM7-port...
the overclock is max 1.5ghz,default freq is 806Mhz
add smartass /bfq io/ tun/ cifs/swap
2011.5.8:
update max 1.8Ghz, only Jesus phone can use
fix smartass,lengthen the battey using time
Seems nice! What is io/ tun/?
Plus how does one install it?
andreasha said:
Seems nice! What is io/ tun/?
Plus how does one install it?
Click to expand...
Click to collapse
tun is moudle for OPENVPN
not IO,it's BFQ IO
i only upload kernel,you can make a boot.img
Ok I've tried but didn't get far.
What kernel is it based on? I'm trying with B136. Phone freezes at 1.5Ghz.
The cm7 port stuff looks promising.
Thank for the kernel but a more enlightening guide would be nice for less advanced users.
I d like to give it a try but...
thanks for the kernal Any ETA will be Great about CM7
Thanks
Do this in your own risk, make sure you do a NANDROID backup first. Here are what I did to have the kernel running in my phone, with Ubuntu:
1, Put the boot.img of your phone into a folder in your Linux machine.
2, Get package abootimg.
3, Extract the attached kernel into the folder in step 1.
4, Run in terminal: abootimg -u ./boot.img -k ./kernel
5, Test the boot.img in your phone.
Got 2381 from Quadrant @ 1.5Ghz
tested, works fine, freezed at 1400
thanks
fall back to 1200, so far so good
btw, my rom version is 135
OK i found the other thread with stockwell's rom and have installed it now thanks
Thank you! Looking forward to CM7.
simplistian said:
Do this in your own risk, make sure you do a NANDROID backup first. Here are what I did to have the kernel running in my phone, with Ubuntu:
1, Put the boot.img of your phone into a folder in your Linux machine.
2, Get package abootimg.
3, Extract the attached kernel into the folder in step 1.
4, Run in terminal: abootimg -u ./boot.img -k ./kernel
5, Test the boot.img in your phone.
Click to expand...
Click to collapse
worked like charm in Wind's (Greek Provider) IDEOS X5 on stock rom. Massive gains at 1516Mhz... as the phone seems to work ok in many apps (had some problem with on demand scheme, on performance scheme worked just fine). Out of curiosity i'd like to try a kernel with even higher limit (lets say experimental 1700-1800mhz -with finer steps at max limit, 30-50mhz step would be fine , instead of 100mhz now)
edit: is there anyway to check what voltage is applied to processor...? is it the stock, or its dynamically adjusts with clock speed...? (something like lookup table if its available)
papatsonis said:
worked like charm in Wind's (Greek Provider) IDEOS X5 on stock rom. Massive gains at 1516Mhz... as the phone seems to work ok in many apps (had some problem with on demand scheme, on performance scheme worked just fine). Out of curiosity i'd like to try a kernel with even higher limit (lets say experimental 1700-1800mhz -with finer steps at max limit, 30-50mhz step would be fine , instead of 100mhz now)
edit: is there anyway to check what voltage is applied to processor...? is it the stock, or its dynamically adjusts with clock speed...? (something like lookup table if its available)
Click to expand...
Click to collapse
sure,i will upload max 1.8Ghz kernel...
Genokolar, the OC kernel uses this table ? :
Code:
/* Use negative numbers for sources that can't be enabled/disabled */
#define SRC_LPXO (-2)
#define SRC_AXI (-1)
static struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 24576, SRC_LPXO, 0, 0, 30720, 900, VDD_RAW(900) },
{ 61440, PLL_3, 5, 11, 61440, 900, VDD_RAW(900) },
{ 122880, PLL_3, 5, 5, 61440, 900, VDD_RAW(900) },
{ 184320, PLL_3, 5, 4, 61440, 900, VDD_RAW(900) },
{ MAX_AXI_KHZ, SRC_AXI, 1, 0, 61440, 900, VDD_RAW(900) },
{ 245760, PLL_3, 5, 2, 61440, 825, VDD_RAW(825) },
{ 368640, PLL_3, 5, 1, 122800, 825, VDD_RAW(825) },
{ 768000, PLL_1, 2, 0, 153600, 950, VDD_RAW(950) },
/* Make sure any freq based from PLL_2 is a multiple of 19200!
Voltage tables are being very conservative and are not designed to
be an undervolt of any sort. */
#if defined(CONFIG_MACH_SPADE) || defined(CONFIG_MACH_GLACIER)
{ 1017600, PLL_2, 3, 0, 192000, 1100, VDD_RAW(1100) },
#else
{ 806400, PLL_2, 3, 0, 192000, 1000, VDD_RAW(1000) },
{ 1017600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
#endif
{ 1113600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1209600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1305600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1401600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1250) },
{ 1497600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1250) },
{ 1516800, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
#ifdef CONFIG_JESUS_PHONE
{ 1612800, PLL_2, 3, 0, 192000, 1350, VDD_RAW(1350) },
{ 1651200, PLL_2, 3, 0, 192000, 1400, VDD_RAW(1400) },
{ 1708800, PLL_2, 3, 0, 192000, 1450, VDD_RAW(1450) },
{ 1747200, PLL_2, 3, 0, 192000, 1500, VDD_RAW(1500) },
{ 1804800, PLL_2, 3, 0, 192000, 1500, VDD_RAW(1500) },
{ 1843200, PLL_2, 3, 0, 192000, 1500, VDD_RAW(1500) },
{ 1900800, PLL_2, 3, 0, 192000, 1525, VDD_RAW(1525) },
from this post, and if so, is there any possibility to adjust (undervolt to be specific) the vsel manually?
Thanks again for your good work
papatsonis said:
Genokolar, the OC kernel uses this table ? :
Code:
/* Use negative numbers for sources that can't be enabled/disabled */
#define SRC_LPXO (-2)
#define SRC_AXI (-1)
static struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 24576, SRC_LPXO, 0, 0, 30720, 900, VDD_RAW(900) },
{ 61440, PLL_3, 5, 11, 61440, 900, VDD_RAW(900) },
{ 122880, PLL_3, 5, 5, 61440, 900, VDD_RAW(900) },
{ 184320, PLL_3, 5, 4, 61440, 900, VDD_RAW(900) },
{ MAX_AXI_KHZ, SRC_AXI, 1, 0, 61440, 900, VDD_RAW(900) },
{ 245760, PLL_3, 5, 2, 61440, 825, VDD_RAW(825) },
{ 368640, PLL_3, 5, 1, 122800, 825, VDD_RAW(825) },
{ 768000, PLL_1, 2, 0, 153600, 950, VDD_RAW(950) },
/* Make sure any freq based from PLL_2 is a multiple of 19200!
Voltage tables are being very conservative and are not designed to
be an undervolt of any sort. */
#if defined(CONFIG_MACH_SPADE) || defined(CONFIG_MACH_GLACIER)
{ 1017600, PLL_2, 3, 0, 192000, 1100, VDD_RAW(1100) },
#else
{ 806400, PLL_2, 3, 0, 192000, 1000, VDD_RAW(1000) },
{ 1017600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
#endif
{ 1113600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1209600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1150) },
{ 1305600, PLL_2, 3, 0, 192000, 1200, VDD_RAW(1200) },
{ 1401600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1250) },
{ 1497600, PLL_2, 3, 0, 192000, 1150, VDD_RAW(1250) },
{ 1516800, PLL_2, 3, 0, 192000, 1300, VDD_RAW(1300) },
#ifdef CONFIG_JESUS_PHONE
{ 1612800, PLL_2, 3, 0, 192000, 1350, VDD_RAW(1350) },
{ 1651200, PLL_2, 3, 0, 192000, 1400, VDD_RAW(1400) },
{ 1708800, PLL_2, 3, 0, 192000, 1450, VDD_RAW(1450) },
{ 1747200, PLL_2, 3, 0, 192000, 1500, VDD_RAW(1500) },
{ 1804800, PLL_2, 3, 0, 192000, 1500, VDD_RAW(1500) },
{ 1843200, PLL_2, 3, 0, 192000, 1500, VDD_RAW(1500) },
{ 1900800, PLL_2, 3, 0, 192000, 1525, VDD_RAW(1525) },
from this post, and if so, is there any possibility to adjust (undervolt to be specific) the vsel manually?
Thanks again for your good work
Click to expand...
Click to collapse
same to you post,some different!
i will public u8800 kernel to github
ty again, is it possible to upload the kernel module itself (like on 1.5ghz version) to insert it manual on existing boot.img?
ignore the previous.. slowly i start messing with linux (extracted with abootimg the kernel module)
any chance that the phone cpu will get burned after 1,8ghz overclocking?
flipmodegr said:
any chance that the phone cpu will get burned after 1,8ghz overclocking?
Click to expand...
Click to collapse
may be ,no body konw!
@genokolar :
a nice addition could be that, where in 1.3.2 version added :
Added VDD levels sysfs interface (edit your voltage tables through "/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels")
so you can upload one generic oc kernel with maybe conservative voltages, and every user can trial&error find the minimum required for battery saving
thanks again
Related
okay I need help....
I'm a beginner to Android and Java (both of them and I am learning....)
So I thought of making a simple app but its got an annoying problem...
Its a calculator so it has some number keys ...the problem is that different keys give out different numbers like 2 prints out 9
MainActivity
Code:
package com.aN.calculator1;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends Activity implements OnClickListener {
Button mb1, mb2, mb3, mb4, mb5, mb6, mb7, mb8, mb9, mb10, mb11, mb12, mb13, mb14, mb15, mb16 ;
TextView mTextView1 ;
[user=439709]@override[/user]
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mTextView1 = (TextView)findViewById(R.id.textView1);
mb1 = (Button)findViewById(R.id.b1);
mb2 = (Button)findViewById(R.id.b2);
mb3 = (Button)findViewById(R.id.b3);
mb4 = (Button)findViewById(R.id.b4);
mb5 = (Button)findViewById(R.id.b5);
mb6 = (Button)findViewById(R.id.b6);
mb7 = (Button)findViewById(R.id.b7);
mb8 = (Button)findViewById(R.id.b8);
mb9 = (Button)findViewById(R.id.b9);
mb10 = (Button)findViewById(R.id.b10);
mb11 = (Button)findViewById(R.id.b11);
mb12 = (Button)findViewById(R.id.b12);
mb13 = (Button)findViewById(R.id.b13);
mb14 = (Button)findViewById(R.id.b14);
mb15 = (Button)findViewById(R.id.b15);
mb16 =(Button)findViewById(R.id.b16);
mb1.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
mTextView1.setText("");
}
});
mb2.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 != null || !mTextView1.getText().equals(""))
{
mTextView1.append("1");
}else {
mTextView1.setText("1");
}
}
});
mb3.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("2");
}
else {
mTextView1.setText("2");
}
}
});
mb4.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("3");
}
else {
mTextView1.setText("3");
}
}
});
mb5.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append( "4");
}
else {
mTextView1.setText("4");
}
}
});
mb6.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("5");
}
else {
mTextView1.setText("5");
}
}
});
mb7.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("6");
}
else {
mTextView1.setText("6");
}
}
});
mb8.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("7");
}
else {
mTextView1.setText("7");
}
}
});
mb9.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("8");
}
else {
mTextView1.setText("8");
}
}
});
mb10.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("9");
}
else {
mTextView1.setText("9");
}
}
});
mb12.setOnClickListener(new View.OnClickListener() {
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
if(mTextView1 !=null || !mTextView1.getText().equals(""))
{
mTextView1.append("0");
}
else {
mTextView1.setText("0");
}
}
});
}
[user=439709]@override[/user]
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
}
}
Activitymain.xml
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/rootRL"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg">
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="20dip"
android:layout_above="@+id/b1"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true" />
<Button
android:id="@+id/b14"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignRight="@+id/b11"
android:text="/" />
<Button
android:id="@+id/b11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b14"
android:layout_alignParentLeft="true"
android:text="+" />
<Button
android:id="@+id/b16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/b13"
android:layout_alignParentRight="true"
android:layout_below="@+id/b11"
android:text="=" />
<Button
android:id="@+id/b13"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/b11"
android:layout_alignBottom="@+id/b11"
android:layout_alignParentRight="true"
android:text="-" />
<Button
android:id="@+id/b12"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b14"
android:layout_alignLeft="@+id/b15"
android:layout_alignRight="@+id/b15"
android:text="0" />
<Button
android:id="@+id/b4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b6"
android:layout_alignLeft="@+id/b7"
android:layout_alignParentRight="true"
android:text="3" />
<Button
android:id="@+id/b7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b9"
android:layout_alignLeft="@+id/b13"
android:layout_alignParentRight="true"
android:text="6" />
<Button
android:id="@+id/b8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b12"
android:layout_alignParentLeft="true"
android:layout_alignRight="@+id/b11"
android:text="7" />
<Button
android:id="@+id/b10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b12"
android:layout_alignLeft="@+id/b13"
android:layout_alignParentRight="true"
android:text="9" />
<Button
android:id="@+id/b5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b8"
android:layout_alignParentLeft="true"
android:layout_alignRight="@+id/b8"
android:text="4" />
<Button
android:id="@+id/b1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b3"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:text="Clear" />
<Button
android:id="@+id/b2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b5"
android:layout_alignParentLeft="true"
android:layout_alignRight="@+id/b5"
android:text="1" />
<Button
android:id="@+id/b3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b6"
android:layout_centerHorizontal="true"
android:text="2" />
<Button
android:id="@+id/b15"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/b9"
android:layout_alignParentBottom="true"
android:text="X" />
<Button
android:id="@+id/b9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/b3"
android:layout_alignRight="@+id/b3"
android:layout_below="@+id/b6"
android:text="8" />
<Button
android:id="@+id/b6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/b8"
android:layout_alignLeft="@+id/b3"
android:layout_alignRight="@+id/b3"
android:text="5" />
</RelativeLayout>
Thanks in Advance waiting for your help
I can't help you now as I'm on my way out.
But just a tip, try naming you buttons in such a way that you can recognize it easily.
For example, your Button b1 is Clear, b2 is "1", b3 is "2" so on and so forth, which is so confusing.
Try naming is as :bClear, bOne, bTwo, bExit, bMinus, bPlus and such.
If no one helps you out the moment I reach home, I'll be sure to help you out.
:highfive:
EDIT :
Also, you can remove
Code:
[user=439709]@override[/user]
public void onClick(View v) {
// TODO Auto-generated method stub
}
and
Code:
.. implement OnClickListener {
since you've set a OnClickListener on each button individually.
See my thread!
Edit:
Oops I am an "idiot" you already voted there!
[==)BULLET(==] said:
See my thread!
Edit:
Oops I am an "idiot" you already voted there!
Click to expand...
Click to collapse
sorry what ??
i didn't get you...
Sent from my GT-S5360 using xda app-developers app
anubhavrev said:
sorry what ??
i didn't get you...
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
You voted the poll on his thread that he's an idiot. :/
Anyway, I see no wrong with your code. The numbers are shown/typed according to what is pressed. Mind explaining the error a little more?
frenzyboi said:
You voted the poll on his thread that he's an idiot. :/
Anyway, I see no wrong with your code. The numbers are shown/typed according to what is pressed. Mind explaining the error a little more?
Click to expand...
Click to collapse
yea i jst realized bout voting idiot on his poll ....
@bullet
m sorry man ... chck pm ....
@frenzyboi
the problem is lyk i press 2 the textview shows 9 and most of d buttons are messed up similarly
.....
Edit:
P.S.- i have heard dat i'll hav to pay 25$ for uploading apps to gplay .... is it so ¿?
Sent from my GT-S5360 using xda app-developers app
Yes you need to pay $25 for uploading apps to gplay (even for free ones )!
[==)BULLET(==] said:
Yes you need to pay $25 for uploading apps to gplay (even for free ones )!
Click to expand...
Click to collapse
u read pm?
Sent from my GT-S5360 using xda app-developers app
anubhavrev said:
u read pm?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
you read yours!!
[==)BULLET(==] said:
you read yours!!
Click to expand...
Click to collapse
xda app doesn't hav notifications....
first thing to do aftr learning java - fix this app
Sent from my GT-S5360 using xda app-developers app
I'm having no error. Press 2 = 2, press 5 = 5.
Someone else please test the APK below and see if it happens to you too.
frenzyboi said:
I'm having no error. Press 2 = 2, press 5 = 5.
Someone else please test the APK below and see if it happens to you too.
Click to expand...
Click to collapse
Confirmed working.
Well done
Would try to include these buttons in my calculator!
frenzyboi said:
I'm having no error. Press 2 = 2, press 5 = 5.
Someone else please test the APK below and see if it happens to you too.
Click to expand...
Click to collapse
thanx man but could u tell how you fixed it ¿?
Sent from my GT-S5360 using xda app-developers app
anubhavrev said:
thanx man but could u tell how you fixed it ¿?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
I did not fix it! I'm using your code, with totally no error. LOL
Could you tell me which device u use?
Right now i will try it on another virtual device since my first virtual device and phone both have gingerbread
Mayb also try fixes from first reply...
Thanx a lot man for helping me....
anubhavrev said:
Could you tell me which device u use?
Right now i will try it on another virtual device since my first virtual device and phone both have gingerbread
Mayb also try fixes from first reply...
Thanx a lot man for helping me....
Click to expand...
Click to collapse
I'm using Xperia Ray on Android 4.2.2 P.A.C rom.
Android version shouldn't be a problem in this. The code is written correct [as far as I can see] and each button is registered to a correct number to display.
okay I finally found the fault....
i just removed the line declaring background png from the mainactivity.xml
and it worked
now could you tell me how to properly set a background ?
EDIT:is it fine if i set a Onclicklistener on each button individually ? or if there is a better way what wud it be ?
you sure it is the right way becoz removing that particular line stopped the errors...
@Ichigo yes
sorry i should have quoted ....
Ichigo said:
Did you actually put @drawable/bg? Replace bg with your background image.
Click to expand...
Click to collapse
its working ..i had earlier renamed the background to bg
this tym made some minor changes in the xml instead of being lazy
Sent from my GT-S5360 using xda app-developers app
Hi XDA-Developers users!
I'ts easy, how can I make this processdialog visible?
Code:
public void onClick(DialogInterface dialog, int id) {
// metodo que se debe implementar
dialog.cancel();
pd = ProgressDialog.show(FixWifiActivity.this, "dialog title", "dialog message", true);
try {
ProcessBuilder pb = new ProcessBuilder(new String[] { "su", "-c", "/system/bin/reboot" });
java.lang.Process process = pb.start();
process.waitFor();
} catch (IOException e) {
}
// TODO Auto-generated method stub
catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} });
AlertDialog alert = builder.create();
alert.show();
}
}
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Please...
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Come on... It's easy...
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Do it like this:
Code:
ProgressDialog pd = new ProgressDialog(context);
pd.setTitle("My title");
pd.setMessage("Operation...");
pd.show();
nikwen said:
Do it like this:
Code:
ProgressDialog pd = new ProgressDialog(context);
pd.setTitle("My title");
pd.setMessage("Operation...");
pd.show();
Click to expand...
Click to collapse
Ok, I'm going to try it
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
nikwen said:
Do it like this:
Code:
ProgressDialog pd = new ProgressDialog(context);
pd.setTitle("My title");
pd.setMessage("Operation...");
pd.show();
Click to expand...
Click to collapse
No no no, you don't understand me What I mean is that I want to make the ProgressDialog visible becouse the reboot process block it.
Try to make a code that shows the ProcessDialog and then give it to me. Please...
EDIT:
What I want is show a progress dialog while a process is running, I think I need something like asynktask.
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
alert.show(); does not work?
alert.show(); does not work?
DannyGM16 said:
Hi XDA-Developers users!
I'ts easy, how can I make this processdialog visible?
Code:
public void onClick(DialogInterface dialog, int id) {
// metodo que se debe implementar
dialog.cancel();
pd = ProgressDialog.show(FixWifiActivity.this, "dialog title", "dialog message", true);
try {
ProcessBuilder pb = new ProcessBuilder(new String[] { "su", "-c", "/system/bin/reboot" });
java.lang.Process process = pb.start();
process.waitFor();
} catch (IOException e) {
}
// TODO Auto-generated method stub
catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} });
AlertDialog alert = builder.create();
alert.show();
}
}
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Click to expand...
Click to collapse
DannyGM16 said:
No no no, you don't understand me What I mean is that I want to make the ProgressDialog visible becouse the reboot process block it.
Try to make a code that shows the ProcessDialog and then give it to me. Please...
EDIT:
What I want is show a progress dialog while a process is running, I think I need something like asynktask.
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Click to expand...
Click to collapse
If you want the progress to.continue while doing a background task, your best and easy bet is to use async task. Create and show progress dialog in onPreExecute() and do the task in doInBackground() and close the progress in onPostExecute().
Sent from my GT-N7000 using xda app-developers app
vijai2011 said:
If you want the progress to.continue while doing a background task, your best and easy bet is to use async task. Create and show progress dialog in onPreExecute() and do the task in doInBackground() and close the progress in onPostExecute().
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Thank's a lot, this is what I mean ;D
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
vijai2011 said:
If you want the progress to.continue while doing a background task, your best and easy bet is to use async task. Create and show progress dialog in onPreExecute() and do the task in doInBackground() and close the progress in onPostExecute().
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
... can you give me an example code of AsyncTask?, I can't find an understable explanation on Internet (for me)
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Here it is with progress dialog
Code:
class MyAsyncTask extends AsyncTask<Void, Void, Void> {
ProgressDialog prog;
[user=439709]@override[/user]
protected void onPreExecute() {
prog = new ProgressDialog(youractivity.this);
prog.setCancelable(false);
prog.setTitle("Title");
prog.setMessage("Message");
prog.setIndeterminate(true);
prog.show();
}
protected Void doInBackground(Void... params) {
//Your task to be done in Background while progress dialog is showing
return null;
}
[user=439709]@override[/user]
protected void onPostExecute(Void aVoid) {
super.onPostExecute(aVoid);
prog.dismiss(); //Progress is dismissed after background task is done
}
}
vijai2011 said:
Here it is with progress dialog
Code:
class MyAsyncTask extends AsyncTask<Void, Void, Void> {
ProgressDialog prog;
[user=439709]@override[/user]
protected void onPreExecute() {
prog = new ProgressDialog(youractivity.this);
prog.setCancelable(false);
prog.setTitle("Title");
prog.setMessage("Message");
prog.setIndeterminate(true);
prog.show();
}
protected Void doInBackground(Void... params) {
//Your task to be done in Background while progress dialog is showing
return null;
}
[user=439709]@override[/user]
protected void onPostExecute(Void aVoid) {
super.onPostExecute(aVoid);
prog.dismiss(); //Progress is dismissed after background task is done
}
}
Click to expand...
Click to collapse
Why it does not work?
Code:
public void End() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage("Es necesario reiniciar")
.setTitle("Instalacion satisfactoria!")
.setCancelable(false)
.setNegativeButton("Hacerlo mas tarde",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
dialog.cancel();
}
})
.setPositiveButton("Reiniciar",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
class MyAsyncTask extends AsyncTask<Void, Void, Void> {
ProgressDialog prog;
[user=439709]@override[/user]
protected void onPreExecute() {
prog = new ProgressDialog(FixWifiActivity.this);
prog.setCancelable(false);
prog.setTitle("Title");
prog.setMessage("Message");
prog.setIndeterminate(true);
prog.show();
}
protected Void doInBackground(Void... params) {
ProcessBuilder pb = new ProcessBuilder(new String[] { "su", "-c", "/system/bin/reboot" });
java.lang.Process process = pb.start();
process.waitFor();
return null;
}
[user=439709]@override[/user]
protected void onPostExecute(Void aVoid) {
super.onPostExecute(aVoid);
prog.dismiss();
//Progress is dismissed after background task is done
}
AlertDialog alert = builder.create();
alert.show();
}
It has lots of errors
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
DannyGM16 said:
Why it does not work?
Code:
public void End() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage("Es necesario reiniciar")
.setTitle("Instalacion satisfactoria!")
.setCancelable(false)
.setNegativeButton("Hacerlo mas tarde",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
dialog.cancel();
}
})
.setPositiveButton("Reiniciar",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
class MyAsyncTask extends AsyncTask<Void, Void, Void> {
ProgressDialog prog;
[user=439709]@override[/user]
protected void onPreExecute() {
prog = new ProgressDialog(FixWifiActivity.this);
prog.setCancelable(false);
prog.setTitle("Title");
prog.setMessage("Message");
prog.setIndeterminate(true);
prog.show();
}
protected Void doInBackground(Void... params) {
ProcessBuilder pb = new ProcessBuilder(new String[] { "su", "-c", "/system/bin/reboot" });
java.lang.Process process = pb.start();
process.waitFor();
return null;
}
[user=439709]@override[/user]
protected void onPostExecute(Void aVoid) {
super.onPostExecute(aVoid);
prog.dismiss();
//Progress is dismissed after background task is done
}
AlertDialog alert = builder.create();
alert.show();
}
It has lots of errors
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Click to expand...
Click to collapse
The ide will say of unimplemented method. Just highlight it and add unimplemented method and delete tye auto generated method. It will work then
Sent from my GT-N7000 using xda app-developers app
vijai2011 said:
The ide will say of unimplemented method. Just highlight it and add unimplemented method and delete tye auto generated method. It will work then
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Sorry, I'm Spanish, be more specific, with examples or something like this... I don't understand you
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
DannyGM16 said:
Sorry, I'm Spanish, be more specific, with examples or something like this... I don't understand you
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Click to expand...
Click to collapse
Take you mouse pointer over AsyncTask which would be underlined in red and click on "Add unimplemented method" or something like that. Then delete the methods having the comment "// TODO Auto-generated method stub". Then the error would be gone.
vijai2011 said:
Take you mouse pointer over AsyncTask which would be underlined in red and click on "Add unimplemented method" or something like that. Then delete the methods having the comment "// TODO Auto-generated method stub". Then the error would be gone.
Click to expand...
Click to collapse
I'm developing with my mobile xD
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
vijai2011 said:
Take you mouse pointer over AsyncTask which would be underlined in red and click on "Add unimplemented method" or something like that. Then delete the methods having the comment "// TODO Auto-generated method stub". Then the error would be gone.
Click to expand...
Click to collapse
Please, can you give me the code?
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
DannyGM16 said:
I'm developing with my mobile xD
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Click to expand...
Click to collapse
With AIDE? Long-click on the code with the red mark below. Then click the first entry (something like "fix"). Select "add unimplemented methods".
That's it.
nikwen said:
With AIDE? Long-click on the code with the red mark below. Then click the first entry (something like "fix"). Select "add unimplemented methods".
That's it.
Click to expand...
Click to collapse
FU** It doesn't appear :'(
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
nikwen said:
With AIDE? Long-click on the code with the red mark below. Then click the first entry (something like "fix"). Select "add unimplemented methods".
That's it.
Click to expand...
Click to collapse
Code:
public void onClick(DialogInterface dialog, int id) {}
// metodo que se debe implementar
private class PlantFiles extends AsyncTask {
protected Boolean doInBackground(Void... arg0) {
try
{
comando();
}
catch (InterruptedException e)
{}
catch (IOException e)
{}
return null;
}
private void comando() throws IOException, InterruptedException
{
ProcessBuilder pb = new ProcessBuilder(new String[] { "su", "-c", "/system/bin/reboot" });
java.lang.Process process = pb.start();
process.waitFor();
}
protected void onPostExecute(Boolean result){
pd.cancel();
}
protected void onPreExecute(Boolean result){
pd = ProgressDialog.show(FixWifiActivity.this, "Wait", "Loading...", true);
}
}});
AlertDialog alert = builder.create();
alert.show();
}
}
The code is correct but It doesn't work, can you fix it?
Enviado desde mi Galaxy Mini Plus 4G usando Tapatalk 2
Hi,
I'm a newbie developer and I thought that I want to add the ability to edit tags in music files (id3 tags),but I have no idea how to do that. Could somebody point me to a guide or explain me how that could be done? With parts of code if possible please.
Thanks.
Wysłane z mojego C6903 przy użyciu Tapatalka
olokos said:
Hi,
I'm a newbie developer and I thought that I want to add the ability to edit tags in music files (id3 tags),but I have no idea how to do that. Could somebody point me to a guide or explain me how that could be done? With parts of code if possible please.
Thanks.
Wysłane z mojego C6903 przy użyciu Tapatalka
Click to expand...
Click to collapse
You have to download this file: https://sites.google.com/site/eternalsandbox/myid3-for-android
Then, add it to your project as reference.
The code is this: (pathdata) is the path of your audio file
Code:
File src = new File(pathdata);
MusicMetadataSet src_set = null;
try {
src_set = new MyID3().read(src);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} // read metadata
if (src_set == null) // perhaps no metadata
{
Log.i("NULL", "NULL");
}
else
{
try{
IMusicMetadata metadata = src_set.getSimplified();
String artist = metadata.getArtist();
String album = metadata.getAlbum();
String song_title = metadata.getSongTitle();
Number track_number = metadata.getTrackNumber();
Log.i("artist", artist);
Log.i("album", album);
}catch (Exception e) {
e.printStackTrace();
}
File dst = new File(pathdata);
MusicMetadata meta = new MusicMetadata("name");
meta.setAlbum("Chirag");
meta.setArtist("CS");
try {
new MyID3().write(src, dst, src_set, meta);
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ID3WriteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} // write updated metadata
Hope it's useful!
Jeeko said:
You have to download this file: https://sites.google.com/site/eternalsandbox/myid3-for-android
Then, add it to your project as reference.
The code is this: (pathdata) is the path of your audio file
Code:
File src = new File(pathdata);
MusicMetadataSet src_set = null;
try {
src_set = new MyID3().read(src);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} // read metadata
if (src_set == null) // perhaps no metadata
{
Log.i("NULL", "NULL");
}
else
{
try{
IMusicMetadata metadata = src_set.getSimplified();
String artist = metadata.getArtist();
String album = metadata.getAlbum();
String song_title = metadata.getSongTitle();
Number track_number = metadata.getTrackNumber();
Log.i("artist", artist);
Log.i("album", album);
}catch (Exception e) {
e.printStackTrace();
}
File dst = new File(pathdata);
MusicMetadata meta = new MusicMetadata("name");
meta.setAlbum("Chirag");
meta.setArtist("CS");
try {
new MyID3().write(src, dst, src_set, meta);
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ID3WriteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} // write updated metadata
Hope it's useful!
Click to expand...
Click to collapse
Thank you mate.
I can't find in this code a popup with sth like "type in the Artist" etc...
What do I have to do with the pathname?
How do I entirely implement it in my music player?
I'm still a newb, excuse me that.
olokos said:
Thank you mate.
I can't find in this code a popup with sth like "type in the Artist" etc...
What do I have to do with the pathname?
How do I entirely implement it in my music player?
I'm still a newb, excuse me that.
Click to expand...
Click to collapse
This link can be very useful https://java.net/projects/jaudiotagger/
Anyway, you have to implement this code into your "audio editing" activity,
basically the one that have the show.audioinfo function.
The popup is already included in the library, you have only to call that
with a code lik this
Code:
Mp3File mp3file = new Mp3File("SomeMp3File.mp3");
ID3v1 id3v1Tag;
if (mp3file.hasId3v1Tag()) {
id3v1Tag = mp3file.getId3v1Tag();
} else {
// mp3 does not have an ID3v1 tag, let's create one..
id3v1Tag = new ID3v1Tag();
mp3file.setId3v1Tag(id3v1Tag);
}
id3v1Tag.setTrack("5");
id3v1Tag.setArtist("An Artist");
id3v1Tag.setTitle("The Title");
id3v1Tag.setAlbum("The Album");
id3v1Tag.setYear("2001");
id3v1Tag.setGenre(12);
id3v1Tag.setComment("Some comment");
mp3file.save("MyMp3File.mp3");
Want some real confirm? https://github.com/mpatric/mp3agic this is the ID3 guru
Thanks. After I finish something else I'll post here again if I'd have any further questions.
Wysłane z mojego C6903 przy użyciu Tapatalka
Hello all
i'm newbie
i just want to ask..
how to replace substring from textinput/input text?
this is my code
public void ngeji(EditText editText){
EditText editteks = (EditText) findViewById(R.id.editText1);
String str = editteks.getText().toString();
if(str!= null){
str.toUpperCase();
str.replaceAll("U", "OO");
str.replaceAll("C", "TJ");
str.replaceAll("F", "EV");
str.replaceAll("ES", "X");
str.replaceAll("EKS", "X");
editText.setText(str);}
}
public void normalin(EditText editText){
EditText editteks = (EditText) findViewById(R.id.editText2);
String str = editteks.getText().toString();
if(str!=null){
str.toLowerCase();
str.replaceAll("oo", "u");
str.replaceAll("tj", "c");
str.replaceAll("ev", "f");
str.replaceAll("x", "eks");
str.replaceAll("y", "i");
str.replaceAll("q", "k");
editText.setText(str);
}
}
what's wrong with the code?
btw i just wanna make translator...its like ticky word translator
for example
i = OO
j = DJ
and Uppercase all
when i type : juanda
so... the result is DJOOANDA
i'll wait for your reply
thanks
Both .toUpperCase() and .replaceAll() return a string - they do not affect the string that you run them against. So this will do nothing...
Code:
str.toUpperCase();
str.replaceAll("U", "OO");
str.replaceAll("C", "TJ");
str.replaceAll("F", "EV");
str.replaceAll("ES", "X");
str.replaceAll("EKS", "X");
This is what you want...
Code:
str = str.toUpperCase();
str = str.replaceAll("U", "OO");
str = str.replaceAll("C", "TJ");
str = str.replaceAll("F", "EV");
str = str.replaceAll("ES", "X");
str = str.replaceAll("EKS", "X");
Archer said:
Both .toUpperCase() and .replaceAll() return a string - they do not affect the string that you run them against. So this will do nothing...
Code:
str.toUpperCase();
str.replaceAll("U", "OO");
str.replaceAll("C", "TJ");
str.replaceAll("F", "EV");
str.replaceAll("ES", "X");
str.replaceAll("EKS", "X");
This is what you want...
Code:
str = str.toUpperCase();
str = str.replaceAll("U", "OO");
str = str.replaceAll("C", "TJ");
str = str.replaceAll("F", "EV");
str = str.replaceAll("ES", "X");
str = str.replaceAll("EKS", "X");
Click to expand...
Click to collapse
Thanks for the solution , but i'm still stuck in the error...maybe i have a wrong code
can you fix up my code?
this is my code
Code:
package com.example.qdjytranslator;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.EditText;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
public void ngeji(EditText editText){
EditText editteks = (EditText) findViewById(R.id.editText1);
String str = editteks.getText().toString();
if(str!= null){
str = str.toUpperCase();
str = str.replace("U", "OO");
str = str.replace("C", "TJ");
str = str.replace("F", "EV");
str = str.replace("ES", "X");
str = str.replace("EKS", "X");
editText.setText(str);
}
}
public void normalin(EditText editText){
EditText editteks = (EditText) findViewById(R.id.editText2);
String str = editteks.getText().toString();
if(str!=null){
str = str.toLowerCase();
str = str.replace("oo", "u");
str = str.replace("tj", "c");
str = str.replace("ev", "f");
str = str.replace("x", "eks");
editText.setText(str);
}
}
public void onTerminate()
{
super.onDestroy();
this.finish();
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}
i'll waiting for your reply
Where do you call these methods ?
Code:
ngeji(EditText editText)
normalin(EditText editText)
fikriakhdi said:
Thanks for the solution , but i'm still stuck in the error...maybe i have a wrong code
can you fix up my code?
Click to expand...
Click to collapse
LinuxForce said:
Where do you call these methods ?
Code:
ngeji(EditText editText)
normalin(EditText editText)
Click to expand...
Click to collapse
^^ This, and what errors do you have?
Why are you using an edittext as an input for both functions when you are not using it.just leave brackets empty
public void function()
{
}
Sent from my GT-S5570 using XDA Premium 4 mobile app
Update: We now have a patched Kernel! The brightness bug is cured
Thanks to all those that helped! Go to this thread and flash the kernel
We should be able to find a work around for the Developer Edition Screen locked to max after LP update. Lets share information, and logs so we can patch the bug. Lets gitRdone
I have some logs.
Recovery Log shows locations of brightness settings:
Code:
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/devices/platform/usb_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_HAS_DOWNLOAD_MODE := true
I:TW_BRIGHTNESS_PATH := /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.163/leds/lcd-backlight/brightness
I:Found brightness file at '/sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.163/leds/lcd-backlight/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Some monitor logs while turning brightness up, down, and auto on/off
Code:
04-11 22:05:56.465: D/DisplayPowerController(1184): getFinalBrightness : Summary is 78 -> 78
04-11 22:05:56.465: D/DisplayPowerController(1184): animation target = 78, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:56.465: D/lights(1184): lcd : 10 +
04-11 22:05:56.465: D/lights(1184): lcd : 10 -
04-11 22:05:56.485: D/lights(1184): lcd : 44 +
04-11 22:05:56.485: D/lights(1184): lcd : 44 -
04-11 22:05:56.505: D/DisplayPowerController(1184): getFinalBrightness : Summary is 78 -> 78
04-11 22:05:56.505: D/lights(1184): lcd : 78 +
04-11 22:05:56.505: D/DisplayPowerController(1184): animation target = 78, rate=500 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:56.505: D/lights(1184): lcd : 78 -
04-11 22:05:56.505: D/DisplayPowerController(1184): getFinalBrightness : Summary is 78 -> 78
04-11 22:05:56.505: D/DisplayPowerController(1184): animation target = 78, rate=500 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:56.635: E/Sensors(1184): RED : 270, GREEN : 203, BLUE : 193, CLEAR : 581,Lux = 90.000000, CCT = 3691.000000, RawLux = 90.000000
04-11 22:05:56.815: E/Sensors(1184): RED : 270, GREEN : 203, BLUE : 196, CLEAR : 584,Lux = 89.000000, CCT = 3729.000000, RawLux = 89.000000
04-11 22:05:56.885: D/InputReader(1184): Input event: value=1
04-11 22:05:56.885: D/InputReader(1184): Input event: value=1
04-11 22:05:56.885: I/InputReader(1184): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.726 ] when=10679301538000
04-11 22:05:56.885: I/InputDispatcher(1184): Delivering touch to (1376): action: 0x0, toolType: 1
04-11 22:05:56.885: D/PowerManagerService(1184): [input device light] setInputDeviceLightOn is called : 1
04-11 22:05:56.885: D/ViewRootImpl(1376): ViewPostImeInputStage ACTION_DOWN
04-11 22:05:56.885: D/PowerManagerService(1184): [input device light] handleInputDeviceLightOn
04-11 22:05:56.895: D/PanelView(1376): mDispatchInitX=250.0, mDispatchInitY=610.0
04-11 22:05:56.895: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:56.895: D/PanelView(1376): !handled - true
04-11 22:05:56.895: D/PanelView(1376): findNotificationView(mDispatchInitX, mDispatchInitY) == null - true
04-11 22:05:56.895: D/PanelView(1376): shouldPanelIntercept(mDispatchInitX, mDispatchInitY) - true
04-11 22:05:56.895: D/PanelView(1376): UnlockMethodCache.getInstance(mContext).isMethodInsecure() - true
04-11 22:05:56.895: D/PanelView(1376): !mQsTracking - true
04-11 22:05:56.895: D/PanelView(1376): !getClearAllview(mDispatchInitX, mDispatchInitY) - true
04-11 22:05:56.905: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:56.905: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:56.925: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:56.925: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:56.945: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:56.945: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:56.955: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:56.955: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:56.965: D/SettingsProvider(1184): name = screen_brightness_mode
04-11 22:05:56.965: D/SettingsProvider(1184): edmUri: content://com.sec.knox.provider/RestrictionPolicy3
04-11 22:05:56.965: D/SettingsProvider(1184): projectionArgs: isSettingsChangesAllowed
04-11 22:05:56.965: D/SettingsProvider(1184): selectionArgs: false
04-11 22:05:56.965: D/SettingsProvider(1184): selectionArgs: 10064
04-11 22:05:56.965: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:56.965: D/SettingsProvider(1184): ret = -1
04-11 22:05:56.965: W/BackupManagerService(1184): dataChanged but no participant pkg='com.android.providers.settings' uid=10064
04-11 22:05:56.975: D/PowerManagerService(1184): [api] SettingsObserver: onChange: content://settings/system/screen_brightness_mode
04-11 22:05:56.975: D/PowerManagerService(1184): [PSM] lowPowerModeEnabled: false mLowPowerModeSetting: false, autoLowPowerModeConfigured: false mAutoLowPowerModeConfigured: false, lowBatteryTriggerLevel: 0 mLowBatteryTriggerLevel: 0
04-11 22:05:56.975: D/PowerManagerService(1184): [api] updateSettingsLocked : mDreamsEnabledSetting: false mDreamsActivateOnSleepSetting: false mDreamsActivateOnDockSetting: true mScreenOffTimeoutSetting: 300000 mStayOnWhilePluggedInSetting: 0 mScreenBrightnessSetting: 2 mScreenAutoBrightnessAdjustmentSetting: 0.0 mScreenBrightnessModeSetting: 0 mSmartStayEnabledSetting: false mTouchKeyOffTimeoutSetting: 1500 mKeyboardOffTimeoutSetting: 2000 mPowerSaveModeSettingBroadcasted false mLimitedPerformanceBroadcasted true useSystemPowerSaveMode false mTouchKeyForceDisableOverrideFromSystemPowerSaveMode: false mATTautoPowerSavingModeSetting: false mATTautoPowerSavingModeSuspend: false mEmergencyMode false
04-11 22:05:56.975: D/AutomaticBrightnessController(1184): [DAB] setLightSensorEnabled : Send Update unregisterListener mLightSensor
04-11 22:05:56.975: I/AutomaticBrightnessController(1184): [DAB] fileWriteInt : /sys/class/tcon/tcon/auto_br value : 0
04-11 22:05:56.975: I/AutomaticBrightnessController(1184): [DAB] fileWriteInt : /sys/class/backlight/panel/auto_brightness value : 0
04-11 22:05:56.975: I/AutomaticBrightnessController(1184): [DAB] fileWriteInt : /sys/class/mdnie/mdnie/auto_brightness value : 0
04-11 22:05:56.975: D/AutomaticBrightnessController(1184): [DAB] no lux value from sensor manager
04-11 22:05:56.975: D/AutomaticBrightnessController(1184): [DAB] setLightSensorEnabled : unregisterListener mLightSensor
04-11 22:05:56.975: I/Sensors(1184): Light old sensor_state 513, new sensor_state : 1 en : 0
04-11 22:05:56.975: D/DisplayPowerController(1184): getFinalBrightness : Summary is 2 -> 2
04-11 22:05:56.975: D/DisplayPowerController(1184): animation target = 2, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:56.975: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:56.975: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 2 (uid: 10064 pid: 1376)
04-11 22:05:56.975: D/AnimatedBrightnessIconView(1376): setValue : 0
04-11 22:05:56.975: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:56.975: D/AnimatedBrightnessIconView(1376): setValue : 0
04-11 22:05:56.975: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:56.985: D/SensorManager(1184): unregisterListener ::
04-11 22:05:56.985: D/SettingsProvider(1184): name = screen_brightness_mode
04-11 22:05:56.985: D/SettingsProvider(1184): edmUri: content://com.sec.knox.provider/RestrictionPolicy3
04-11 22:05:56.985: D/SettingsProvider(1184): projectionArgs: isSettingsChangesAllowed
04-11 22:05:56.985: D/SettingsProvider(1184): selectionArgs: false
04-11 22:05:56.985: D/SettingsProvider(1184): selectionArgs: 10064
04-11 22:05:56.985: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:56.985: D/SettingsProvider(1184): ret = -1
04-11 22:05:56.985: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 11 (uid: 10064 pid: 1376)
04-11 22:05:56.985: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 11
04-11 22:05:56.985: D/DisplayPowerController(1184): getFinalBrightness : Summary is 11 -> 11
04-11 22:05:56.985: D/AnimatedBrightnessIconView(1376): setValue : 9
04-11 22:05:56.985: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:56.985: D/AnimatedBrightnessIconView(1376): setValue : 9
04-11 22:05:56.985: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:56.985: D/AnimatedBrightnessIconView(1376): setValue : 9
04-11 22:05:56.985: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:56.985: D/DisplayPowerController(1184): animation target = 11, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:56.985: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:56.985: D/SensorManager(1184): unregisterListener ::
04-11 22:05:56.995: D/lights(1184): lcd : 46 +
04-11 22:05:56.995: D/lights(1184): lcd : 46 -
04-11 22:05:57.005: D/lights(1184): lcd : 13 +
04-11 22:05:57.005: D/lights(1184): lcd : 13 -
04-11 22:05:57.015: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.025: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.025: D/SettingsProvider(1184): name = screen_brightness_mode
04-11 22:05:57.025: D/SettingsProvider(1184): edmUri: content://com.sec.knox.provider/RestrictionPolicy3
04-11 22:05:57.025: D/SettingsProvider(1184): projectionArgs: isSettingsChangesAllowed
04-11 22:05:57.025: D/SettingsProvider(1184): selectionArgs: false
04-11 22:05:57.025: D/SettingsProvider(1184): selectionArgs: 10064
04-11 22:05:57.025: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.025: D/SettingsProvider(1184): ret = -1
04-11 22:05:57.025: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 42 (uid: 10064 pid: 1376)
04-11 22:05:57.025: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 42
04-11 22:05:57.025: D/DisplayPowerController(1184): getFinalBrightness : Summary is 42 -> 42
04-11 22:05:57.025: D/DisplayPowerController(1184): animation target = 42, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.025: D/lights(1184): lcd : 11 +
04-11 22:05:57.025: D/lights(1184): lcd : 11 -
04-11 22:05:57.025: D/DisplayPowerController(1184): getFinalBrightness : Summary is 42 -> 42
04-11 22:05:57.025: D/DisplayPowerController(1184): animation target = 42, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.025: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:57.035: D/AnimatedBrightnessIconView(1376): setValue : 40
04-11 22:05:57.035: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.035: D/AnimatedBrightnessIconView(1376): setValue : 40
04-11 22:05:57.035: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.035: D/AnimatedBrightnessIconView(1376): setValue : 40
04-11 22:05:57.035: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.035: D/StatusBar.BrightnessController(1376): updateMode : true
04-11 22:05:57.035: D/StatusBar.BrightnessController(1376): updateSlider : 0
04-11 22:05:57.045: D/lights(1184): lcd : 40 +
04-11 22:05:57.045: D/lights(1184): lcd : 40 -
04-11 22:05:57.045: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.045: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.045: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 67 (uid: 10064 pid: 1376)
04-11 22:05:57.045: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 67
04-11 22:05:57.045: D/DisplayPowerController(1184): getFinalBrightness : Summary is 67 -> 67
04-11 22:05:57.045: D/DisplayPowerController(1184): animation target = 67, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.045: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:57.045: D/AnimatedBrightnessIconView(1376): setValue : 65
04-11 22:05:57.045: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.045: D/AnimatedBrightnessIconView(1376): setValue : 65
04-11 22:05:57.045: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.055: D/AnimatedBrightnessIconView(1376): setValue : 65
04-11 22:05:57.055: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.055: D/DisplayPowerController(1184): getFinalBrightness : Summary is 67 -> 67
04-11 22:05:57.055: D/lights(1184): lcd : 67 +
04-11 22:05:57.065: D/DisplayPowerController(1184): animation target = 67, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.065: D/lights(1184): lcd : 67 -
04-11 22:05:57.065: D/DisplayPowerController(1184): getFinalBrightness : Summary is 67 -> 67
04-11 22:05:57.065: D/DisplayPowerController(1184): animation target = 67, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.065: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.065: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.065: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 81 (uid: 10064 pid: 1376)
04-11 22:05:57.065: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 81
04-11 22:05:57.065: D/DisplayPowerController(1184): getFinalBrightness : Summary is 81 -> 81
04-11 22:05:57.065: D/DisplayPowerController(1184): animation target = 81, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.075: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:57.085: D/lights(1184): lcd : 79 +
04-11 22:05:57.085: D/lights(1184): lcd : 79 -
04-11 22:05:57.085: D/AnimatedBrightnessIconView(1376): setValue : 79
04-11 22:05:57.085: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.085: D/AnimatedBrightnessIconView(1376): setValue : 79
04-11 22:05:57.085: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.085: D/AnimatedBrightnessIconView(1376): setValue : 79
04-11 22:05:57.085: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.095: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.095: D/DisplayPowerController(1184): getFinalBrightness : Summary is 81 -> 81
04-11 22:05:57.095: D/lights(1184): lcd : 81 +
04-11 22:05:57.095: D/DisplayPowerController(1184): animation target = 81, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.095: D/lights(1184): lcd : 81 -
04-11 22:05:57.095: D/DisplayPowerController(1184): getFinalBrightness : Summary is 81 -> 81
04-11 22:05:57.095: D/DisplayPowerController(1184): animation target = 81, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.095: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.095: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 96 (uid: 10064 pid: 1376)
04-11 22:05:57.095: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 96
04-11 22:05:57.095: D/DisplayPowerController(1184): getFinalBrightness : Summary is 96 -> 96
04-11 22:05:57.095: D/DisplayPowerController(1184): animation target = 96, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.095: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:57.095: D/AnimatedBrightnessIconView(1376): setValue : 94
04-11 22:05:57.095: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.095: D/AnimatedBrightnessIconView(1376): setValue : 94
04-11 22:05:57.095: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.095: D/AnimatedBrightnessIconView(1376): setValue : 94
04-11 22:05:57.095: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.105: D/DisplayPowerController(1184): getFinalBrightness : Summary is 96 -> 96
04-11 22:05:57.115: D/lights(1184): lcd : 96 +
04-11 22:05:57.115: D/lights(1184): lcd : 96 -
04-11 22:05:57.115: D/DisplayPowerController(1184): animation target = 96, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.115: D/DisplayPowerController(1184): getFinalBrightness : Summary is 96 -> 96
04-11 22:05:57.115: D/DisplayPowerController(1184): animation target = 96, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.115: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.115: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.115: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 130 (uid: 10064 pid: 1376)
04-11 22:05:57.115: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 130
04-11 22:05:57.115: D/DisplayPowerController(1184): getFinalBrightness : Summary is 130 -> 130
04-11 22:05:57.115: D/DisplayPowerController(1184): animation target = 130, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.115: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:57.115: D/AnimatedBrightnessIconView(1376): setValue : 128
04-11 22:05:57.115: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.115: D/AnimatedBrightnessIconView(1376): setValue : 128
04-11 22:05:57.115: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.115: D/AnimatedBrightnessIconView(1376): setValue : 128
04-11 22:05:57.115: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.125: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.135: D/lights(1184): lcd : 117 +
04-11 22:05:57.135: D/lights(1184): lcd : 117 -
04-11 22:05:57.135: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.135: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 149 (uid: 10064 pid: 1376)
04-11 22:05:57.135: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 149
04-11 22:05:57.135: D/DisplayPowerController(1184): getFinalBrightness : Summary is 149 -> 149
04-11 22:05:57.135: D/DisplayPowerController(1184): animation target = 149, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.135: D/AnimatedBrightnessIconView(1376): setValue : 147
04-11 22:05:57.135: D/PowerManagerService(1184): [s] DisplayPowerCallbacks : onStateChanged()
04-11 22:05:57.135: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.135: D/AnimatedBrightnessIconView(1376): setValue : 147
04-11 22:05:57.135: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.135: D/AnimatedBrightnessIconView(1376): setValue : 147
04-11 22:05:57.135: D/AnimatedBrightnessIconView(1376): setIcon
04-11 22:05:57.145: D/lights(1184): lcd : 149 +
04-11 22:05:57.145: D/DisplayPowerController(1184): getFinalBrightness : Summary is 149 -> 149
04-11 22:05:57.145: D/DisplayPowerController(1184): animation target = 149, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.145: D/lights(1184): lcd : 149 -
04-11 22:05:57.145: D/DisplayPowerController(1184): getFinalBrightness : Summary is 149 -> 149
04-11 22:05:57.145: D/KeyguardEffectViewController(1376): isRichLockWallpaper() = false
04-11 22:05:57.145: D/DisplayPowerController(1184): animation target = 149, rate=2000 (PSM:false, AB limit:(-1 ~ -1) MB Limit:(-1 ~ -1) MAdj:(0, (0, 255)))
04-11 22:05:57.145: D/SecContentProvider(1184): uri = 17 selection = isSettingsChangesAllowed
04-11 22:05:57.145: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverride: brightness: 169 (uid: 10064 pid: 1376)
04-11 22:05:57.145: D/PowerManagerService(1184): [api] setTemporaryScreenBrightnessSettingOverrideInternal: brightness: 169
04-11 22:05:57.145: D/DisplayPowerController(1184): getFinalBrightness : Summary is 169 -> 169
Some Screen shots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-N910V using Tapatalk
I'm not sure that this is helpful but i dont think it hurts... when using the gear vr on my dev lollipop note 4, instead of the brightness cranked all the way up, it seems to set itself to a low dark brightness (still unchangeable via the interface). something about it is able to lower the brightness when its plugged in. again not sure if thats useful information..
maybe it uses a screen filter like lux does ( i turned off lux before trying this to make sure it wasn't affecting it)
What is LP Screen brightness bug?
I don't have the DE phone but I'd like to know.
nabbed said:
What is LP Screen brightness bug?
I don't have the DE phone but I'd like to know.
Click to expand...
Click to collapse
It is a bug that affects Developer Note-4's that are on the latest LP.
It causes the screen to remain on full brightness. So far a good fix is an app called Lux Light. It works so well, I bought the pro version. https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite
Other fix for same problem
I am not a developer, but I read a lot on XDA. On one of the other ROM posts, I saw this:
chenxiaolong said:
Hey @AxAtAx:
Just found out how to fix the brightness issue! The Kit Kat bootloader on the Note 4 does not report the display panel's name, which the Lollipop kernel expects. CM already worked around this by hardcoding a valid value into the source code (https://github.com/CyanogenMod/andr...mmit/7fd52ab04c816cd03f65f8a991cf03054f18d731). I've applied this patch to ktoonsez's sources (at commit a2efde66e8903cd00eb70255b20802482f37552e), and as expected, the brightness changes work now
The following boot.img file should fix the brightness issue. I recompiled the kernel and swapped out the kernel from your boot image.
Enjoy!
Download: https://noobdev.io/visionx/boot.img
EDIT: Fantastic ROM by the way! It works much better than I originally anticipated.
Click to expand...
Click to collapse
Might the CM12 fix work on a dev ed now that the source code is available for the Verizon version?
ebrinkis said:
I am not a developer, but I read a lot on XDA. On one of the other ROM posts, I saw this:
Might the CM12 fix work on a dev ed now that the source code is available for the Verizon version?
Click to expand...
Click to collapse
I just flashed the above kernel and it dose fix the brightness issue. Now we need to have someone add this to our kernel. It's working but it isn't for the Note 4 and I get a S-Health crash on start up. This is great news the patch fixes the brightnes.:good:
Misterxtc said:
I just flashed the above kernel and it dose fix the brightness issue. Now we need to have someone add this to our kernel. It's working but it isn't for the Note 4 and I get a S-Health crash on start up. This is great news the patch fixes the brightnes.:good:
Click to expand...
Click to collapse
Confirmed working on my Verizon DevEd also.
Note 4 DE Sent
Misterxtc said:
I just flashed the above kernel and it dose fix the brightness issue. Now we need to have someone add this to our kernel. It's working but it isn't for the Note 4 and I get a S-Health crash on start up. This is great news the patch fixes the brightnes.:good:
Click to expand...
Click to collapse
After S-Health crash on startup does S-Health eventually work correctly? Or is it completely borked?
Misterxtc said:
I just flashed the above kernel and it dose fix the brightness issue. Now we need to have someone add this to our kernel. It's working but it isn't for the Note 4 and I get a S-Health crash on start up. This is great news the patch fixes the brightnes.:good:
Click to expand...
Click to collapse
Today's Kernel release by AEL for TMO:
(13 April 2015) N4 AEL Kernel v11B [Multivariant Lollipop Ed.]
Supposedly brightness bug fixed. I use the AEL TMO Kernel for Definitive KK ROM, maybe this will work as well?
I am just too chicken to try it myself because I know enough to get into trouble, but not enough to get out of trouble.
I was digging through this last night and I suspected this was the cause and was going to hard-code a device definition but saw this instead. I will flash AEL now to test.
ebrinkis said:
I am not a developer, but I read a lot on XDA. On one of the other ROM posts, I saw this:
Might the CM12 fix work on a dev ed now that the source code is available for the Verizon version?
Click to expand...
Click to collapse
Misterxtc said:
I just flashed the above kernel and it dose fix the brightness issue. Now we need to have someone add this to our kernel. It's working but it isn't for the Note 4 and I get a S-Health crash on start up. This is great news the patch fixes the brightnes.:good:
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Thanks for this! It does help. I'm building a patched N910VVRU1BOAF kernel from source & will need testers soon, since I've not received my own device yet (will be delivered by Friday).
wy1d said:
I was digging through this last night and I suspected this was the cause and was going to hard-code a device definition but saw this instead. I will flash AEL now to test.
Click to expand...
Click to collapse
AEL Kernel works great. Brightness and screen modes now adjust properly. Clear data on the S-Health App to get it working with FC.
wy1d said:
AEL Kernel works great. Brightness and screen modes now adjust properly. Clear data on the S-Health App to get it working with FC.
Click to expand...
Click to collapse
It's working good here too. Viper4Android now works, as for shealth I just deleted it because I never use it.
so now we are just waiting on xposed
Mibuix0r said:
so now we are just waiting on xposed [emoji14]
Click to expand...
Click to collapse
Or SOMETHING to get rid of all these icons in my bar - Bluetooth, NFC, battery, clock AM/PM...
hsbadr said:
Thanks for this! It does help. I'm building a patched N910VVRU1BOAF kernel from source & will need testers soon, since I've not received my own device yet (will be delivered by Friday).
Click to expand...
Click to collapse
I'll gladly test pm when ready.
Also confirming AEL Kernel is working in the interim and clearing data on s-health works. Restored data, now good to go. Can't wait for xposed for samsung devices.
Misterxtc said:
It's working good here too. Viper4Android now works, as for shealth I just deleted it because I never use it.
Click to expand...
Click to collapse
dukins said:
I'll gladly test pm when ready.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
I'm almost done with the kernel building... will pack boot.img & send it your way
It includes the following changes:
Build from Samusng N910VVRU1BOAF source code
Patched to fix Screen Brightness Issue
Insecure debuggable kernel & Permissive SELinux
I'll add init.d support, BusyBox, rsync, SQLite3, .. etc.
I've also compared AEL kernel/ramdisk with ours & found that it at least doesn't include "Verizon Device Stats Partition" & "Sec EFS". I don't know if this affects anything though
hsbadr said:
I'm almost done with the kernel building... will pack boot.img & send it your way
It includes the following changes:
Build from Samusng N910VVRU1BOAF source code
Patched to fix Screen Brightness Issue
Insecure debuggable kernel & Permissive SELinux
I'll add init.d support, BusyBox, rsync, SQLite3, .. etc.
I've also compared AEL kernel/ramdisk with ours & found that it at least doesn't include "Verizon Device Stats Partition" & "Sec EFS". I don't know if this affects anything though
Click to expand...
Click to collapse
Sounds good, standing by.
I'd be happy to test also. Getting a couple of FC and one reboot in my pocket with AEL. It does have the fading LED which is neat.