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

xdema

Senior Member
Jul 5, 2014
100
52
0
here, flash in recovery

md5 5a34027c7180b588741eb40e271a3d14

os2sd only, by the way, change updater-script system mount point to flash to internal.
there are differences between your's 30/08 f2fs rom and HardLight's 31/08 f2fs rom?
with 7zip. i can't edit the 31/08 zip file, while in 30/08 i can change/overwrite files (i.e. the files to mod power<->search buttons)
and with twrp i can flash your but not the HardLight's (a red "failed") tomorrow i'll try to download it again, maybe is a simple download corrupted

thanks for all
@STEELBAS on 30/08 f2fs i've no problem with camera
 

bigsupersquid

Senior Member
Sep 22, 2010
2,249
1,666
193
BFE, MO
there are differences between your's 30/08 f2fs rom and HardLight's 31/08 f2fs rom?
with 7zip. i can't edit the 31/08 zip file, while in 30/08 i can change/overwrite files (i.e. the files to mod power<->search buttons)
and with twrp i can flash your but not the HardLight's (a red "failed") tomorrow i'll try to download it again, maybe is a simple download corrupted

thanks for all

@STEELBAS on 30/08 f2fs i've no problem with camera
could be minor differences, my repo isn't quite pure androidarmv6 but close. my kernel has a few extra tweaks like frandom support, uhid for Bluetooth keyboards, usb fastcharge...
I'd have to unpack and diff them both to see.
my twrp may not cooperate with the 3108, I haven't checked.
also the recovery log helps sometimes to figure out exactly why something won't flash.
 

bigsupersquid

Senior Member
Sep 22, 2010
2,249
1,666
193
BFE, MO
I kept seeing this repeat in logcat on thunderc, checked, and it happens on thunderg too.
over and over again.
W/SchedPolicy( 597): add_tid_to_cgroup failed to write '1192' (Permission denied); policy=0
W/System.err( 597): java.lang.SecurityException: No permission to set to given group

this commit fixes it.
But, I put it in init.qcom.rc, rather than digging into the stock init.rc.

