yashsingh1/xdaforums huggingface dataset:
[Optimus V Android Development] ReverendTed:
I've decided to move my conversation here since xda seems a little more active than androidcentral.

As a refresher, I've got a LG Optimus S (LS670 on ZVJ baseband). I've been running DanteROM v5 for the longest time and it's been very stable, but being Android 2.3.3 I've started to have more issues with apps not being available in the app store, so I was looking to upgrade.

I've been having some similar issues to monogwai. I'm currently trying to run the Internal build of BSR.

I also discovered that the problematic SetupWizard was in gapps, but without changing anything I was able to boot successfully into BSR as long as I waited to install gapps until 2nd boot.

Unfortunately, the issue I'm having now is no cell signal.

So, this seems weird:

- The link for Sprint Fix here has an md5, flashes successfully, but BSR won't boot.

- The link for the Sprint Fix on Android Central has Sprint Fix and Sprint Fix 2. Neither have md5s. Sprint Fix 2 has always failed to flash for me. Sprint Fix flashes successfully and BSR boots, but so far I haven't seen it work. I have no cell signal and my Bluetooth won't turn on. (WiFi works.) In About: Phone, Model number is listed as LG-VM670. (Baseband is LS670ZVJ.) Is that not supposed to be LG-LS670?

So there are three Sprint Fixes, each with varying degrees of failure.

I dug into it a bit more.

The AC Sprint_fix (flashes, boots, doesn't work) and the xda Sprint_fix (flashes, doesn't boot) only differ by two folder references in the updater-script. AC sets permissions for system/build.prop and data/eri.xml, while xda sets permissions for tmp/build.prop and tmp/eri.xml.

The AC Sprint_fix_v2 (fails to flash) has a different update-binary from the other two, and this binary is what's referenced in the flash failure error message.

I'm not sure that helps, or if I'm even barking up the right tree.
[Optimus V Android Development] bigsupersquid:
zvj may need a flashable with ril binaries from the Optimus s forum on ac if i remember right.

if i was on it, i'd collect all that information together too; i've never owned an OS but the physical board is identical to the OV so trying to support it was logical. there's annoying software defences like varying system partition sizes and that ril change for zvj.
[Optimus V Android Development] bigsupersquid:
zvj patch

from here

http://forums.androidcentral.com/lg...zvj-zvd-zvd-zvj-flashable-zips-optimus-s.html
[Optimus V Android Development] bigsupersquid:
oops, didn't attach the patch

again, from here:

http://forums.androidcentral.com/lg...zvj-zvd-zvd-zvj-flashable-zips-optimus-s.html
[Optimus V Android Development] monogwai:
new developments...

After getting the BSR rom (internal) working, I've run into a few issues:

Google Play has stopped working. At first it worked fine, I installed a few apps and everything; now when I go to install something it does everything as usual-- window for app permissions, download progress bar-- but there's no actual numbers shown for the download percentage and all that stuff. I left it running a good long time before I finally decided it was broke. I can still download apk's from a browser, but that can be somewhat challenging for reasons I'm sure I don't need to delve into.

Social apps (eg. kik, textnow, etc.) won't log on to their respective servers, either.

As I'm relatively new to the customization thing (i've done several android devices, but have never run into any issues like this b/c i was working with newer tech than the OV, i guess), I'm sort of at a loss as to what I can do to try and remedy the situation. Are there any other stable roms beside MiRaGe? Maybe one that runs ICS or JB? Not really looking to run 2.3.7; my whole purpose of updating the rom was to gain the ability to run newer apps. I don't need it to be fully-functional, either...I don't need a working cellular connection or camera or any of that stuff. Just need to be able to keep in touch with friends (via wi-fi of course) throughout the 2 weeks or so it's gonna be for my replacement parts for my tablet to get here.

Again, any help is greatly appreciated! :good:
[Optimus V Android Development] bigsupersquid:
still suggest trying the os2sd version, i never thought the internal was very effective with kitkat.

you can check raccoon for the pc for play access if you want to get apps that have been prescanned by them

http://xdaforums.com/showthread.php?t=2772436

not sure about kik and such. but could be related to play services.

they run out of room on internal fast, mostly because google apps forced updates take up almost all the internal data space themselves.
[Optimus V Android Development] monogwai:
I'll be sure to try the os2sd version when I get the SD card I ordered. I'll definitely check out this raccoon program, I didn't know anything of the sort was available... that'll be a real help. :good:
[Optimus V Android Development] bjnmonkey77:
Good rom
[Optimus V Android Development] ReverendTed:
Regardless of whether that's going to work: thanks for taking the time to dig that up. Much appreciated!

Squid's going to be the expert here, but did you install Toucanscrypt? It's linked in the first post for BSR on AndroidCentral. I feel like squid at some point said it shouldn't be necessary, but the Toucanscrypt instructions also included a recommendation to install Link2SD. When you mention Google Play issues, that's what came to mind.

I had the same problem with Mirage, though - after a few apps got installed, it would say "Downloading" but nothing would ever actually start. I'm back to DanteROM because it's been rock-solid for me over the last 3 years, but it's Android 2.3.3, and the whole reason I'm here is the same as you: there are a handful of new apps and features I'd like to use from newer android builds.
[Optimus V Android Development] ReverendTed:
So close! The Optimus S zip you linked did the trick for cell service. Only one problem remains (that I've noticed so far) - Bluetooth won't turn on.

I also wasn't able to install Google Play Services (insufficient storage), but that would probably be remedied by following your recommendation and moving away from the Internal build in favor of OS2SD. I also hadn't gotten around to installing Toucanscrypt or Link2SD before I realized Bluetooth wasn't working and that's a bit of a dealbreaker.

So, to recap for anyone else following along at home on an LG Optimus S:

I used TWRP 2.8.0.0 (in Internal mode) and flashed BSR internal, OS-keyfix, SprintFix (from Android Central), ZVJ patch (from a couple of posts back), rebooted into system, then restarted back into recovery to flash Gapps skinny internal (unmodified, with SetupWizard intact, but waiting until 2nd boot to install Gapps seems to fix that lockup).

I was probably about to follow the Toucanscrypt + Link2SD instructions but bluetooth still isn't working.

(FWIW: I was able to use optiauto to reinstall Xionia and restore my nandroid backup without much fuss.)
[Optimus V Android Development] bigsupersquid:
[MENTION=7517281]ReverendTed[/MENTION]

I've only heard a couple reports of bt being broken, but the bt was the whole reason for porting the 3.0 kernel to the device for me... it was always working on mine.

if i had the luxury of controlling my time I'd get one of everything to test on and try the different basebands and such myself. unfortunately not.

thanks for the updates.
[Optimus V Android Development] monogwai:
I'm baaaack....

Hey folks!

Got me an SD card and installed the os2sd version of the rom. Things *were* great-- apps that previously wouldn't function (I had mentioned Kik and Text Now, for instance) are now working. Space is no longer a concern, of course. Google Play actually will download programs now...when it wants to work. After about a day or two, Google Play Services crashes, com.google.process..gapps crashes, Google Account Manager crashes... basically every google service crashes over and over again, every few minutes or so. Basically, I installed it Sunday night, got a day or so of operation out of it, then started having all these crashes. So I booted to recovery and wiped and re-flashed the ROM and Gapps, got another day or so of smooth operations, and now we're back to crashing every few minutes. Also, oddly, whenever I open a new tab in a browser (i've only tried 2, then I gave up), the browser crashes. I'm using Skinny_4.4_Gapps-new.zip-- Is there another Gapps package I can try? Maybe the one for the internal version? It wasn't any better (insofar as ability to download stuff), but at least it didn't crash a billion times.

Oh, and if anyone is paying attention, I had mentioned previously I was just using this phone as a replacement until I got my new "parts" tablet in so that I could fix mine... well, the nimrod on eBay listed it incorrectly. The auction was for a TF300T (correct stock picture and spec data and everything), and I got a MeMOPAD 10 instead. I should have known when in the listing they mentioned "Doesn't come with a charger, but uses the standard Android charger" (the tf300 does not), but I just assumed this dude didn't know what he was talking about. Which was true... just not in the manner I thought it to be. :silly:

With some luck, I'll only be tablet-less for another week or so. Meanwhile, how can I make the Optimus V less of a struggle (without going back to stock...yuck!)?

Thanks in advance!
[Optimus V Android Development] bigsupersquid:
the Google apps are sneakily updating themselves.

that's why they crash. the newer releases past the zip file have a nasty little issue that makes them die over and over again on older chips. even though they're supposedly compiled for armv5te instead of armv7, the system logs show crashes from trying to run armv7 routines in the gmscore.

when you first flash them, they're OK, until they update themselves. you can replace the files they install on /data/app with folders of the same name and they'll silently fail to update instead. (com.google.blabla)

that's my best solution other than using microg open source gmscore and location service. but I've not tried it on the v yet. needs xposed module to run... you can look it up on xda if you're interested. works fantastic on my desire 816.

i really really need to get an update out since I've got a build computer up and running again. you couple people using this dinosaur remind me that from time to time i have to do the same thing, and it'd be nice to have it more current and optimized. plus hardlight with the Optimus one has at least a June security patchlevel repo which i can use a lot of without having to tweak at it.

besides, I've learned a lot about building since getting my evo3d and desire 816, and i should apply it to fixing glitches on the old beast i started learning Android on.

somebody in tkruzze's gapps thread (now defunct) called the Optimus v "the little phone that could," which is really apt considering indie development brought it from factory froyo all the way to kitkat. especially since armv6 wasn't supposed to be viable past gingerbread!

sorry this is so unmaintained. glad to hear it's still mostly working though! I'll check into it relatively soon.

try the file to folder replacement to lock down the play services version. it'll help with the FC's.
[Optimus V Android Development] monogwai:
I've been meaning to get xposed running on here, I like it a lot on my tablet. Is there not some way using that or one of the myriad root tuning apps to just turn off updates globally? I suppose the folder trick will work, but I can't help but think that gapps trying to constantly update itself and failing would be a drain on resources, even if it's not bothering to tell me. It is, however, an improvement from having to hit OK all the time when I'm just trying to type a message or browse online. So i'm gonna try that right away.

How is that desire 816? My GF has a 526, but I can't play with it b/c it's verizon and I can't afford the xtc2clip thing. :( otherwise, the 526 is nice.

"the little phone that could", though? nice. it really is a pretty cool phone. My dad has one too, and he still uses it, stock. I've told him for years I could get him a better phone for pennies on the dollar, but he's cool with that one. But especially with the OS2SD thing going, this phone really is useful again, even for a power user. even if you have to click OK 500 times... :eyeroll:

Should you develop something new, I'd be glad to do some testing for ya. :)
[Optimus V Android Development] bigsupersquid:
the 816 is really fab, in nineteen sixties speak.

fast, smooth, big screen, super easy root, good upstream source code that doesn't need a lot of specialized tweaks to make it go even while S-on. i sometimes realize there's fifteen apps in the recents list waiting to resume and it doesn't even slow down. the sound is better than any other portable device i own except for dedicated Bluetooth speakers.

kind of expensive, mine cost a hundred while they were running one fifty. compared to my $40 evo 3d, or $15 spare Optimus v(s). but i paid over $200 for the v twice, once after i fried the firmware irretrievably. so by comparison, super super slick.

there's a very large userbase for the 816. the total downloads for the V since i started putting them on AFH were exceeded in one month of development for the 816.

can't guarantee any updates for the v but it's getting bumped higher up the priorities list as i see more use being made of it.

I'll definitely bump the threads if i do any work on it. twrp 3 is really really nice too, built in terminal and file manager have been updated.
[Optimus V Android Development] monogwai:
That's just what my gal's (how bout some nineteen fifties speak, lol?) 526 does... I'll open that recent apps list, and there's like PAGES of ****, and that phone doesn't even care one bit. I snagged my mom an LG Tribute for $11 (she's still on virgin, hence the OV), it's pretty spiff too, for $11 freaking bucks.

Meanwhile, back at the ranch... I've just wiped and flashed again, and I went ahead and made the com.google.whatever folder before I rebooted, so we'll see how that goes. Fingers crossed!
[Optimus V Android Development] monogwai:
Just as an update, the folder thing is working well, though not 100%... I suppose the crash I get here and there is related to something else, and not the updating thing. All the crashes stopped, with the exception of an occasional Play Services crash. But all in all, MUCH better. I don't want to throw the phone into the wall anymore! :good:
[Optimus V Android Development] monogwai:
New developments: now i'm having touchscreen issues. So many phantom touches, I've turned the damned thing off in preparation to wipe/reflash...again. I'm guessing it's got something to do with the actual ROM and not the device, because the touchscreen works flawlessly in TWRP. I did tweak some settings with Lspeed, but I don't think any of those tweaks would have affected touch. We'll see, because Lspeed is no longer installed. Should that be the solution to my new problem, I'll come post an update.
[Optimus V Android Development] monogwai:
well, I've got time and motivation... just very little experience. but I imagine what is needed is some kind of coding or compilation or other techie stuff that's over my head. should someone make a version for the ov, i'll put it through some testing.

edit: nearly forgot - - I believe the Phantom touches were caused by SwiftKey. I had read something somewhere stating ppl were having issues with gapps s that were fixed by removing the app. my gapps sitch wasn't affected, but the touch issue seems to be fixed.
[Optimus V Android Development] bigsupersquid:
wow, some of the parts of HardLight's os2sd repo haven't been fetched and updated since androidarmv6 shut down in 2014.

it'll take longer than I'd hoped to sync all that. my ISP likes to feed me from 17Kbps on a mediocre day, up to 600Kbps on a really good day.

but I'm going to try building twrp and cm11 for grins, when it's done.
[Optimus V Android Development] bigsupersquid:
whaddaya know. TWRP 3.0.2-0 does build and run, but no os2sd formatting in it yet. Good for internal ROMs but I'm done with those for the V.

cm111 also builds to the june 12 commits from HardLight, but I haven't been able to merge upstream cm changes from then until current yet. good start though. no changes upstream, looks good except for eri.xml and apns-conf.xml, maybe gps.conf.

testing it on cranky old fake 16GB sd card, it's running slow, but everything appears to be working. Can't test sms/mms/phone yet but it opens virginmobileusa.com on mobile data.

I still need to patch in the signature spoofing from Omni to use microG open source gmscore with BlankStore...

get rid of all those nasty FC's and a lot of apps still run with microg instead of play services. add xposed and 'this app doesn't need play services' module and it'll be cooking.

Here before too much more time passes I'll post an updated release for anyone still using this poor old thing.
[Optimus V Android Development] monogwai:
There's definitely no point futzing with another internal build, that's for sure. Soon as you post an update, i'll get right on trying to break it. :silly:
[Optimus V Android Development] 555rt:
Thank you for a great rom. I was just wondering if an update is still planned?
[Optimus V Android Development] bigsupersquid:
Maybe if I can get my sh*t together. I've been feeling too low energy due to horrid relationship issues, now the fourteen year investment has showed its true value and ended.

When i get myself back into functionality I'll give the old optimus v a little love.
[Optimus V Android Development] 555rt:
Looking forward to it, but in the meantime, hang in there. I know what your going through. Been there and done that, twice, about 13 years on the two. Good luck man!
[Optimus V Android Development] mod_v10:
Anyone else getting

set_metadata_recursive: some changes failed
Error executing updater binary in zip '/sdcard/cm-11-20141018-EXPERIMENTAL-f2fs_os2sd_bigsuperROM-thunderc.zip'

for the OS2SD build on TWRP v2.8.00-MULTI-OS2SD?
[Optimus V Android Development] f.costello:
This ROM still going? I still have this device, was my favorite work phone, i could drop it all the time and it wouldn't break! no longer activated though.. Bout to fire it up. Everything was all good when I was rocking it! Glad to see this device still being used!
[Optimus V Android Development] f.costello:
Update!! Went to fire this up, noticed my SD card is not in!!! And I think my battery won't even take a charge no mo'!!! Dang I loved this phone!!!
[Optimus V Android Development] CM_developer:
I have it downloaded now i'm gonna get it flashed and test it :) thank you for the hard work (i also hit thanks)
[Optimus V Android Development] CM_developer:
How do you get it to boot from the sdcard?
[Optimus V Android Development] bigsupersquid:
It's in the fstab, basically.

If you're having issues the sdcard might not be partitioned right.
[Optimus V Android Development] CM_developer:
I thought I'd ask because i wanted to start a project of making Android for the usb like if it where a real device (not by using Android x86 pc version)

Of course this will be a personal project
[Optimus V Android Development] bryonssmith:
[MENTION=2980661]bigsupersquid[/MENTION] Found your article for the Optimus S over on another android forum and just necro'd the thread before finding this one. Hoping your personal stuff is doing better and you're still active. d-(^.^)-b

I have two Sprint LS670 (2.3.3 LS670MJV_6150 zvj.47B56B46) that I'm looking to upgrade to 4.4.4 in order to use the Family Link app so I can set them up for my young kids to use as Hangout phones around the house. I've rooted a few tablets, but this is my first time tackling a phone and I've read conflicting reports about downgrading baseband or not for the ZVJ phones. Not really worried about the carrier working as they'll just be on wifi in the house and use Hangouts to call us if needed. In fact, best battery life is ideal.

Is there a "final" stable release out there? Or leads on a new rom? Ran across another rom that was supposedly much lighter than CM but cannot find that url again. Thoughts? Would hate to go through all the older zvh/zvd crap if I don't have to.

Thank you for your time and effort!
[Optimus V Android Development] bigsupersquid:
Thanks, I'm better, the ex is finally moved out and I've got the house to myself and half the time with my kids, so it's pretty nice now.

Any baseband should work.

The version linked here is latest, I built one this year with HardLight's repo for the Optimus one, but SMS/MMS was broken unless using a third party app, so I left it alone rather than debug the telephony project.

Currently there's no new release but if I get free time (lol) I'll work on it.

Honestly, I keep saying everywhere, I'd love to maintain phone OS's for a living, but so far haven't found real money in it.
[Optimus V Android Development] speck1234:
I tried to flash the OS2SD version on my LS670 in TWRP 2.3.3.3 and got error status 7.

No way to attach the log so I'll type what the log said here:

Installing update...

set_metadata_recursive: some cha

(cut off of screen, TWRP won't let me read the rest)

E:Error in /sdcard/cm-11-2014011

(again cut off screen)

(Status 7)

I'm confused. How do you use the wipe_scripts folder?
[Optimus V Android Development] bigsupersquid:
os2sd will have to have an sd card correctly formatted to flash without errors.

if you can use adb on a computer connected to the phone I can help debug.

you'll have to put the contents of the /tmp/recovery.log file on pastebin.com and post the link it gives you here.

also if you're not using the recovery linked in the first post it will have issues. The recovery fstab is special for the SD card OS2SD setup, and unless TLS is turned on in the kernel of the recovery you're using, it will not be able to execute the update-binary from the OS2SD zip files.
[Optimus V Android Development] thewraith420:
Just wow... I stopped over here out of curiosity. I dont have my Optimus V anymore but it was my first android experience and I learned so much here and on the android central forum for this device. It blows my mind the old trusty Optimus is still being used. It's good to see you bigsupersquid my freind. Hope all is going well for you. Back in the day, you, me, kraven, and some others made some major brakethroughs for this device its nostalgic coming back here for me lol.
[Optimus V Android Development] speck1234:
I don't have a computer available to use ADB or even partition the SD card. I currently have CM7 Gingerbread on my Optimus S rooted. Internet isn't working on it so I can't even use Play Store to search for an app that works like AParted(needs minimum 4.0 JBean according to apk4fun.com) but is compatible. Any partition apps out there compatible with Gingerbread?
[Optimus V Android Development] speck1234:
Since I don't have a PC on hand and my LS670 with CM7 is the absolutely the only rooted phone I have on hand, Flash Image GUI was my only hope. But the OS2SD-friendly TWRP wouldn't boot even after a successful flash. My LS670 that once had stock ZVJ simply reboots when it tries go into recovery, I tried with the button method and in CM7 and got no luck. I tried to flash it a second time and it still doesn't go into the recovery. To rule out a corrupt download I'll try to download it again and compare the MD5s.

---------- Post added at 06:21 PM ---------- Previous post was at 06:19 PM ----------

Btw it's the TLS enabled TWRP. How do I figure out if my LS670 supports it?
[Optimus V Android Development] bigsupersquid:
it should be supported. there could've been download corruption or a bad flash.

before going further I'd put back the twrp you were using if possible to have working recovery.

your older twrp should be able to flash the newer one from in the recovery.

there may also be a glitch in the updater-script for the os2sd rom at the end where it flashes boot.img, I'll check it out and reupload it if necessary. I'll post when that's done.