Remove LG genuine battery check - LG Optimus 4X HD

Hi guys,
I bought a 4800mAh battery for my lg 4x.. With stock and stock-based roms my phone shutdown after 10 seconds with "use genuine battey message". There is a way to bypass this check?( build.prop commands, patches, etc.) thanks in advance
Sent from my LG-P880 using XDA Free mobile app

You'd probably need a modified kernel. There's a command line parameter passed by the bootloader (batteryVerified). It's read on initialization and is loaded by LGE battery driver later. Userspace can read it, the corresponding code is here. I guess you're on stock, because I'm pretty sure this doesn't get checked on custom roms. Modifying userspace part could also be possible and even easier if the needed code is found.

Now i'm on Omnirom and the battery check doesn't appear. i tried also with a non-stock kernel (ioadak) but nothing changed. So, how must i use the code in your link?

simonekamikaze said:
Now i'm on Omnirom and the battery check doesn't appear. i tried also with a non-stock kernel (ioadak) but nothing changed. So, how must i use the code in your link?
Click to expand...
Click to collapse
Stock rom or the kernel used on it must be modified.

Adam77Root said:
Stock rom or the kernel used on it must be modified.
Click to expand...
Click to collapse
How? Sorry i never done something like that
Sent from my GT-P7320 using XDA Free mobile app

simonekamikaze said:
How? Sorry i never done something like that
Sent from my GT-P7320 using XDA Free mobile app
Click to expand...
Click to collapse
Try using your stock rom but with Iodak kernel.

I'll try
Sent from my LG-P880 using XDA Free mobile app

I have checked stock rom frameworks and found the easiest way of disabling it. Edit build.prop and set 'ro.lge.capp_valid_batteryid' to false.

Adam77Root said:
I have checked stock rom frameworks and found the easiest way of disabling it. Edit build.prop and set 'ro.lge.capp_valid_batteryid' to false.
Click to expand...
Click to collapse
Thanks, i'll try and report here the result
Sent from my GT-P7320 using XDA Free mobile app

So i tried both methods and results are: stock rom, iodak kernel and modded build prop are okay, battery works. Stock + stock kernel and modded build prop works too. Thank you very much for intresting and help
Sent from my GT-P7320 using XDA Free mobile app

simonekamikaze said:
So i tried both methods and results are: stock rom, iodak kernel and modded build prop are okay, battery works. Stock + stock kernel and modded build prop works too. Thank you very much for intresting and help
Sent from my GT-P7320 using XDA Free mobile app
Click to expand...
Click to collapse
it worked also for me..thank you!

How to use this code?????.
can it work on L.G F160s??

Related

Kernel version

What version of the kernel is used on the Droid 3? This will be very important to finding exploits to obtain root access.
If you go to settings and look under "about phone" kernel version is 2.6.35.7
das7771 said:
If you go to settings and look under "about phone" kernel version is 2.6.35.7
Click to expand...
Click to collapse
I don't own one. I am an Atrix developer. I was curious if I could help root it. As I expected, it is a newer version. I will still investigate now that I know the the version.
Thanks! Can't wait for this beast to get rooted things can only get better
Sent from my DROID3 using XDA App
i know there are a lot of people with their PayPal accounts ready for the first person to successfully root the D3.
When did they close up the sql-lite root bug?
dotson817 said:
Thanks! Can't wait for this beast to get rooted things can only get better
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
2.6.35.7-g42f0276
[email protected] #1 this is the kernel version
How about /proc/config.gz. Knowing what kernel options are turned on is important.
edgan said:
How about /proc/config.gz. Knowing what kernel options are turned on is important.
Click to expand...
Click to collapse
Where should this file be?
I checked everything under /proc/ there's no config.gz file that I saw
Sent from my DROID3 using XDA App
no config.gz. same as the dx situation.
Sent from my DROID3 using XDA Premium App
edgan said:
How about /proc/config.gz. Knowing what kernel options are turned on is important.
Click to expand...
Click to collapse
Would the kernel options be the same as the kernel features that you can see with setcpu?
Sent from my DROID3 using XDA App

[Q] want to switch from CM7 nightly to XXJVS?

just wanted to know if there are any things i should watch out for when switching over to a Samsung rom from CM7?
currently i have a standard CM-style setup ie. CM7 nightly #104, CWM 3. Baseband version is JVK.
any particular rom you would like to recommend?
Just remember your Odining skills, backup your stuffs, wipe cache and data things and flash a stock rom with on 100% battery. After that flash whatever rom you like.
well i came from miui.... backed up some apps like whatsapp etc.. full odin jvs rom + repartition.. all is good.. doubt i'll go back to miui or cm7
Sent from my GT-I9000 using XDA App
ImraanK said:
well i came from miui.... backed up some apps like whatsapp etc.. full odin jvs rom + repartition.. all is good.. doubt i'll go back to miui or cm7
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
i'm not familiar with repartitioning as this is the first samsung android phone i've owned (i've used htc and lg most of the time), can you explain a bit further please?
ImraanK said:
well i came from miui.... backed up some apps like whatsapp etc.. full odin jvs rom + repartition.. all is good.. doubt i'll go back to miui or cm7
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
what usb drivers did you use to connect to odin? (i'm on windows 7 x64)
wrsg said:
what usb drivers did you use to connect to odin? (i'm on windows 7 x64)
Click to expand...
Click to collapse
The same drivers that are used for kies.
Sent from my GT-I9000 using XDA App
wrsg said:
i'm not familiar with repartitioning as this is the first samsung android phone i've owned (i've used htc and lg most of the time), can you explain a bit further please?
Click to expand...
Click to collapse
As well as the actual Rom the Rom zip should contain a .pit file put this in the "pit" section of odin an tick reparation, add other files to their respective place and flash.
It might pay to take a look at some of the guides around so you know exactly what you are doing.
Sent from my GT-I9000 using XDA App
wrsg said:
any particular rom you would like to recommend?
Click to expand...
Click to collapse
At the moment I'm on stock JVS with semaphore kernel and stock+ addon (in the theme section) for extended power menu and asop lockscreen. Seems stable and responsive, maybe not as quick or customizable as CM7 but for the moment it is doing me well.
Apologies for multiple replies.
Sent from my GT-I9000 using XDA App
completed with success... worth noting that i lost the sim unlock... but it was easy enough to re-unlock afterwards with the free sgs unlock app.
wrsg said:
completed with success... worth noting that i lost the sim unlock... but it was easy enough to re-unlock afterwards with the free sgs unlock app.
Click to expand...
Click to collapse
Good to hear. If you don't mind me asking what ROM, kernel and modem did you choose?
Sent from my GT-I9000 using XDA App
MrIwik said:
Good to hear. If you don't mind me asking what ROM, kernel and modem did you choose?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
http://www.androidxpert.com/Downloads/GalaxyS_Gingerbread_2.3.5-Kit.zip
Just use Odin.

[SHARE]Franco kernel #171+ faux sound control+faux gamma control (My personal build)

Hi.
I didn't find where to share it so people can try it and give feedback or whatever...so I created this thread. I compiled franco kernel with the updated code for the wifi driver (same thing that was done here).
It also modifies libs and config files so do a nandroid backup in case you don't want to use it anymore (use any other kernel...including the original franco kernel) ... or you can use (you have to use[/B]) this to revert to stock driver and pure franco #134 kernel.
Anyway... flashable zip in attached files
Source is here
I just wanted to help so be cool.
And credit to the people that deserved it.... you know who..
Well since the wifi problem is fixed (I think)... I'm just sharing my personal build of franco kernel...it's franco kernel+faux sound+faux gamma control.
Enjoy
What version (date) of the Prima Driver does this Kernel Contain? BTW, currently testing
Just as a heads up I'm using jszaq 's motley version and it's not missed a beat in weeks. It's so awesome not to have to worry about missed notifications on WiFi, after waiting so long for crappy Google to fix it.
sigma392 said:
What version (date) of the Prima Driver does this Kernel Contain? BTW, currently testing
Click to expand...
Click to collapse
V3.2.2.2
Sent from my Nexus 4 using xda app-developers app
meangreenie said:
Just as a heads up I'm using jszaq 's motley version and it's not missed a beat in weeks. It's so awesome not to have to worry about missed notifications on WiFi, after waiting so long for crappy Google to fix it.
Click to expand...
Click to collapse
It works for me too... But I read motley's thread and apparently doesn't work for everybody... I hope that it works for most of the people so franco will include it officially.. But since it uses libs and other config besides the kernel I don't think he will
Sent from my Nexus 4 using xda app-developers app
OMG, it works! i don't get wifi slowdowns anymore
There is more updated prima drivers
https://www.codeaurora.org/gitweb/q...a.git;a=shortlog;h=refs/heads/caf-wlan/master
But for some reason all kernel developers at xda using 3.2.1
Sent from my Nexus 4 using xda premium
it works very well!!
Whit franco kernel r134 i have 13.5Mb/s down, 1.1Mb/s up whit 30Mb (DIOCSIS 3.0).
Now whit the this driver i have 30.1Mb/s down, 1.0Mb/s up.. it works great!
spadie said:
it works very well!!
Whit franco kernel r134 i have 13.5Mb/s down, 1.1Mb/s up whit 30Mb (DIOCSIS 3.0).
Now whit the this driver i have 30.1Mb/s down, 1.0Mb/s up.. it works great!
Click to expand...
Click to collapse
Check if the wifi optimization feature is ticked in android settings.... Mine deactivated when I installed it
Sent from my Nexus 4 using xda app-developers app
Can u make this is stuf for saber kernel please
Sent from my Nexus 4 using xda app-developers app
How to revert to stock driver. Could you please make zip file for reverting?
myqwerty said:
How to revert to stock driver. Could you please make zip file for reverting?
Click to expand...
Click to collapse
Reflash a new kernel.
Works really great job
Tapatalk
sigma392 said:
Reflash a new kernel.
Click to expand...
Click to collapse
Since it changes libs and other stuff you can't just simply flash a new kernel. Have to restore from a backup.
Edit: Forgot to report my results. My internet is 30/5 and with this new kernel I actually get 30/6.5 which is obviously a faster upload than my computer speed tests.
If I flash a new kernel, do the new wifi drivers and such go away?
Sent from my Nexus 4 using xda premium
ivanich said:
There is more updated prima drivers
https://www.codeaurora.org/gitweb/q...a.git;a=shortlog;h=refs/heads/caf-wlan/master
But for some reason all kernel developers at xda using 3.2.1
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
It's because the changes are not in the mainline yet... so they are still experimental.
leos0000 said:
Can u make this is stuf for saber kernel please
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Sorry but i did it for Franco kernel cause i use it and he doesn't want to mess with wifi fixes... you can ask saber kernel developer or someone who uses it
myqwerty said:
How to revert to stock driver. Could you please make zip file for reverting?
Click to expand...
Click to collapse
I added a flashable zip in OP to revert to original drivers
ManOnTheMoon said:
If I flash a new kernel, do the new wifi drivers and such go away?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
The kernel changes I made and the wifi libs and config in rom side need to go together... so if you flash a new kernel only the files in rom side stay.... and your wifi will mess up... so use the revert zip to change kernel but you will lose the fix
Chomanator said:
Since it changes libs and other stuff you can't just simply flash a new kernel. Have to restore from a backup.
Edit: Forgot to report my results. My internet is 30/5 and with this new kernel I actually get 30/6.5 which is obviously a faster upload than my computer speed tests.
Click to expand...
Click to collapse
I poste it to fix the notification delay... it's a newer driver maybe they change more stuff the goal is to fix the notification delay on wifi

Delete post

Delete post
Delete post
No comments? FIRST TROLOLO
I'll test and report any bugs
Edit. So far so good, this ROM is different which is a really good thing! Those list animations, Sense/iOs7 like recent apps and everything is just wonderful! I have few things that I didn't like and hope you will fix them:
1) The keyboard is English/Korean, could you change it to official Google Keyboard so that there's no Korea mode always on and so that there are other languages (because now there are no Finnish letters "ä", "ö" and "å"!).
2) the recents panel. If I'm in browser and long press home button to get to the recents panel, it won't show the browser in recents like it should. Also either make the small pictures larger or make it so that I can see more recent apps at once!
Also a feature request: can you add different transition animations?
Awesome ROM, keep up the good work and I hope you'll work on those things I said above
Edit2. Funny, settings says that my phone is suddenly SHW-M440S (the Korean version of S3) instead of GT-I9300. Hmm...
Installation aborted. Status 7 shame.
Sent from my GT-I9300 using Tapatalk 4
chrisbrew said:
Installation aborted. Status 7 shame.
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Change your kernel and try install the ROM again.
uzb777 said:
Change your kernel and try install the ROM again.
Click to expand...
Click to collapse
I think it's not about kernel, about android-script
Check out the video and try again
http://highonandroid.com/android-roms/how-to-fix-status-7-error-with-cwm-recovery-on-rooted-android/
chrisbrew said:
Installation aborted. Status 7 shame.
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
uzb777 said:
Change your kernel and try install the ROM again.
Click to expand...
Click to collapse
Luca.Brasi said:
I think it's not about kernel, about android-script
Check out the video and try again
http://highonandroid.com/android-roms/how-to-fix-status-7-error-with-cwm-recovery-on-rooted-android/
Click to expand...
Click to collapse
Flashed fine for me. Had Googy Max kernel (if you're interested) at the time of flashing
Good rom very smooth, liking the new multitasking ui
Sent from my SHW-M440S using XDA Premium 4 mobile app
The notification bar is a bit high when receiving notifications I'll try to get a screen shot and also the quick glance feature isn't working when I can pull the notification bar when in full screen
Sent from my SHW-M440S using XDA Premium 4 mobile app
I can not download it
someone help me please
Delete post
Delete post
Also when I go to settings security I get force close, so I cannot install apps from unknown sources
Sent from my SHW-M440S using XDA Premium 4 mobile app
Delete post
faddys123 said:
Also when I go to settings security I get force close, so I cannot install apps from unknown sources
Sent from my SHW-M440S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That will be the kernel's problem.
If you are running a custom kernel, try another kernel that ONLY supports cm 10.1 NOT cm 10.2
The kernel's ramdisk init.rc is the blame.
arter97 said:
That will be the kernel's problem.
If you are running a custom kernel, try another kernel that ONLY supports cm 10.1 NOT cm 10.2
The kernel's ramdisk init.rc is the blame.
Click to expand...
Click to collapse
Ho
Sent from my GT-I9300 using xda app-developers app
Adding HALO 2.0 will be very nice indeed...
Waiting patiently for neighbor28's work
Sent from my SHV-E210S using xda app-developers app
I found one bug that's going to make me have to change from this to another ROM (I don't want to :crying. When in a call with someone, if you say something you'll then immediately hear your own talking through the speakers (tested with different phones)! Weird thing and S3 is a phone so calling should work
Will there be an update to 4.3
Sent from my SHW-M440S using XDA Premium 4 mobile app
Thanks Reports!
LeJolly said:
I found one bug that's going to make me have to change from this to another ROM (I don't want to :crying. When in a call with someone, if you say something you'll then immediately hear your own talking through the speakers (tested with different phones)! Weird thing and S3 is a phone so calling should work
Click to expand...
Click to collapse
Thx Reports, But I could not find the error. I test SHW-M440S Model (It's Korean GT-I9300, just changed model name.)
Are you shall speak resonance when you call someone?

Cm11 kernel with full screen dt2w

Is there any kernel that has this? I used it on sense but I want to try out a cm11 based ROM and got used to using this feature
Sent from my One using Tapatalk
Anyone know if any cm11 kernel has this feature? I know we already have logo2wake just want full screen dt2w without using active display
Sent from my One using XDA Premium 4 mobile app
ZeRo2o9 said:
Is there any kernel that has this? I used it on sense but I want to try out a cm11 based ROM and got used to using this feature
Sent from my One using Tapatalk
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2522854
alray said:
http://forum.xda-developers.com/showthread.php?t=2522854
Click to expand...
Click to collapse
tried it this kernel only has dt2w for the htc logo
found in a thread that I just change the option of dt2w to 2 instead of 1, created a script and used scritp manager to make it start on boot and now I have it, just took a while reading thru all the threads lol luckily someone else asked about it before

Categories

Resources