• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][4.4.4] LineageOS 11.0 for LG Optimus One [OS2SD][19.03.13]

Search This thread

mortalman

Member
May 27, 2015
5
0
Hi! I'm getting two messages when I try to install Lineage. The first one is "kernel does not have support for reading SE Linux contexts" and the other is "error executing updater binary in zip."
Flash failed. Any ideas what to do? Thanks!
 

bigsupersquid

Senior Member
Sep 22, 2010
2,253
1,670
BFE, MO
Hi! I'm getting two messages when I try to install Lineage. The first one is "kernel does not have support for reading SE Linux contexts" and the other is "error executing updater binary in zip."
Flash failed. Any ideas what to do? Thanks!
Try the TWRP recovery version listed in the first post (should be linked in HardLight's signature on that post)
 
  • Like
Reactions: mortalman and ibub

mortalman

Member
May 27, 2015
5
0
Try the TWRP recovery version listed in the first post (should be linked in HardLight's signature on that post)
So after reading your reply I realized I had not partioned properly. Followed the instructions and the install still failed. I have an older version of twrp and want to install 3.1.1 but the p500h will not go into fast boot mode, constantly just reboots into the current rom (CM10). I don't want to use rom manager as it seems to cause problems sometimes. Stuck again. Any ideas?
 

bigsupersquid

Senior Member
Sep 22, 2010
2,253
1,670
BFE, MO
So after reading your reply I realized I had not partioned properly. Followed the instructions and the install still failed. I have an older version of twrp and want to install 3.1.1 but the p500h will not go into fast boot mode, constantly just reboots into the current rom (CM10). I don't want to use rom manager as it seems to cause problems sometimes. Stuck again. Any ideas?
Can you use the older twrp to install the newer one?If it's old enough to not flash .img files, you might have to use a zip installer and I'm not sure there is one or not.
I guess you could use dd in adb shell in your old twrp version as a last resort. Just make sure you've got a viable, bootable ROM installed before you go messing around with the recovery partition.
 
  • Like
Reactions: mortalman

mortalman

Member
May 27, 2015
5
0
Can you use the older twrp to install the newer one?If it's old enough to not flash .img files, you might have to use a zip installer and I'm not sure there is one or not.
I guess you could use dd in adb shell in your old twrp version as a last resort. Just make sure you've got a viable, bootable ROM installed before you go messing around with the recovery partition.

I just installed the recommended twrp from a zip in the download link of hardlight's original post. Just finished when I got notification of your post. :good:
I'm going to try it now. Thanks!
 

mortalman

Member
May 27, 2015
5
0
Can you use the older twrp to install the newer one?If it's old enough to not flash .img files, you might have to use a zip installer and I'm not sure there is one or not.
I guess you could use dd in adb shell in your old twrp version as a last resort. Just make sure you've got a viable, bootable ROM installed before you go messing around with the recovery partition.

It worked, yay! I had to use mini partition tool to format because twrp couldn't format. Probably the sdcard was messed up from me fooling around. After re-formatting the install went perfect. Thanks for your help, you got me going on the right track. :victory:
 

FabianoT

Member
Jan 19, 2018
25
4
Sorry have not faced similar issues with my p500 (not h), installed twrp + 4.4.4 few months ago (followed the guidelines). But I think I have an older twrp than 3.1.1 now.
 

mortalman

Member
May 27, 2015
5
0
I am finding I have quite a lag with this rom. It may be because gapps keep crashing. I Installed the gapps 4.4.4 from Hardlight's download link. Is there some way to correct this problem?
 

FabianoT

Member
Jan 19, 2018
25
4
Personally, I have decided to not use gapps. I have understood that gapps for p500 needs to be a very old version that is not working very well (this is because Google dropped ARM v6 support). I wasn't able to make it work properly.
My question.. for what use?

Another problem is that enabling wifi, or data, raises battery drains in a way that consumed all the battery in 3hrs.

My solution is, let's install "FDroid" apk in place of "Google Play" (an old working version too, simply try), install Opera mini web browser, use an old version of OrmAnd for maps in place of "Google Maps". When Internet is needed, I put the widget button for enabling wifi into the home page.
Google application are Molochs, forget about them, IMHO

I have not installed an email client, but I think it is easy with FDroid (when non working, try older versions of the app).

In FDroid there is also an application (don't remind the name, works like a charm in p500) that permits to enable data/wifi automatically for few minutes every hour or similar, ..., this is a good workaround for the battery drain (caused by problems with wakelocks).

OperaMini works like a charm.

P.s: Has anyone solution for the data/wifi wakelocks issue?? Any magical driver fix or similar?
 

Baboo85

Senior Member
Oct 14, 2010
97
3
I know I have a slow 4GB Class 4 microSD (I partitioned it to use 1024MB ext3 as internal memory) but why it keeps forever to boot up the first time? It's been an hour with the logo ongoing forever....
 

mune72

New member
Sep 28, 2021
1
0
Sorry for the necroposting.

I found an ancient LG 500 laying in a box.

The reason I left it at that was its short memory capacity.

I was happy to see that somebody else faced the same issue. This post give me the idea to try it again.

I installed TWRM but, after better reading, I think that one that puts the OS in the SD (ie a special one) is required.

The links aren't no longer existing, can someone point me to the place where I can download such old stuff?

Thanks
Federico
 

Top Liked Posts

  • There are no posts matching your filters.
  • 101

    LineageOS 11.0

    3i30r4mgbd5z3eb6g.jpg

    LineageOS is a free, community built, aftermarket firmware distribution of Android 4.4 KitKat, which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include 
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


    This is LineageOS 11.0 for LG Optimus One OS2SD edition based on androidarmv6 jenkins builds. I made this edition to solve lack of space in our P500 and and improve phone performance because many todays MicroSD cards are faster then this phone internal storage. What it does, it mounts /system and /data on SD card ext4 partitions, so this way you can have as many space as you want to install apps and flash untrimmed gapps without using any a2sd mods, link2sd, manual symlinking or dalvik2cache.


    What's working:
    • Supports all android 4.4 (KitKat) features
    • Fully functional camera (preview, taking photo, recording video, panorama)
    • Full H/W acceleration with new adreno drivers, 3D modelling (yamato)
    • Hardware decoding of videos, Youtube HQ videos
    • Internet sharing (Bluetooth tethering, USB tethering, Wi-Fi hotspot)
    • Calls, SMS, MMS, 3G/2G, Mobile data, Data limit
    • Loudspeaker in call, Manual network search
    • Usb mass storage, Usb debugging
    • Wi-Fi, Bluetooth, Bluetooth headset, A2DP (Bluetooth Music), Car dock w/BT
    • GPS, Sensors, Lights, Touch screen
    • Funny SIM (128k USIMs)
    • Browser, GMail, GPlay
    • Youtube LQ/MQ/HQ
    • Offmode charging
    Known issues
    • Wi-Fi wakelock because of the old bcm4325 wireless driver
    • Swipe in stock keyboard because of missing armv6 libs
    • FM Radio (bcm4325 FM chip is depends on bluez-hcitool)
    • After Wi-Fi hotspot reboot is required to use Wi-Fi

    Installation instructions:

    I am not responsible for lost data or dead SD card, do this at your own risk.
    1. Backup all you data with Titanium Backup or alternatively use "Migrating to new file system without loosing data" method
    2. Backup all SD card contents to PC
    3. Flash TWRP recovery (20161230 or later)
    4. While in TWRP go to Advanced>Partition SD Card and use default partition sizes or adjust it depending on your needs.
      Also you can do partitioning on computer.

      Use exact order and recommended partitions sizes as listed below
      • FAT32 primary for /sdcard
      • ext4 primary for /system (448 MB or more)
      • linux swap primary for /swap (64MB or more)
      • ext4 primary for /data (1024 MB or more)
      Partitioning guides:
      MiniTool Partition Wizard (Windows):

      1. You need to start with one partition formatted with fat32 (or unallocated space to create fat32 partition and skip 2 step):

        6tj13kx6s58csij6g.jpg

      2. Right click the fat32 partition and use Move/Resize tool to shrink that partition:

        xb39bgvecvrqxqm6g.jpg

        aebpkfx789x3sz06g.jpg

      3. Right click on unallocated space and select Create. Following this create ext4, swap and again ext4 partitions:

        352sx3xdq93wb8d6g.jpg

        rutvlt7ijsb4kxx6g.jpg

        l3ff44lacezvqae6g.jpg

      4. After that you should end with this configuration (partitions sizes may differ) then hit Apply:

        jb864l6yl7b9ef26g.jpg
      GParted (Linux)

      1. You need to start with one partition formatted with fat32 (or unallocated space to create fat32 partition and skip 2 step):

        lehj5msjh8d2ja36g.jpg

      2. Click the fat32 partition and resize it to shrink partition:

        088jyp8xdcv5n8i6g.jpg


      3. On unallocated space create create ext4, swap and again ext4 partitions:

        47v7187ysp11l1k6g.jpg

        7vll4nn8o7muszl6g.jpg

      4. After that you should end with this configuration (partitions sizes may differ) then hit Apply:

        43efl3ihe5ktf3a6g.jpg
    5. Copy all SD content from PC back
    6. Flash latest Rom and Gapps
    7. After system booted restore your data with Titianium Backup or alternatively use "Migrating to new file system without loosing data" method

    Important! For f2fs rom make sure you have /data partition formatted with f2fs.
    Instructions:
    Note /data will be formated! Follow method above to backup data.
    In TWRP Go to Wipe>Advanced Wipe select Data. Then Repair or Change File System>Change File System>F2FS.
    Note: To reverse /data back to EXT4 do the same as above except select EXT4 in last step.

    Migrating to new file system without loosing data:
    What do I need to migrate without loosing data?

    1. ADB installed on your PC (somehow adb in recovery working only on linux for me) or use Terminal emuliator on TWRP
    2. sdcard with enough memory to backup whole your /data partition

    How to perform a migration?
    1. Reboot to recovery.
    2. Go to Mount menu and make sure that /data and /MicroSD are selected.
    3. Open Command Line (Windows) or Terminal (Linux/OS X) on your PC or Terminal emuliator on TWRP
    4. Type: adb shell and press ENTER (skip this if you are using Terminal emuliator on TWRP).
    5. Type: tar -cvpzf /sdcard/data.tar.gz /data
    6. Wait until operation will finish. If you see any error, it means you don’t have enough free space on your SDcard.
    7. Perform steps to format /data to new file system.
    8. Go to Mount menu and make sure that /data and /MicroSD are selected.
    9. Now type: tar -xvpzf /sdcard/data.tar.gz -C /
    10. If previous step didn’t produce any error, reboot your phone and check if it’s boot succesfully. If yes, you can safely remove data.tar.gz file from your SD card.
    11. Done. You have migrated to new file system without loosing your data!

    Recommendations:
    • Use Class 6 or even Class 10 SD card for best performance
    • CPU settings: SmartassV2 480-748 MHz
    • I/O Scheduler: I've read that for emmc devices (sd card) best choice is SIO, but Deadline is also very good, please leave your feedback

    Screenshots:

    0mm2jkaqukro8296g.jpg

    DOWNLOADS

    Thanks to:

    LineageOS for sources
    AndroidMeda, Conn O'Griofa and other members of androidarmv6 for bringing KitKat to P500
    skinbark, bigsupersquid for help on OS2SD mod

    XDA:DevDB Information
    LineageOS 11.0 OS2SD, ROM for the LG Optimus One P500

    Contributors
    HardLight
    Source Code: https://github.com/os2sd

    ROM OS Version: 4.4.x KitKat
    ROM Kernel: Linux 3.0.x
    Based On: LineageOS

    Version Information
    Status: Stable

    Created 2014-10-17
    Last Updated 2019-03-14
    20
    Update 2014/12/11

    Changelog:
    Code:
    - CyanogenMod 11.0 sources updated to 2014/12/10
    - All updates from androidarmv6
    - Moved CMUpdater to extras (useless on this rom)

    This is probably final update for CM 11 (unless there will be some major changes).
    I wanna say thanks for all of you because without you this rom wouldn't made this far ! :D
    Download
    18
    Happy New Year

    Hi all who are still following p500 forums in 2016! :highfive:
    I couldn't let this great phone to live with 2015 OS, so here is a little New Year present to all p500.
    There are two versions: EXT4 (/data fs is ext4) and F2FS (/data fs is f2fs), choose which one is better for you.
    Also it is recommended to use twrp-2.8.7.0, although if you need twrp-multi capabilities stick with previous recovery version.

    Changelog:

    - CyanogenMod 11.0 sources updated to 2016/01/01
    - Miscellaneous security updates form CM
    - Add lz4 compression algorithm for zRAM
    - Updated zRAM
    - Decrease zRAM size to 160MB
    - Change swappiness to 80
    - Add row as the default scheduler
    - Updated f2fs
    - Other kernel updates
    15
    Cm11 os2sd 20150510

    Our beloved P500 had a long but hard life. Its system partition never felt safe because phone master even once a week launched recovery... It is time to settle down little OOne :)
    As you should already realized this is last time I update my OS2SD project. I must say it was really fun to enter Android world through P500 - 5 year old phone with almost no limits because of its great community :good:
    Anyone who liked the idea of OS2SD can investigate my source on https://github.com/os2sd and build CM11 for P500 or adopt the concept for other devices.

    Changelog:

    - Full CM11 - all apps, media, binaries included (does not require larger /system because changelog #2)
    - Switched to ext4 for /system and /data (f2fs used too much space for little performance improvement in some areas)
    - Increase zRAM to 192MB for better multitasking
    - Included all locales
    - Enabled HighEndGfx mode, 16bpp surface formats and KSM by default
    - Overclock CPU by default (480-748 MHz)
    - Changed IO scheduler to SIO by default
    - Enabled MultiUser (you can switch accounts with power menu or on lockscreen in landscape mode)
    - CyanogenMod 11.0 sources updated to 2015/05/10
    If you coming from previous versions with f2fs, remember to convert /data partition to ext4 on TWRP. To backup data read "Migrating to new file system without loosing data" in OP.

    Also uploaded new Minimal Gapps package.

    DOWNLOAD ROM
    11
    Twrp 2.8.3.0 multi 14/12/30

    Hey, uploaded new TWRP-multi version for p500! :D

    Changelog:
    Code:
    What's new in 2.8.3.0:
    
        MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
        MTP will now tell the host PC that storage is removed instead of disabling MTP completely
        MTP will now report the correct max file size based on the file system in use to the host PC (may fix transfer of large files)
        Update and improve fix permissions and make fixing contexts optional
        Update SuperSU in TWRP to 2.40 and update install process
        Make TWRP work properly on AArch64 (Nexus 9 is now built in true 64-bit binaries and libraries)
        Attempt to set correct permissions and contexts on all files placed in storage so backups will show in Android
        Fix kernel panic during MTP start on some devices
        Support unicode fonts on devices with True Type Font support
        Fix slider value not showing sometimes (vibration settings page)
        Toggle MTP off during adb sideload to set correct USB IDs
        Reduce library requirements for 5.0 L decrypt
        Other minor fixes and improvements
    
    What's new in 2.8.2.0:
    
        MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
        Pull in all changes from Android 5.0 lollipop into TWRP
        Add decrypt support for Android 5.0 lollipop encrypted partitions including automatic decrypt when the default_password is in use
        Revert some changes to exFAT that were breaking exFAT support on some devices
        Other minor fixes and updates
    
    Note: At this time we do not have a GUI representation for pattern unlock. You can still decrypt patterns though by translating the pattern dots to numbers. The pattern dots correspond to numbers in the following pattern:
    1 2 3
    4 5 6
    7 8 9
    
    So an upper-case L would translate to a password of 14789 entered on the keyboard. Eventually we plan to add a proper pattern unlock to TWRP but it is a relatively low priority at this point.
    What's new in 2.8.1.0:
    
        MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
        TrueT
    
    What's new in 2.8.1.0:
    
        MTP fixes and improvements - you can now copy zips to the root of storage - thanks to _that
        TrueType Font support - optional as it takes up a decent amount of space so may not be available on all devices - thanks to Tassadar
        Temperature support - thanks to bigbiff
        Various other bugfixes and tweaks
    
    What's new in 2.8.0.1:
    
        Fix a bug that caused weird graphics and touch issues
    
    What's new in 2.8.0.0:
    
        Add MTP support to recovery thanks mostly to bigbiff with a little help from Dees_Troy
        Add command line capabilities - you can now execute various TWRP features via adb instead of the touchscreen
        Add support for color in the console and give error, warning, and highlight lines different colors
        Track backup and restore progress based on file sizes to provide a much more accurate indication of progress
        Improve handling of /misc thanks to mdmower
        Improve setting of time on Qualcomm devices thanks to [NUT]
        Allow using images on slidervalue GUI objects thanks to Tassadar
        Allow using variables and addition and subtraction in variables for easier theming
        Add support for 1440x2560, 280x280, and 320x320 resolutions and update 240x240
        Allow ui.xml file to include additional xml files to help break up the theme and make TWRP easier to maintain
        Other minor fixes and improvements
    
    Over the course of the last year or so, bigbiff has worked to migrate various Java functions from Android's MTP implementation to bring you a fully C++ based MTP implementation that allows you to transfer files to both emulated storage and Micro SD cards. It's confirmed to work on various Nexus devices but we may have to make some changes on other devices to keep Windows happy. Windows is very picky about USB IDs and its drivers. We have tested it on Windows 7 and 8 as well as Ubuntu 14.04 Trusty. MTP is enabled by default, but we do toggle it off and on automatically during certain operations such as if you choose to wipe a storage partition. You can enable or disable MTP under the mount menu in TWRP. For more about what MTP is here.
    
    Note: Due to a weird bug with our MTP setup, you cannot copy a zip file to the root of storage with Windows. You can change the .zip to something else like .txt and then copy it to the root and rename the file back to .zip once it's copied to the device. You can also copy the zip into any subfolder.
    
    Command line support is also now available. You can perform various OpenRecoveryScript commands via the adb shell. Depending on what you are doing you may wish to do a "twrp set tw_mtp_enabled 0" and then reboot to prevent the MTP auto toggle from killing your adb interface. You can use this option to create and restore backups, wipe, install zips, and more. Via adb shell, type twrp followed by a space then enter the OpenRecoveryScript command and hit enter. Find more OpenRecoveryScript commands here.

    Download