[ROM] LOL v. 1.4.2 (with kernel 2.2.2+oc+lagfix)(+ how to create powermenu on LGP500)

Search This thread

janitux

Senior Member
Dec 27, 2010
86
60
Chile
can you provide the original framework-res.apk, services.jar and lge-res.apk? i don't like the black theme :( good job on this rom!
 

Zacker90

Senior Member
Nov 25, 2010
61
4
Flashed this rom. Nice rom overall but i think u shld include the gingerbread theme wif the circle battery icon. Overall, THUMBS UP for this rom.

Question:
Partition SDcard (swap: 0, ext: 512), convert to ext3
Actually what does the 512 and ext3 stand for ? Why cant the roms just support with the normal partition ?
 

PaoloM70

Member
Feb 7, 2011
35
68
Flashed this rom. Nice rom overall but i think u shld include the gingerbread theme wif the circle battery icon. Overall, THUMBS UP for this rom.

Question:
Partition SDcard (swap: 0, ext: 512), convert to ext3
Actually what does the 512 and ext3 stand for ? Why cant the roms just support with the normal partition ?

ext3 partition is for a2sd app, all ROM with this feature use a partiton (ext3 or ext4)
from http://xdaforums.com/showpost.php?p=6271277&postcount=1
a2sd/apps2sd: The process of moving user installed applications from internal storage to the SD card
 

Zerobarat1

Senior Member
Feb 1, 2011
1,003
59
How does interactive governor work for you guys in video playback? To me it's pretty bad , lags a lot .
 

N3mesis

Senior Member
Dec 20, 2010
118
30
I done everything like described. Switched back to VOID.

Sent from my LG-P500 using XDA App
 

DonJuan692006

Senior Member
Jul 22, 2010
1,624
176
Suffolk, VA
Been running these for a few days and its awesome. Extremely fast, even compared to void for me. I do have a request. Is there anyway you could add some music controls external to the music app? Maybe on the lockscreen and volume keys. Play/pause, skip, and restart/go back a song from the lockscreen. Hold volume up to skip and hold volume down to restart/go back.

Sent from my LG-P500 using Tapatalk
 

blueren

Senior Member
Jan 4, 2011
1,809
461
Yesterday, i installed void. I'm pretty new to custom roms. I'd like to try this one out too. Should I always create a ext4 partition everytime? Or just the first time (done before installing void) is enough? Cos I somehow ended up with a fully formatted memory card and lost a few important stuff.
 

leonlmf

Senior Member
Dec 19, 2010
127
6
good job. Can you also make the powermenu into zip patch for others rom? It will be popular. many people would like to download and patch the powermenu
 

DonJuan692006

Senior Member
Jul 22, 2010
1,624
176
Suffolk, VA
Yesterday, i installed void. I'm pretty new to custom roms. I'd like to try this one out too. Should I always create a ext4 partition everytime? Or just the first time (done before installing void) is enough? Cos I somehow ended up with a fully formatted memory card and lost a few important stuff.

You lost your stuff, most likely, because when you create the ext3 partition, it repartitions your entire SD card. Back everything up from your SD card anytime you repartition it because its going to erase everything off. You don't need to recreate the ext partition if you already have one, you just need to wipe it before flashing your next ROM. Make sure you make a backup of your current ROM before flashing so that you can restore your backup if anything goes wrong.

Sent from my LG-P500 using Tapatalk
 
  • Like
Reactions: blueren

Markino

Senior Member
Sep 20, 2005
405
2
Great job!
I', using your LOL ROM and the only think I made is to downgrate the kernel to V1.0 because of I noticed same crash with the V.1.1. I've got the same problem with the void rom and V1.1...
I'll let you know if with V1.0 is all ok.


Keep up the goot work man! ;)
 

Zerobarat1

Senior Member
Feb 1, 2011
1,003
59
You guys could also try Caveman's kernel , it adds a wee bit of juice in 3D apps and overrall in working with the UI .
 

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    Hello everybody, this is my first homemade ROM and everything started more like a joke.. (that’s the reason of its name.. :) ) rather than because of the necessity of a different ROM - I just wanted to experiment a bit in order to improve my knowledge!

    The Void (thanks to Noejn) I was using before was working flawlessly, but I was curious to learn the procedure of cooking my own, so I tried, and when a problem showed up I resolved them.. it was a great way to learn something new!

    First I made it for personal use only, then talking to my friends on an Italian android forum they wanted to try it, so they became my beta testers (MicheyKnox since the first day and NioBee from the second on).
    During the last week many other users installed the Rom and I made some minor bug fixes and improvements and now it’s ready to be published here…!

    But let’s go to the TECHNICAL SPECIFICATIONS:

    * based on the v10q (Froyo 2.2.2)
    * rom deodexed
    * zipaligned
    * root + superuser + busybox
    * a2sd (darktremor script) + dalvik-cache on ext partition
    * HW acceleration by default enabled
    * Jit by default enabled
    * Kernel froyo 2.2.2 recompiled by me with oc+lagfix (thx to drellisdee and mik_os)
    * CPU automatically set 245/729/interactive
    * gingerbread keyboard
    * adw.launcher + adwnotifier
    * customized theme with circular battery
    * updated Google apps
    * also includes: terminal emulator, OI file manager
    * customization scripts: appinst and cpuclock
    * customized POWERMENU able to reboot the phone or reboot directly in recovery
    * BaBa (Burning Apple Boot Animation)
    * wifi power (set by default to 20 dBm, edit the script /system/etc/setwifi.sh for modify this value)
    * support for wlan wpa adhoc
    * market hack (the market will seem that you are using Froyo 2.2)

    BaBa is a Boot animation which is made of two different animations I found on XDA dimensions and timings where adapted in order to fit our needs (thanks to MickeyKnox )

    Some apps like facebook, twitter and layar were removed, they can easily be installed through the Marked!
    Removed: AppAdvisor and LG update advisor.

    Other apps removed:
    Code:
    AIME.apk (LG Keyboard)
    AnalogClockWidget.apk
    BookmarksWidget.apk
    CalendarWidget.apk
    CarHome.apk
    CarHomeLauncher.apk
    ClockWeatherWidget.apk
    DigitalAlarmWidget.apk
    DualClockWidget.apk
    GenieWidget.apk (news and weather widget)
    LGHome.apk (launcher LG)
    MagicSmokeWallpapers.apk
    MemoWidget.apk
    MessageWidget.apk
    PhotoWidget.apk
    Protips.apk
    VisualizationWallpapers.apk
    ConnectionManagerWidget.apk
    Email.apk
    LiveWallpapers.apk
    Talk.apk

    For these apps I created a script that allows you to install or uninstall them in a very easy way, without the need of root explorer.
    To open this script go to Terminal Emulator (installed by default) or use adb shell from your PC and write:

    su
    appinst

    a menu will popup where you’ll find all the options, just follow the onscreen instructions.
    (the script works taking its files from the LOL directory in your SD Card, so if you delete this directory, the script won’t work!)

    With my second script: cpuclock you’ll be able to change the default frequency in LOL without the need of installing other apps, to use it go to Terminal Emulator or via adb shell from your PC and write

    su
    cpuclock

    and then follow the onscreen instructions, all your settings will be available after you reboot your device.

    DOWNLOAD LINKS:
    LOL v 1.4.2 (multiupload)
    md5: 648e91a9d8458039d4937c4911acaf82

    INSTALLATION (please follow these steps carefully):

    What you need: root + custom recovery

    * Reboot into custom recovery (through 3-button combo)
    * Partition SDcard (swap: 0, ext: 512 – or bigger if you like), convert ext2 to ext3
    * wipe everything (data/factory, cache, dalvik-cache, ext, android_secure)
    * Toggle PC-USB connection and copy the downloaded zip you wish to flash into the root of your SDcard; unplug afterwards
    * flash from SDcard and choose the file you just copied
    * reboot

    On first boot it takes some minutes for the phone to load: DON’T PANIC! Wait for at least 5-6 minutes!

    ************************************************************
    I prepared a zip with the scripts translated into English (the original scripts in the Rom are in Italian)
    just download and flash over.
    ************************************************************
    Thanks to MickeyKnox for beta testing, for BaBa and for the time spent together on msn while I was cooking
    Thanks to NioBee for beta testing and for her tips and suggestions (and for this translation from Italian :D)
    Thanks to the guys on XDA where I found the tools needed to cook my ROM (dsixda + others) and to mik_os for his fantastic kernel

    original discussion (in Italian): androidworld.it

    ************* standalone kernel ***************
    zip in AnyKernel Updater by Koush package
    kernel 2.2.2 + oc + lagfix by mik_os/Der_Caveman
    kernel 2.2.2 + oc + lagfix by LG


    SCREENSHOTS:
    15
    a little how to :)

    ok, i wrote a little tutorial on how to create a powermenu
    sorry for my english :D

    ************************************************************************************************
    for first step i used this tutorial (i only removed the option "donwload"):
    http://xdaforums.com/showthread.php?t=811532


    (copied from thread above)

    untermensch said:
    Step 1.

    the first thing we need to do is add string and image resources to framwork-res
    for this example I am using a stock JI6 ROM your resource id's will be different
    if on another ROM

    use apk_manager to decompile framework-res

    open "res\values\strings.xml" and add our string resources
    Code:
    <string name="reboot_recovery">Recovery</string>
    <string name="reboot">Reboot</string>
    save and close

    open "res\values\public.xml" and assign our strings resource id's

    scroll until you get to the end of the "<public type="string"" id list
    note the id of the last string, in this example it is "10403c2" sometimes
    the id's are out of order so search for "10403c2 + 1" or "10403c3"
    if the next id is unused then we can start assigning id's to the strings
    we added.

    Code:
    <public type="string" name="reboot_recovery" id="0x010403c3" />
    <public type="string" name="reboot" id="0x010403c5" />

    now is a good time to add the image resources so add your icons to
    "res\drawable-hdpi"
    and assign id's to them the same way we did for the strings
    in this example, using the example icons in the zip file I had

    Code:
    <public type="drawable" name="reboot" id="0x010803aa" />
    <public type="drawable" name="recovery" id="0x010803ab" />

    save and close

    now framework-res has the resources needed for this mod use
    apk_manager to compile.

    step 2: (This part is based on untermensch's tutorial to which i have made serveral changes to let it work on LG)

    now we are going to add the extra options to the power menu

    decompile android.policy.jar with baksmali

    open com\android\internal\policy\impl\GlobalActions.smali and change the line 436 from

    Code:
        const/4 v0, 0x3
    to
    Code:
        const/4 v0, 0x5

    insert the following line at line 462 (the original line 462 becomes line 486)
    (remember to change reboot and recovery's image/string id with the ones used in the first step)
    Code:
        const/4 v1, 0x3
    
        new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$7;
    
        const v3, 0x10803e0 # reboot icon resource id
    
        const v4, 0x104039d # reboot string resource id 
    
        invoke-direct {v2, p0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$7;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
    
        aput-object v2, v0, v1
    
        const/4 v1, 0x4
    
        new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$8;
    
        const v3, 0x10803e1 # recovery icon resource id
    
        const v4, 0x104039c # recovery string resource id
    
        invoke-direct {v2, p0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$8;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V
    
        aput-object v2, v0, v1
    save and exit

    (here starts my real job :p)

    ok now copy GlobalActions$3.smali to GlobalActions$7.smali
    edit GlobalActions$7.smali
    search and replace all GlobalActions$3.smali to GlobalActions$7.smali
    and change this line:
    Code:
        const/4 v1, 0x1
    
        invoke-static {v0, v1}, Lcom/android/internal/app/ShutdownThread;->shutdown(Landroid/content/Context;Z)V
    to
    Code:
        const/4 v1, 0x1
    	
        const-string v2, "now"
    	
        invoke-static {v0, v2, v1}, Lcom/android/internal/app/ShutdownThread;->reboot(Landroid/content/Context;Ljava/lang/String;Z)V
    save and exit

    now copy GlobalActions$3.smali to GlobalActions$8.smali
    edit GlobalActions$8.smali
    search and replace all GlobalActions$3.smali to GlobalActions$8.smali
    and change this line:
    Code:
        const/4 v1, 0x1
    
        invoke-static {v0, v1}, Lcom/android/internal/app/ShutdownThread;->shutdown(Landroid/content/Context;Z)V
    to
    Code:
        const/4 v1, 0x1
    
        const-string v2, "recovery"
    	
        invoke-static {v0, v2, v1}, Lcom/android/internal/app/ShutdownThread;->reboot(Landroid/content/Context;Ljava/lang/String;Z)V
    save and exit

    recompile android.policy.jar with smali
    done :D
    3
    Great digging!

    digging.jpg


    Sent from my Nexus 7 using Tapatalk 2
    2
    I updated the first post with last version of LOL (v1.4.2)
    this morning I recompiled the new kernel (froyo 2.2.2 from LG source) with oc+lagfix (i used some file from mik_os and drellisdee repo, Thanks to you both :))
    2
    Flashed this rom. Nice rom overall but i think u shld include the gingerbread theme wif the circle battery icon. Overall, THUMBS UP for this rom.

    Question:
    Partition SDcard (swap: 0, ext: 512), convert to ext3
    Actually what does the 512 and ext3 stand for ? Why cant the roms just support with the normal partition ?

    ext3 partition is for a2sd app, all ROM with this feature use a partiton (ext3 or ext4)
    from http://xdaforums.com/showpost.php?p=6271277&postcount=1
    a2sd/apps2sd: The process of moving user installed applications from internal storage to the SD card