Jump to content

[TEST] OC kernel with working App2sd V2


Recommended Posts

Guest thepasto
Posted (edited)

This is a dirty workaround to force vold to recognize and properly set the FAT partition.

I have tested this method on LCR-F 1.1.2 but should work on any other rom with the kernel of PHH.

This kernel has unlocked the frequencies up to 1GHz, (I think that this is the best to have a working phone and suitable for daily use).

DO A NANDROID BEFORE USE IT

USE ONLY WITH LCR-F

Screenshot_11.png

LCR-BOOT v2

Now it should work with any sd configuration.

Improved FS management (first port of data2ext, I'm working on it, I can do better) To enable it, remember to move data and dalvik to sd in recovery

Flashable_zip_V2 Flash under Malez Recovery No Sign Check

To enable app2sd use malez recovery as usual.

If you found bugs or issues, just let me know

Not Working

Wifi Tethering

Headset

Can't disable haptic feedback

HOW IT WORKS?

With adb logcat | grep Vold

                                                                                                                                                                                                             
D/VoldCmdListener( 62): volume mount /mnt/sdcard
I/Vold ( 62): [color="#FF0000"]/dev/block/vold/179:3 being considered for volume sdcard [/color]
D/Vold ( 62): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
E/Vold ( 62): Filesystem check failed (not a FAT filesystem)
W/Vold ( 62): [color="#FF0000"]/dev/block/vold/179:3 does not contain a FAT filesystem[/color]
E/Vold ( 62): Volume sdcard found no suitable devices for mounting :)
E/Vold ( 62): Volume sdcard state changing 3 (Checking) -> 1 (Idle-Unmounted)
D/VoldCmdListener( 62): volume shared /mnt/sdcard ums [/codebox]

So I simply made a symbolic link to properly set the FAT partition as third, and add all in LCR.sh :

[codebox]
mv /dev/block/vold/179:3 /dev/block/vold/179:3_bck
mv /dev/block/vold/179:1 /dev/block/vold/179:1_bck
ln -s /dev/block/vold/179:1_bck /dev/block/vold/179:3
ln -s /dev/block/vold/179:3_bck /dev/block/vold/179:1
sync

here is the result:


D/VoldCmdListener( 62): volume mount /mnt/sdcard
I/Vold ( 62): /dev/block/vold/179:3 being considered for volume sdcard
D/Vold ( 62): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/Vold ( 62): Filesystem check completed OK
I/Vold ( 62): Device /dev/block/vold/179:3, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold ( 62): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
[/codebox]

If this doesn't fix your sdcard mount, please post [b]adb logcat | grep Vold[/b] output. I will try to fix for you!

To enable this trick to works in NON LCR roms just put the above 5 code lines and put somewhere in your starts script-

If you like my works, plese do NOT offer me a beer.. Offer it to our devs, which play an incredible job, and make our phones better every day!!

Edited by thepasto
Guest jackkykung
Posted

You're my hope for OC :)

But, is there easier way to OC?

I don't wanna risk with my little knowledge.

p.s. This kernel can underclock to be 960 by SetCPU right? My device stable with this frequency.

Guest thepasto
Posted (edited)
You're my hope for OC :)

But, is there easier way to OC?

I don't wanna risk with my little knowledge.

p.s. This kernel can underclock to be 960 by SetCPU right? My device stable with this frequency.

I'll upload a .zip to flash under malez recovery.. All frequencies up to 998mhz so you can set 960mhz in setcpu.

EDIT:UPLOADED on first post

Edited by thepasto
Posted
I'll upload a .zip to flash under malez recovery.. All frequencies up to 998mhz so you can set 960mhz in setcpu.

EDIT:UPLOADED on first post

This still has the wifi battery drain problem?

Guest thepasto
Posted
This still has the wifi battery drain problem?

I dont't know.. With normal usage i get 26-28 hours battery life.. So i don't do any test about wifi..

Guest HustlinDaily
Posted

Okay so if you already have LCR-F 1.1.2 with Apps2SD, you can just flash this on top?

Thanks in advance