I actually think it should go upstream to androidarmv6 (since it affects more than one msm7x27 device, and it's a simple fix) but I don't have any gerrit set up yet.

It goes after "on boot", like so:
Code:
on boot

    ##fix "add_tid_to_cgroup failed to write" errors
    chmod 0660 /dev/cpuctl

    # allow reading kernel command line
    chmod 0644 /proc/cmdline
 

angelgzg

Senior Member
Oct 30, 2010
304
32
0
Maracay
here, flash in recovery

md5 5a34027c7180b588741eb40e271a3d14

os2sd only, by the way, change updater-script system mount point to flash to internal.
How to get other dictionaries to the keyboard? Spanish eg

And I try to install the gapps and installs but then when you restart the phone do not appear in

It also seems to not work on 3G data, or maybe just be my
 
Last edited:

aaopt

Senior Member
Feb 27, 2011
294
416
93
Pawtucket, RI
I actually think it should go upstream to androidarmv6 (since it affects more than one msm7x27 device, and it's a simple fix) but I don't have any gerrit set up yet.
Speaking as an outsider, I'd encourage you @bigsupersquid and @HardLight to set up gerrit. Aside from this fix I would think they would be interested in incorporating some of your other changes. Looking at your github it seems you have a separate device profile for the OS2SD build. If the changes for OS2SD can be isolated enough such that the same tree can build both ways based on the device name-- and it seems you are moving in that direction-- then I see no reason they wouldn't want to support that. If it becomes an official part of androidarmv6 then I guess their jenkins would wind up building both flavors of ROM for all the variants, including p505/509 etc.

For now, this ROM seems to run well on my p509. Haven't tried with a SIM card.

Any idea why the androidarmv6 build, and this ROM as well, doesn't include Email.apk? I notice Exchange2.apk under "extras" in the zip fie but no Email.apk ... and nothing in the updater script seems to be trying to install anything from under extras/ anyway. (For my current purposes I don't actually need Email.apk, just thought it was odd to have Exchange2.apk backend building without Email.apk.)
 
  • Like
Reactions: xu3sno

ruelericsapalaran

Senior Member
Nov 6, 2011
150
31
0
Link2SD problem

I decided to install Link2SD in my device so that the clearing of cache will be automatic since my device is slowing down a bit for a reason I don't know. Unfortunately, after the phone restarted, it got into a bootloop. Is there any chance to still retrieve the text messages and other data on my device?
 

bigsupersquid

Senior Member
Sep 22, 2010
2,249
1,666
193
BFE, MO
Speaking as an outsider, I'd encourage you @bigsupersquid and @HardLight to set up gerrit. Aside from this fix I would think they would be interested in incorporating some of your other changes. Looking at your github it seems you have a separate device profile for the OS2SD build. If the changes for OS2SD can be isolated enough such that the same tree can build both ways based on the device name-- and it seems you are moving in that direction-- then I see no reason they wouldn't want to support that. If it becomes an official part of androidarmv6 then I guess their jenkins would wind up building both flavors of ROM for all the variants, including p505/509 etc.

For now, this ROM seems to run well on my p509. Haven't tried with a SIM card.

Any idea why the androidarmv6 build, and this ROM as well, doesn't include Email.apk? I notice Exchange2.apk under "extras" in the zip fie but no Email.apk ... and nothing in the updater script seems to be trying to install anything from under extras/ anyway. (For my current purposes I don't actually need Email.apk, just thought it was odd to have Exchange2.apk backend building without Email.apk.)
pull email from my last thunderc os2sd build (it's a bit stale but should work.)
I'm getting to gerrit, eventually. i have thunderc playing nice together with thunderg in the kernel now, and maybe this weekend I'll have the rest of thunderc stable enough to consider upstreaming (but they build internal only, psyke83 specified no interest in os2sd because he'd already played with something similar while originally fixing up the kernel, and internal is hard to fit on thunderc.) i doubt it though.:silly:
that one patch, I'd consider sending up, but figure I'd see if HardLight wanted to do it as I'm fairly sure he's already set up for that.

there are crazinesses in my device folder to handle dual mode building since i haven't completely puzzled out the way that all works yet. i know what to isolate though and as I've had time I've been trying to refine it into a lunchable format. failed so far but I'm persistent and gettin' more learned all the time, eh?

---------- Post added at 07:27 AM ---------- Previous post was at 06:48 AM ----------

I decided to install Link2SD in my device so that the clearing of cache will be automatic since my device is slowing down a bit for a reason I don't know. Unfortunately, after the phone restarted, it got into a bootloop. Is there any chance to still retrieve the text messages and other data on my device?
the whole deal with os2sd is running everything from the sd card already except for /cache. use a dedicated cache cleaning app instead.
so link2sd totally borks everything up.
your /data partition mounted in recovery in os2sd mode has all your stuff in it. unless link2sd copied some of it over to /system as well.
 
Last edited:

ibub

Senior Member
Oct 22, 2012
1,730
1,522
0
Louisville,Ky
i have some people complaining about hearing themselves when they call me . anyone had this problem ? any ideas ?
That can also be a network problem. I have experienced that in poor signal area. Or can be noise cancellation problem using speakerphone or headphones.

sent from my towelrooted LG L34C using tapatalk
 
  • Like
Reactions: xu3sno

haoss07

Senior Member
Dec 20, 2010
273
41
0
Brasov
sadly. non of the above applies to my problem. i don't use headphones or put them on speaker . its a normal call.
signal is also good. i live in the middle of a big city . never had problems.with signal. :(
 

HardLight

Senior Member
Nov 26, 2012
240
1,703
0
[14/09/08] f2fs

New version:
Improved mount options for f2fs.
Fixed ram usage not shown in Settings>Apps>Running.

Also here is attached flashable zip of Dialer.apk with white-listed call recording feature.
Please note that I'm not taking any responsibilities of this call recording option in Dialer. Use it only if it is legal on your country!

EDIT: Gapps updated!
 

Attachments

Last edited:

HardLight

Senior Member
Nov 26, 2012
240
1,703
0
Data2sd 14/09/10

After using OS2SD for over a month I've decided to try mount /data on sdcard and leave /system on internal.
This is how DATA2SD born.
The main reason of this change is to fix phone slow downs which occurred while I was using OS2SD. Sometimes it appeared as phone just won't wake up from sleep for a minute after key was pressed. So until cause of I/O performance drop will be found I'll be experimenting with this project.
I'm testing this for a day, but overall performance seems to be much better.

Main highlights of DATA2SD:
  • /system mounted on internal
  • /data mounted on sdcard partition 4 with f2fs
  • Rom uses OS2SD partition layout
  • New Gapps uploaded to fit on internal, install PrebuiltGmsCore.apk as user app, (GoogleSearch.apk optional)
  • To flash Rom and Gapps use twrp-2.7.1.0-20140831-MULTI-F2FS-p500.zip with Internal mode on

Downloads:
ROM
Google drive
GAPPS
Google drive
TWRP
Google drive
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone