yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] vadonka:
I found that some board revision maybe incompatible with the nvidia patch.

I will fix tomorrow.

In the mean time who have problem with the latest update use the 2012.01.09 version

Downloadable from here: www.donka.hu/android/kernel
[LG Optimus 2x] grognaz:
for me all the latest versions are totally unstable, it used to be rock solid but now its just one reboot or bsd after an other. im now back to themasks kang and so far its stable again. can i somewhere find the old kernel versions?

EDIT: oh thanks for the link, havent seen it when i posted:D
[LG Optimus 2x] orlox:
I had a problematic phone but with vadonka s kernel is rock stable.

Maybewe should built a list of our different phone variants and put there the problems of each variant best kernel etc
[LG Optimus 2x] antec123:
for me your 09jan kernel is ok with my phone, but when i flash your 11jan and 11jan_15h it both are non uv gave me SOD.

i did mention the voltage on 09jan you use 800mv

but in 11jan you use 770mv. i didn't mention in 11jan_15 because it only for a while i idle it, and suddenly my phone in SOD mode :(

is that because the new step frequency???
[LG Optimus 2x] Escobarretje:
Flashed this kernal yesterday ( latest powersave version) but having a lot of Bsods and auto reboots! Have had 3 in just 12 hours, one while doing fruit ninja. My phone was at 100% last night before I went to sleep, it's now at 0% and wouldn't start.

But I'm reading that you're already fixing this vadonka so I'll wait for your fix and try that :)
[LG Optimus 2x] anto986:
I can suggest you to use alogcat, it's a free app you can find on the google play.
[LG Optimus 2x] silentmelodies:
But the way it is, "stock" could lead people to think it is somewhat closer to the stock kernel, while what it means is only the clock steps.
[LG Optimus 2x] powwow88:
Hi Vadonka. I'm testing your 3.0.y kernel from the 1st version and i have that r/w

problem even with the latest. A few days ago i tried that i smartflashed a stock

rom then nvflash cmw and flash cm7 temasek kang and eventually your kernel but it didn't help. For me it works for a short time or for example if i open root

explorer open /system then choose r/w mount it mounts but if i choose r/o then it will be r/o but after that if i choose r/w again it won't do anything and of course all other apps which requires /system r/w won't work until i restart my

phone. If i don't do anything just leave my phone for a while or i dont use any

app which requires /system r/w i will still get this problem. I had this when i

only had cm7 default apps and root explorer installed. So i think it's not Avast.

Except that it seems kernel's working well and really gives huge benchmark scores.:D

I hope you can fix this r/w problem somehow.​
[LG Optimus 2x] vadonka:
the problem is that i dont have this issue, i cant reproduce and many user dont have too. so its would be hard to fix. im not sure its excatly kernel related anyway.
[LG Optimus 2x] powwow88:
Yeah, I know that not everyone has this issue. Maybe something should be changed in cm7 to work well with 3.0.y for everyone. Anyway it's weird.
[LG Optimus 2x] vadonka:
kernel 3.0.y working fine in the cm9, without this issue, so must be related to the rom too.
[LG Optimus 2x] moludo:
What rom you use?

Im with Temasek´s Build 89, and operates luxury.
[LG Optimus 2x] tonyp:
And because it uses the same CPU steps it is closer to the stock kernel :-D

It's vadonkas decision, I like it the way it is but if he changes it I'm fine with that, too.
[LG Optimus 2x] powwow88:
It was 88 now i tried with 89 but same problem. I wiped /system before flashing 89 with that .zip which was linked before then booted up. Everything worked well then i flashed vadonka's latest kernel and again /system r/w just stops working.
[LG Optimus 2x] moludo:
Then i dont know , its so strange

Enviado desde mi Optimus 2X usando Tapatalk
[LG Optimus 2x] kickokim:
Can it be baseband related? I'm using the su660 1035 port
[LG Optimus 2x] morckx:
I have this issue sometimes with OC'ed 3.0 kernels (yours, imperticus', my testing branch). I have no idea what it is related to, but below is my dmesg output, when trying to remount /system rw. Fs repair with e2fsck usually reports many errors and the fs cannot be fully corrected so that I usually reformat and re-install.

EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
<2>[ 658.567999] EXT4-fs error (device mmcblk0p1): ext4_init_inode_table:1288: comm ext4lazyinit: Something is wrong with group 0
<2>[ 658.568005] Used itable blocks: 467itable unused count: 0
<2>[ 658.568008]
<3>[ 658.568014] Aborting journal on device mmcblk0p1-8.
<2>[ 658.584357] EXT4-fs (mmcblk0p1): Remounting filesystem read-only
[LG Optimus 2x] anto986:
Vadonka do you see my catlog (http://dl.dropbox.com/u/68597950/anto986logcat.txt)???

What do you think?

-Now I use the kang 89 by Temasek

-I tried also the last update-cm-7.2.0-RC1, but I have the some r/w error in the folder /system .

When I try to flash the 2.6.32 kernel over the 3.0.y I have the error message:

this rom is not supported and cwm crashes and I must pull out the battery to reboot ( on the rc1 and on the temasek's rom) after to reflash the 2.6.32 I flash the rom and after the kernel 2.x.x

-I tried to change cwm 5.x.x.8, the touch cwm, then 5.0.2.7,

-I tried to convert all the partition in ext3

What can I do? :mad:

Without r/w I can't install tw launcher, and others...
[LG Optimus 2x] hadi_rena:
Suggestion fo R/W

For anyone who have r/w problem with /system partition I read in some previous post about this trick which MAY BE fixed your problem:

Format your /system from CMW

Wipe cache and dalvik

Flash CM ROM

Flash gapps

Flash Kernel

I never try this one because I don't have this kind of problem.

I'm really sorry that I can't remember who found this way... but this worth to try ;)
[LG Optimus 2x] vadonka:
this system r/w issue is related to the filesystem. its somehow corrupted and the partition cant be mount with r/w mode because its have the need recovery status. the question is why corrupted the system partition. why only the system, and why not everybody? :)
[LG Optimus 2x] anto986:
I hope you manage to find this something that is corrupt

I made ​​one last attempt:

to format all partition I load the .bin file with the v20l stock rom, then I flashed the 89 kang+ 120412 3.0.y kernel and I have ever the same error :mad::mad::mad:

Ok...Vadonka I surrender,

I will wait for you to perform the miracle... :)

If you want me to try something, I'm ready...
[LG Optimus 2x] vadonka:
linux 3.0.28 is out!

for easy cherry pick use my script :)

https://github.com/vadonka/lge-kernel-kang/blob/gb_3.0.y/merge.sh

define the kernel version, currently 3.0.28

this script generate the cherry-pick commands and write to a new file, just need to run this file at the end. its easy :)

required that the linux-stable git branch's is already in your remote branch list
[LG Optimus 2x] hei1125:
Nice work vadonka:)

Are you going to build v20q kernel?
[LG Optimus 2x] benihurst:
I played a littel bit arround, perhaps this helps to find the problem.

1. Reverted back to ext3 and wiped everything.

2. Installed temaskek Kang 89

3. Installed GAPPS

4. Rebooted

5. Installed root explorer from market.

6. tested R/W for /system with root-explorer => works

7. Rebooted into recover and installed your kernel

8. Rebooted into Android.

9. tested R/W for /system with root-explorer => works!! (hit the button "mount r/w" and tried to create a folder under /system)

10. closed root explorer.

11. Again tested R/W for /system with root-explorer (no reboot or so) => Doesn't work anymore! I hit the "mount r/w" button and nothing happens.

Very strange...

My workaround is now to keep a nandroid-backup of kang 89 in case I need to write to the system and afterward install your kernel again. Everythin else I can restore from my TitaniumBackup.

Not very comfortable but since Temasek has stopped building kangs I don't have to update that often :-)
[LG Optimus 2x] crissbm:
@benihurst use root manager to remount /system as r/w .
[LG Optimus 2x] AlexanderKgr:
I cannot mount system as rw.there is problem making backup and using Su.going back to kernel 2.x...
[LG Optimus 2x] benihurst:
That is the problem, it does not work. just one time and that's it.
[LG Optimus 2x] anto986:
Vadonka for me also the Imperticus Kernel have the some R/o, issue

Something is wrong in the 3.0.x source?

@benihurst

When you need access to the folder /system, and you have the r/w issue, you can reinstall the kang-89 WITHOUT wipe all (if you want wipe only cache and dalvik),

do what you gotta do,

then flash the 3.0.y

I make do and works
[LG Optimus 2x] bonethugs:
same problem to me.

I can mount system as r/w but when i try to make or delete something there i get an error. something like the file can't be removed or whatever.
[LG Optimus 2x] 4lph4:
I have the same problem on the /system r/w option as anto986.

The rw mode on /system is only available once, then the second time it doesn't work anymore.

I even tried to mount /system in recovery via ADB and I've got a "Segmentation fault".

Rebooting and trying again solved the issue and so I was able to make a backup.

The source of my problem could be on the system partition because I'm not able to get a clean file system after installing temasek #89.

Running e2fsck shows always some error. :mad: I'm worrying that the problem could be related to a damaged sector, but I don't know how to be sure about it.

Any suggestion of how should I test it?

UPDATE

Solved the problem with this workaround.

1. I did a backup of the system in CWM

2. I cleaned the /system partition in the following way (adb shell in recovery)

3. I restored the /system partition from CWM

After that the SU binary updated worked well 5 times in a row and I was able to mount /system as rw in ES file explorer (back and forth) :D

I hope it's useful.
[LG Optimus 2x] ppino:
I've got the r/w issue too.

I suppose that it's coincidence but my external sdcard has the same problem and now is write protected and can't write anything in it. I've tried to restore with a few programs but nothing works, even tried to make a low level format.

Enviado desde mi Optimus 2X
[LG Optimus 2x] qwerty245:
Can you build kernal for Motorola Atrix?
[LG Optimus 2x] powwow88:
I did that and it seems it's working. I tested it with es file explorer, root explorer, getril and superuser more than once and worked everytime. Thanks man for this fix! :D
[LG Optimus 2x] mind_challenge:
I did that now, works just fine.

edit: strange, worked for a moment, untill I updated su binary. Now it doesn't work again.
[LG Optimus 2x] anto986:
Good Idea, Thanks :D

Although not the final solution we are on track

we have to wait for someone to integrate the script in the kernel

crossed fingers
[LG Optimus 2x] 4lph4:
I think there is something done in the CWM when /system is prepared for the restore, because for me it solved both the issue of file system errors and the r/w mounting. :eek:

I'm just a noob on this matter, so if someone can look at the code of the restore process, I hope he'll find some useful insight.

I'm sorry to read that someone is still having problems, I can only suggest to reboot, and cross fingers. :o

@mind_challenge: did you check with e2fsck -fpDC0 /dev/block/mmcblk0p1 if you still have errors on /system? Use that command in CWM recovery.
[LG Optimus 2x] anto986:
After a while I had the some R/o issue... X(

I check with e2fsck -fpDC0 /dev/block/mmcblk0p1

I have:

http://pastebin.com/YMRsrT7q

What do you think?
[LG Optimus 2x] sohohk:
It works!! :D:D

I added one more option to tune2fs command, hope it could auto fix the /system problem in the future :)

command: tune2fs -c 50 /dev/block/mmcblk0p1

when Mount count reaches 50, it will do a file system check automatically

Output from the command: tune2fs -l /dev/block/mmcblk0p1 :)

Mount count: 6

Maximum mount count: 50

Last checked: Sun Apr 15 02:10:56 2012

---------- Post added at 03:09 AM ---------- Previous post was at 02:55 AM ----------

By the way, there is something called Errors behavior from the command: tune2fs -l /dev/block/mmcblk0p1.

When system is having rw problem, the output becomes

Default mount options: (none)

Filesystem state: clean with errors

Errors behavior: Remount read-only

After applying the workaround, the output becomes

Default mount options: journal_data_writeback

Filesystem state: clean

Errors behavior: Remount read-only
[LG Optimus 2x] optimusG:
Where's the download link? :P
[LG Optimus 2x] morckx:
Then, I guess the ominous "resize_inode" feature could be the culprit.

When CWM restores an ext4 backup, it does not set the resize_inode feature, while this is apaprently the case with the system wipe script (by dr4go?) vadonka suggested, and others.

If I am right, a simple:

tune2fs -O '^resize_inode' /dev/block/mmcblk0p1

executed from CWM or added to the kernel-install-script would solve the problem.

EDIT: Unfortunately, it does not seem to be that easy. There must be some other magic. Will have a look at cwm...
[LG Optimus 2x] ron_gangte:
http://etana.donka.hu/kernel/

Sent from my Optimus 2X
[LG Optimus 2x] 4lph4:
I'm no expert, but there are too many errors there. ;)

I just checked that my /system partition is still clear from errors after a day.

Try to be sure that the /system partition is clean before restoring the system files.

Look at the treads about the nullifier or some other wipe script, if you want a reliable solution :) Or you can try the following, which is what I learned looking at those tread

With dd you write 0 to the /system partition, and hopefully at the end of the process you shouldn't have any more errors.

Remember to restore /system at the end or you won't be able to boot.
[LG Optimus 2x] vadonka:
damn, i was updated the op post from my tablet using the xda app, then its messed up. i forget that the xda app its have a bug if you editing long posts.
[LG Optimus 2x] silentmelodies:
Use the new Tapatalk, it looks very nice :)
[LG Optimus 2x] mrgian:
Just flashed the latest 3.0.y, and tried to do ramhack 48mb. What I did was:

1. Typed su and pressed "Allow and remember".

2. Typed rh and pressed enter.

3. Typed 3 for 48mb and pressed enter.

4. Terminal emulator says : Selected ramhack : 48MB

Asking root access...

#

...And nothing happens. I kept on repeating the steps and still the same thing appeared. I did ramhack successful on previous versions.
[LG Optimus 2x] tonyp:
More than 300 pages, vadonka your support is more than amazing! Thanks for making the 2x a better device :)
[LG Optimus 2x] silentmelodies:
While it says "waiting for root access", type "exit".

Vadonka said he missed something while applying the ramhack OTF, should be fixed in the next version :)
[LG Optimus 2x] mrgian:
Okey. Did that. Thanks!
[LG Optimus 2x] vadonka:
Kernel is updated, details in the OP post.

Use the normal CWM, forget the touchCWM, it is mostly possible the touch version cause the filesystem partition and the r/w bug.
[LG Optimus 2x] _Vegas:
I never use the touchCWM, but have the r/w bug with the normalCWM.:rolleyes:
[LG Optimus 2x] sohohk:
Type one more command: exit
[LG Optimus 2x] yukkio:
No OC with ramhack@48. Awesome score Vadonka, you make this phone a great device, thank you.

Br.
[LG Optimus 2x] bullbutch:
I had the read-only issue on previous 3.0.y kernels, but on the latest everything work just fine. All i did was update superuser to the latest before I rebooted to recovery and installed the new kernel.

:)
[LG Optimus 2x] owain94:
hey vadonka could you have a look at my ftp account?

i get empty dir when i connect i can't do anything on hopto nopt even see my files

thanks in advance mate!
[LG Optimus 2x] franky_z:
tried to install the new kernel but it stopped. without the r/w rights i can´t get my cwm backup back? any simple solution?
[LG Optimus 2x] morckx:
You can use the cwm zip here http://xdaforums.com/showpost.php?p=24709087&postcount=2894 to reformat your system partition and restore your system nandroid afterwards.

Gesendet von meinem Optimus 2X mit Tapatalk 2
[LG Optimus 2x] razerblade17:
working perfect and so far no more problem..quadrant score about 3400++

thanks!
[LG Optimus 2x] franky_z:
it worked!!! thanks!!!:)
[LG Optimus 2x] parthabhatta:
A bit off topic. But I found the quoted post in this thread. Is xmister still in this project? It will be great if it can be done.
[LG Optimus 2x] spica1234:
Yes he is. But I guess he is much busy these days in real life. He is a great guy. He did create multi-boot for my old samsung i-5700 phone.
[LG Optimus 2x] franky_z:
it worked for the cwm backup. but after flashing the newest kernel i got that r/w issue again. :(

update: i´m using cwm 5.0.2.0, temasek #89
[LG Optimus 2x] vadonka:
except the r/w issue you guys have any else too? like bsod?
[LG Optimus 2x] albi.i:
For me everything fine so far like previous build. Will report if anything. Thanks vadonka
[LG Optimus 2x] yukkio:
No problem.

Br
[LG Optimus 2x] benihurst:
I still have the r/w issue with the newest kernel. :-(

Using cwm 5.0.28

No other problems so far.

Sent from my Optimus 2X
[LG Optimus 2x] kickokim:
I did the same but I still have the rw issue:banghead:

No other problems:thumbup:
[LG Optimus 2x] 4lph4:
For me it's still working even after the updated kernel.

Check if in recovery you have file system errors, I think it's all related to that.
[LG Optimus 2x] vadonka:
im currently working on that compiling the linaro toolchain by myself. using a system specifyed binary its a better like a prebuilt. maybe this can be also helping the stability.
[LG Optimus 2x] mind_challenge:
I updated su binaries on old kernel, and rw works after flashing new kernel.
[LG Optimus 2x] yarisd4dturbo:
For me, r/w system not working.

Recovery 5.0.2.8

All is working ok, except the r/w issue ;)

Fyi :)
[LG Optimus 2x] sohohk:
I use the following method to update rom/gapps/kernel, so far no system r/w problems found!

1 reboot to CWM v5.0.2.0

2 apply cm7kang-O2x-RC1-89-PDroid.zip

3 apply gapps-gb-20120406-237-signed.zip (if needed)

4 apply 1204151346-ETaNa_OC_OTF-3.0.y.zip

5 CWM > backup and restore > Backup

6 apply 0-wipe_system_only_ext4.zip (suggested by vadonka for formating the /system)

7 CWM > backup and restore > Advanced Restore > [DateTime] > Restore system

The first boot takes about 20 minutes.

- the second LG logo takes 5 to 10 minutes.

The second boot takes about 3 minutes.

Part of output from the command tune2fs -l /dev/block/mmcblk0p1 after each step:

@@ After rebooted to CWM v5.0.2.0
Filesystem features: has_journal ext_attr dir_index filetype needs_recovery extent sparse_super uninit_bg
Filesystem flags: unsigned_directory_hash
Default mount options: journal_data_writeback
Filesystem state: clean

@@ After applying cm7kang-O2x-RC1-89-PDroid.zip
Filesystem features: has_journal resize_inode filetype extent sparse_super large_file
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean

@@ After applying gapps-gb-20120406-237-signed.zip
Same as above

@@ After applying 1204151346-ETaNa_OC_OTF-3.0.y.zip
Same as above

@@ After CWM > backup and restore > Backup
Same as above

@@ After applying 0-wipe_system_only_ext4.zip
Filesystem features: has_journal ext_attr dir_index filetype extent sparse_super uninit_bg
Filesystem flags: unsigned_directory_hash
Default mount options: journal_data_writeback
Filesystem state: clean

@@ After CWM > backup and restore > Advanced Restore > [DateTime] > Restore system
Same as above
[LG Optimus 2x] darryd:
i have issue with black screen after call, need to push power button to wakeup...

offcourse i have system r/w issue too...

today i will change baseband to another new one...

cwm 5.0.2.8, kang 89...
[LG Optimus 2x] vadonka:
i dont think all these steps are needed

might be this working:

tune2fs -O extents,uninit_bg,dir_index,has_journal /dev/block/mmcblk0p1

e2fsck -pfC0 /dev/block/mmcblk0p1

tune2fs -o journal_data_writeback /dev/block/mmcblk0p1

e2fsck -pfDC0 /dev/block/mmcblk0p1

somebody try it who have the rw issue please :)

from the cwm, using an adb shell of course

only if you use ext4 rom, and do a nandroid backup first!
[LG Optimus 2x] morckx:
No, at least for some of us that doies not seem to be the solution. For me, too, after formatting and ext4-tuning (as suggested by you above) the cwm recovery of system is currently necessary to get consistent rw access to system. I have no idea why, however.

Meanwhile, I've made a flashable zip to automate tarring system contents, formatting system, and restoring from the tar. I will see if that helps, too, when a new kang comes out, or if there is some magic to the cwm advanced restore.

EDIT: I should be more cautious: I have not exactly tried what you suggested instead of the backup+restore-step, but have played arround with several fs features (removing the journal does not help, either...). So, if anyone wants to try vadonka's suggestion go ahead.
[LG Optimus 2x] kickokim:
It works for me so far:D
[LG Optimus 2x] vadonka:
this is weirder and weirder every time :rolleyes:

what is suggested before is doing the same plus recreate the partition, but i dont think this last part is necessary. and restoring from the tar? it doens't change the partition. i dont get it :)
[LG Optimus 2x] morckx:
I'm just trying to mimic what cwm backup & restore does, without doing it manually and without having to wait for a full backup.

But of course you are right. This is extremely weird and I'll definitely laugh about me, once we have found the explanation to the problem :D
[LG Optimus 2x] anto986:
WOW it works...

I don't know how but it works.
[LG Optimus 2x] antec123:
no bsod, or r/w issue. but the strange thing in my device when i play video on mobo player, and after finish the video then the device shut it self.my up time after 2 days ++. i don't know if there is related to kernel or mobo player it self has bug use your latest kernel no ram hack
[LG Optimus 2x] sohohk:
I agree with you that not all these steps are needed. For people who don't have rw issue with 3.0.y installed, he could update to newer 3.0.y kernel without issue too, i guess.

For people who has rw issue, the most important step is 6 apply 0-wipe_system_only_ext4.zip, it will do what you suggest above, plus formatting the /system. That's why backup-restore is needed =)

For your suggestion, I will test it tonight, let's see whether I could reproduce the problem.

Updated:

For step 2 apply cm7kang-O2x-RC1-89-PDroid.zip, it will format the /system with different fs features: has_journal resize_inode filetype extent sparse_super large_file, (there is a line format("ext4", "EMMC", "/dev/block/mmcblk0p1"); found inside the rom updater-script), that's why I put the apply 0-wipe_system_only_ext4.zip step after apply cm7kang-O2x-RC1-89-PDroid.zip step.
[LG Optimus 2x] Gaku86:
rom not supported issue, can anybody help?
[LG Optimus 2x] joe1660:
I have a big problem . In build.prop I have the line ro.build.id=grj22

And when I try to install any of your kernels it say the ROM is not supported. The problem starts after your 5/4 kernel.

I have also the problem that I can't make the system r/w. I tried the command with the "cat" that you said in previous post and the terminal answers grj22. But the problem still continue. The Rom is not supported . I don't want to install the ROM again. Please help me.
[LG Optimus 2x] vadonka:
download the kernel installer again. i was added the grj22 string to the supported rom list