Guest thepasto
Posted
Okay so if you already have LCR-F 1.1.2 with Apps2SD, you can just flash this on top?

Thanks in advance

Yes, just run .zip in malez recovery

Guest HustlinDaily
Posted

And if I have a 512MB ext partition and 0MB swap partition, it would still be good?

Just making sure before doing it. Thanks again.

Posted

Does everything work with this oc? Wifi etc..? Just asking before flashing.

Guest HustlinDaily
Posted

Oook just re-read that you don't know if it works with others. K, I'll test and let you know. Wish me luck.

Guest thepasto
Posted (edited)
And if I have a 512MB ext partition and 0MB swap partition, it would still be good?

Just making sure before doing it. Thanks again.

I don't know.. I only tried with my configuration.. if the fix does not work without swap partition, just fix the script. You'll see only error sd, no different from other custom kernel. You can return to the original LCR at any time by restoring nandroid.

If you take the test please, post the results of adb logcat | grep Vold .. Thanks!

Edited by thepasto
Guest thepasto
Posted
after test It Break Wifi but SD OK

Ok i'll update the .zip package to fix wifi!! I forgot to put it!! Sorry

Guest jackkykung
Posted

Flashed, this is my reply.

Liquid E, LCR-F 1.1.2, never ext partition. I didn't partition before flash.

SD card couldn't be mount and it damaged.

Wifi not work. After I OC to 960 MHz, freeze.

Now I removed battery and restore. Anyway, I think I missed something like partition before flash, right?

Thank you for OC man. :)

Wait for more others update.

p.s. How can I provide a adb logcat | grep Vold output to you?

Never done before. :)

Guest HustlinDaily
Posted

Did it, my FAT partition is not recognized and WiFi not working. Going to restore my nandriod back to normal.

Thanks tho.

Guest HustlinDaily
Posted
I don't know.. I only tried with my configuration.. if the fix does not work without swap partition, just fix the script. You'll see only error sd, no different from other custom kernel. You can return to the original LCR at any time by restoring nandroid.

If you take the test please, post the results of adb logcat | grep Vold .. Thanks!

Okay, will post in a minute

Guest jackkykung
Posted
Okay, will post in a minute

How to post the log, I'll do with mine too.

Guest HustlinDaily
Posted

My logcat is 12 pages on Word. Is this the part that helps:

I/dun_service( 77): Error while opening the file /sys/devices/platform/msm_hsu

sb/gadget/usb_state : No such file or directory

W/Vold ( 62): Ignoring unknown switch 'MSM72K_UDC'

I/dun_service( 77): Error while opening the file /sys/devices/platform/msm_hsu

sb/gadget/usb_state : No such file or directory

D/USBTTY ( 752): nativeRead, read return 0, do closeConnection

D/USBTTY ( 752): closeConnection close return:0

W/InputManagerService( 367): Window already focused, ignoring focus gain of: co

m.android.internal.view.IInputMethodClient$Stub$Proxy@30fd5e60

E/NetlinkEvent( 62): NetlinkEvent::FindParam(): Parameter 'SWITCH_NAME' not fo

und

E/NetlinkEvent( 62): NetlinkEvent::FindParam(): Parameter 'SWITCH_STATE' not f

ound

Guest HustlinDaily
Posted
How to post the log, I'll do with mine too.

2 ways:

1) Have the Android SDK installed and use adb, command is "adb logcat"

2) Download the app SendLog from the market and e-mail it to yourself.

Guest merirosvo
Posted (edited)

delete , sorry double post

Edited by merirosvo
Guest thepasto
Posted
delete , sorry double post

Fixed wifi.. Link in the first post. If you want to send logcat, you should have adb working, connect your device to pc, then open terminal and type:

adb logcat | grep Vold

Many thaks to all

Guest jackkykung
Posted (edited)

My log

Sorry, I don't know which part is necessary.

SendLog.txt

Edited by jackkykung
Guest elpincio
Posted

Sorry,

I didn't understand how I can help you..

I could install lcr 1.1.2 and flashing the zip and then adb grep and so on.. but this is useful to verify what?

excuse me but I want to help you and I would understand more :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.