FORUMS
Remove All Ads from XDA

[ROM][4.4.4] LineageOS 11.0 for LG Optimus One [OS2SD][17/04/22]

221 posts
Thanks Meter: 1,580
 
By HardLight, Senior Member on 26th July 2014, 09:10 AM
Post Reply Email Thread

LineageOS 11.0


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):


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



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




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

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


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



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



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

  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:


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 2017-04-23
The Following 92 Users Say Thank You to HardLight For This Useful Post: [ View ] Gift HardLight Ad-Free
 
 
26th July 2014, 09:10 AM |#2  
HardLight's Avatar
OP Senior Member
Thanks Meter: 1,580
 
More
Reserved
The Following 2 Users Say Thank You to HardLight For This Useful Post: [ View ] Gift HardLight Ad-Free
26th July 2014, 01:01 PM |#3  
shhbz's Avatar
Recognized Contributor
Flag ▂ ▃ ▅ ▆ █ Searching...
Thanks Meter: 1,071
 
More
Looks promising
26th July 2014, 05:56 PM |#4  
sumansur2008's Avatar
Senior Member
Flag Kolkata
Thanks Meter: 103
 
More
Unhappy Does not boot!
Strange! I flashed couple of days back Androidmeda's "partitionsdcard"built from Jenkins, but failed to boot this ROM. I did a clean install in both cases!
The Following User Says Thank You to sumansur2008 For This Useful Post: [ View ] Gift sumansur2008 Ad-Free
26th July 2014, 06:40 PM |#5  
HardLight's Avatar
OP Senior Member
Thanks Meter: 1,580
 
More
Quote:
Originally Posted by sumansur2008

Strange! I flashed couple of days back Androidmeda's "partitionsdcard"built from Jenkins, but failed to boot this ROM. I did a clean install in both cases!

Read the instructions carefully. You need to repartition you sd I said and use TWRP-OS2SD, not any other recovery.
The Following 4 Users Say Thank You to HardLight For This Useful Post: [ View ] Gift HardLight Ad-Free
26th July 2014, 07:37 PM |#6  
Junior Member
Thanks Meter: 1
 
More
Base ROM
On which ROM is this ROM based?
27th July 2014, 04:35 AM |#7  
Senior Member
Flag God's own country
Thanks Meter: 35
 
More
[ROM] [4.4.4] CyanogenMod 11.0 for LG Optimus One [OS2SD] [14/07/25]
Flashed the rom and it works perfectly well. ROM is smooth and fast as always.Thanks androidmeda.
Here is what I did:
1. Partitioned my 16GB Class 10 SD card as per instructions
2. Flashed the new recovery TWRP-OS2SD
3. Flashed the rom.
4. Rebooted and again flashed the Gapps-minimal(36MB!)

All fine. Playstore works, No FCs.
Partition info after Gapps:
/system 240MB / 394MB
/data 129MB / 1.68GB
/cache 1.15MB / 64.00MB
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-07-27-10-17-06.png
Views:	3906
Size:	44.1 KB
ID:	2871952   Click image for larger version

Name:	Screenshot_2014-07-27-10-18-20.png
Views:	3773
Size:	45.3 KB
ID:	2871953   Click image for larger version

Name:	Screenshot_2014-07-27-10-19-22.png
Views:	3774
Size:	28.7 KB
ID:	2871954  
The Following 5 Users Say Thank You to mns123 For This Useful Post: [ View ] Gift mns123 Ad-Free
27th July 2014, 02:06 PM |#8  
xu3sno's Avatar
Senior Member
UTC +7
Thanks Meter: 1,563
 
More
As mns123 posted, cm-11 (20140725) OS2SD has succesfully been installed on my obsolete device P500. It's amazing. Even using SDCard Class 6, it's running smooth like butter (or silk) and fast (and furious) Be patient, the initial reboot take a quite time, circa 7 minutes.
I think @HardLight fooled the recovery that /system and /data in SDCard pretended as /system and /data partitions in the internal memory, apparently. Very clever The question is, where's 412 MB memory device, anyway?

Configuration:
SDcard: 2GB, Class 6

Processor:
Min CPU Freq: 320 MHz; Max: 600 MHz; Governor: SmartassV2

Memory management: Swap on

Dev Option: Window animation scale: 0.5X; Transition animation scale: 0.5X; Animator duration scale: 0.5X


Pros:
Space running out is no longer a problem. You can install apps as many as you want. The limit is just the SDCard capacity

Cons:
Out of known issues, none. Except I have to buy a new 16 GB SDCard Class 10. Duh! No, just kidding!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-07-27-18-48-27.png
Views:	3140
Size:	35.3 KB
ID:	2872375   Click image for larger version

Name:	Screenshot_2014-07-27-18-48-43.png
Views:	2980
Size:	35.7 KB
ID:	2872376   Click image for larger version

Name:	Screenshot_2014-07-27-18-47-53.png
Views:	2986
Size:	23.4 KB
ID:	2872377   Click image for larger version

Name:	Screenshot_2014-07-27-18-52-39.png
Views:	2753
Size:	42.9 KB
ID:	2872378   Click image for larger version

Name:	Screenshot_2014-07-27-18-52-10.png
Views:	2734
Size:	44.2 KB
ID:	2872379  
The Following 4 Users Say Thank You to xu3sno For This Useful Post: [ View ] Gift xu3sno Ad-Free
27th July 2014, 04:09 PM |#9  
HardLight's Avatar
OP Senior Member
Thanks Meter: 1,580
 
More
Quote:
Originally Posted by xu3sno

The question is, where's 412 MB memory device, anyway?

It is still there, probably with your last regular rom, just not mounted.

Sent from my LG-P500 using xda premium
The Following 3 Users Say Thank You to HardLight For This Useful Post: [ View ] Gift HardLight Ad-Free
28th July 2014, 02:49 PM |#10  
Junior Member
Thanks Meter: 1
 
More
Sarisfied till now
I have used this ROM for a day now, and this ROM has worked better for me than mukulson's CM11-v12 because, there was no insane battery drain in wifi standby.
28th July 2014, 10:05 PM |#11  
HardLight's Avatar
OP Senior Member
Thanks Meter: 1,580
 
More
Arrow 14/07/27
Changelog:
  • Updated to last nightly
  • Increased read_ahead_kb to 2048 for better sd card read speeds
The Following 4 Users Say Thank You to HardLight For This Useful Post: [ View ] Gift HardLight Ad-Free
Post Reply Subscribe to Thread

Tags
4.4.4, cm 11, optimus one, os2sd, p500

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes