yashsingh1/xdaforums huggingface dataset:
[Optimus V Android Development] JerryScript:
I finally figured out how to use Gimp together with ImageMagick and to565 to create RLEs in Ubuntu.

Gimp

-- Start with a PNG image

-- Under the Image tab, set the mode to indexed at 16 colors. If it's already set to indexed, set it to RGB, then set it back to indexed at 16 colors.

-- In the Layers window, first merge all layers together (can be tricky), then right-click and select remove alpha channel (this may mess up your image, transparency isn't allowed though)

-- Save as a PNG file, and uncheck all boxes in the PNG dialog, leaving compression at 9.

ImageMagick

-- Use the Convert function to change the PNG to a RAW format:

convert -depth 8 MY_IMAGE.png rgb:MY_IMAGE.raw

rgb2565

-- Convert the RAW image to RLE format:

rgb2565 -rle < MY_IMAGE.raw > MY_IMAGE.rle

To build the rgb2565 executable, after setting your normal . build/envsetup.sh command, run:

mmm build/tools/rgb2565

The resulting executable will be in out/host/linux-x86/bin/rgb2565. Move the executable to your /bin folder for easy access.

(be sure you have set the bin path per building instructions for Android). ;)
[Optimus V Android Development] tdm:
FWIW that's exactly what I did, build went fine.

---------- Post added at 12:04 PM ---------- Previous post was at 11:59 AM ----------

Did not know this, thanks.

I would only attempt hacking the bootlogo binary if I was sure that it was truly common across IHO variants. Do all of them use the same/similar bootlogo setup (excepting minor variations for filenames and image count)?
[Optimus V Android Development] blarfiejandro:
Nah, it should be easy enough to do from source... altho it might be easier to hack something up to do an animation of PNGs. The "late" boot animation, in ICS at least, uses OpenGL. I bet we could get better animations that way (and it shouldn't be TOO hard to go from RLE to something easily grokable by OpenGL (graphics are not my strong point tho).

And, yes, I've included Sprint, Virgin, Metro, and Verizon boot sequences. Except for VZW they look basically the same... altho why they couldn't just dynamically scan for the image files, I don't know... but to get all of the Sprint animation you need the Sprint executable (not the Virgin one - despite the same prefix).

In any case, I've also shuffled the files around a bit so that they seem to make more sense to me (no more mix of generic and device specific files scattered in the top level there).

What I'm wondering is this. What does cnd (and some of the other services that have been omitted from IHO)? I wonder if one of them is responsible for headset/earphone detection. Time to get gdb setup.
[Optimus V Android Development] tdm:
We have source? I don't see it in the LG code drop. Did I miss it or does one of the carriers publish it?

system/core/init/logo.c has an RLE decoder that looks pretty trivial. Wrap it with a readdir loop and usleep and viola!

Yeah, saw that thanks. I pulled your changes.

Sorry you lost me there...
[Optimus V Android Development] tdm:
I've almost got it. I copied logo.c from system/core/init and added a little main() at the bottom. It did about 3 images and then stopped for some reason. I'll need to figure out why, shouldn't be too difficult.
[Optimus V Android Development] JerryScript:
The only place I've seen cnd is in init.thunderc.rc of stock VM ROM.

service cnd /system/bin/cnd
socket cnd stream 660 root radio
socket cne stream 660 root radio
[Optimus V Android Development] tdm:
Looks like cnd is some sort of routing daemon that uses a "cne" library. Which doesn't seem to exist in the out/target tree.

strings is a great tool! :)
[Optimus V Android Development] blarfiejandro:
If you can wait a bit, I'll hack something up soonish. What I meant from source was that writing a small app to loop through a few RLEs should be pretty easy. However using a more common image format might be a bit more flexible for those wanting to customize.

Right. But it'd be interesting to know what some of these things do since it may explain some broken unctionality.
[Optimus V Android Development] JerryScript:
Best my google-fu can come up with is that CND = Called Number Delivery service, grabs the caller id during the 4 second pre-ring stage of the calling cycle. It appears in several technical documents, but I'm having trouble tracking down more than passing references so far.

http://www.devx.com/Java/Article/28249

http://guciz.com/

TELECOM-F-R Nitsuko Administrator Guide

http://kaosroolz.0catch.com/xoos_cookbook_classic_edition_v2.00_enchanced/FUN10.TXT
[Optimus V Android Development] tdm:
Absolutely. It's your project, you get to drive. :)

IMHO, anything more complicated than RLE is going to bloat the initrd by quite a lot and load time for the executable will also suffer. I'm not an image format guru but I think GIF is probably the next simplest format. But I think it's limited to 256 colors, isn't it?
[Optimus V Android Development] JerryScript:
Looks like you'll need to flash the suggested recovery using ADB. ;)
[Optimus V Android Development] DarkLG:
which of the iho builds/roms has just native cm7 files and no other special customizations added?
[Optimus V Android Development] eollie:
Ideally you shouldnt have to run fix permissions. Like stated if your having issues try that. The other thing it is suppose to do is stop the prompt SU does and "hard code" the apps that need SU into the system. Whichs means If you have a bunch of apps that prompt you for SU running fix permissions should take care of that. I will do it after I flash a rom and get everything re-installed.

I emailed and contacted him via google plus several times and the last time he said they dont support our phone so tough. In almost those exact words. SO Koush can kiss my snow white arse.

Since Jerry mentioned it briefly, I ran across a recovery on another forum couple months ago. I offered to help the dev with what ever he needed to get it working on our devices. I had "forgot" about it somewhat and went back a couple days ago and seen he has a working version for out phones. Heres the dealio, Im not doing to hot link it in public you want the info pm me. The biggest reason is I am not sure which drivers are used and people with newer phones might end up with a black screen. I will say this using it to install the newest Backside was super fast. Like it took me 126 seconds to install backside and gapps. Where as normally its two minutes for backside and about a minute for gapps.

Blarf good to see you back.

Jerry suggestion, would it be possible to use the virgin splash screen and make the IHO as the boot animation?

DarkLG if you want a pure gingerbread experience the closest you are going to get is Harmonia 2.xx. But that rom still is built on IHO. We dont have source code for GB for the Optimus V to build from.
[Optimus V Android Development] leolawliet:
I'm looking for the same thing, just something with a framework-res.apk and systemui.apk that isn't moddified.
[Optimus V Android Development] JerryScript:
I believe mrg666 has the least changes to frameworks-res and systemui. ;)
[Optimus V Android Development] mrg666:
Thanks Jerry. This is definitely not something to advertise as an advantage, just personal preference, but I can also claim that since it can't be less than "no changes" :)
[Optimus V Android Development] DarkLG:
Your trying that ics statusbar as well i'm guessing
[Optimus V Android Development] mkoyskip:
Ok, thanks for the info - will try it out.

Jerry - thanks for the latest build. Looks like that notification bug is still (getting stuck clearing if I don't swipe it all the way).

EDIT:

Every once in a while after installing a new build some of my apps repeatedly request SU permission - I always just re-installed. I'll try this in the future.
[Optimus V Android Development] leolawliet:
I actually like it this way though, less messy when I need to mod it :)
[Optimus V Android Development] leolawliet:
Yup! And I'm hoping it works this time :)
[Optimus V Android Development] blarfiejandro:
GIF is simple but limited. PNG is still a pretty simple and flexible format IIRC. It looks like there are some smaller decoders available, but even with the full libpng it shouldn't be TOO bad.

In any case if you get something usable, gimmie a holler and I'll certainly take a look at the code. The time I spend on this project is really sporadic so if you've got a head start that's great. I think I'm going to take the next couple days off to job hunt and enjoy the weather before winter hits.
[Optimus V Android Development] tdm:
I got it working. My initial try was thwarted by a simple logic error checking the return value from load_565rle_image.

I'll create a pull request shortly (with a topic branch this time!)

Honestly I wouldn't worry about image formats too much. LeslieAnn and JerryScript have detailed instructions on converting images to rle format posted over at androidcentral, and google pulls up other pages as well.
[Optimus V Android Development] jawz101:
request

I have a request on the volume settings. On the lowest setting selectable I can hear my phone from at least 5 feet away in a noisy office. I don't know if all phones are created equal but I'd think the lowest setting would be enough to hear it in my ear OK but that's about it.
[Optimus V Android Development] tdm:
I have this issue too. It's been a problem for a long time and I think it's been looked at before.

I'll try to look at this some time soon, though -- perhaps I can find something that others missed.
[Optimus V Android Development] jayleekay:
The workaround is to turn the volume all the way up and then turn it down.
[Optimus V Android Development] SuperFilapo:
The latest Harmonia build is incredibly simple and smooth. As basic of a GB ROM your going to get on our OV.

I noticed the system status bar has even been reverted to stock GB. Absolutely everything works perfectly.

Not to mention the outstanding battery life.

I have the "new screen" OV.

10 of 10 rating for the latest Harmonia. Well done.

Sent via LG VM670 IHO
[Optimus V Android Development] DarkenCypher:
And has SPECTACULAR battery life!
[Optimus V Android Development] a5pe4:
How is the battery life of Harmonia in comparison to the other IHO's?
[Optimus V Android Development] norwoodesteel:
i don't believe there is any battery life difference.

i switch back and forth constantly [harmonica today] and bobz, jerry, mrg666

i leave for work with a full charge and get home [7-8hrs] with 80% on all of them.

light web surfing [i'm at work], check gmail when it beeps, but not many phone calls.

location/security turned off, all syncs turned off except gmail. grooveip, facebook, twitter uninstalled until i need them [big difference]

by the way they are all awesome
[Optimus V Android Development] :
I've Been Trying To Flash This For The Past Couple Days But I Keep Getting Errors, Weird. Right Now I'm Using A LG-VM670, Kernel Version 2.6.32-9-v3.6 bobzhome@ubuntu)), CPU ARMv6-comptatible processor rev 5 (v6l)

Thanks For Any Help
[Optimus V Android Development] mrg666:
01122012

I have uploaded the 01122012 build of MiRaGe. After Blarf's recent additions and reorganization of the files, I had to reconfigure my build system and test it. Plus, a new ring style, "Holo", has been added to the lockscreen in CM repo which is a better fit if you have an ICS theme. So, I decided to post this build after testing on my phone. You can easily skip this build if "Holo" ring style is not interesting to you.

As usual, thanks to Blarf, Bob, Jerry, LeslieAnn, tdm, thekraven, bigsupersquid, whyzor, and the CM team.

Edit: I have updated this build to fix a problem with headset buttons. If the headset buttons are not working, you can just flash this file in the recovery, no need to reflash the updated ROM again.
[Optimus V Android Development] JerryScript:
We will be happy to help, but we need to know what kind of error you're getting. ;)
[Optimus V Android Development] pandulce1:
Mrg666, I have a little question. I seem to remember you saying several months back that rebooting to the booloader would be removed from then future versions of MiRaGe because there was no way to get out of it. Is this still in the plans?

I most sincerely second that round of thanks, including you as well of course. Without you guys, the Optimus V would be nowhere near as great as it is now.
[Optimus V Android Development] CaptainShanks:
Any of you guys see this?

https://plus.google.com/115049428938715274412/posts/Hp9CcKUdjcA

It appears at least one variant of our phones has official CM support :D
[Optimus V Android Development] eollie:
Regarding the recovery I mentioned earlier in the thread.

Couple people here have tried it and one person is reporting black screen. So if your brave and want to test it here is the link to the devs site.

Now remember Im not responsible if you break your phone nor is the dev. You are taking this on your own free will and understand what could happen. Now if everything goes good and it works I will totally accept a bribe or thank you either one works. As Im sure the dev would like a thanks or frosty beverage of some sort.

http://rzdroid.com/ftp/recovery/gingerbread/2.1.4/RZR-2.1.4-download.html
[Optimus V Android Development] mrg666:
I don't remember that plan. Are you sure I have posted it?
[Optimus V Android Development] pandulce1:
My apologies good sir, it seems that my memory is all screwed up. I made a few searches, but could not find the post where a user was stuck in the bootloader.

By the way, After flashing the MiRaGe 01042012 build, my phone started to act up by either freezing or rebooting itself. So yesterday I decided to do a clean install of the 01102012 build, and I can not believe the speed difference. I guess starting fresh once in a while is a very good thing. Thank you!
[Optimus V Android Development] leolawliet:
It looks solid, I have tried it out before but never actually tried the backup features, everything else seems to be working fine.
[Optimus V Android Development] mkoyskip:
my phone is stuck in airplane mode, though the airplane mode is not checked. any ideas?

EDIT:

well, after many reboots & battery pulling i was able to get out of airplane mode - never had this happen before..
[Optimus V Android Development] dingermtb:
After trying Terminal Emulator again, forgetting how tempermental it can be, i no longer get the black screen. It works great and amazingly fast.
[Optimus V Android Development] leolawliet:
Are you running any scripts that might be causing it to bug out? 3G Turbo Charger gave me that same issue every time. Just curious.
[Optimus V Android Development] Deveal2014:
need a lil help

hey im having issues downloading photos and videos from text messages can anyone help??
[Optimus V Android Development] pbailey212:
I couldn't get it to flash with flash_image or flash image GUI (and yes I unzipped it first) I even tried downloading it again

Edit: I forgot to rename it with the word "recovery" in it. It works now
[Optimus V Android Development] pbailey212:
Wow, that rzr recovery backs up fast, I'm going to do some more testing with an old SD card, then I will start a new thread if everything works properly
[Optimus V Android Development] JerryScript:
You may have been thinking of a post I made stating why I removed the bootloader option from the reboot menu in BACKside. My reasoning is that if you need to get into the bootloader, you should know how, and if you don't, you shouldn't get there by accident. ;)
[Optimus V Android Development] ajones23:
Which rom have you tested this recovery with. I would like to try it but need more info on it.
[Optimus V Android Development] JerryScript:
Has anyone tried restoring one of these super fast backups?

Also, has anyone tried restoring one of these super fast backups with a different recovery?
[Optimus V Android Development] pbailey212:
Yes I just tried restoring, and now I'm on a fresh install. DO NOT USE RAZOR RECOVERY, IT WONT RESTORE!
[Optimus V Android Development] eollie:
Make sure 3g is not off. If mobile data is off then you will not be able to download mms.

I used it to install the latest backside. I dont much like swapping roms that much so I cant say much about the the other flavors but they "should" work. Remember as long as you do this via terminal or adb you can always reflash a different recovery.

I did restore a older backup and it picked up my very first nanadroid backup. IIRC CWM recoveries use a set amount of processor for the recovery. This one appears to use the maximum amount of processor speed available hence the amazingly fast backup and install speeds. I will try to restore some other older backup tomorrow. However I only keep my original nanadroid and two recent backups and I think both of what I have currently are from this recovery program.
[Optimus V Android Development] dingermtb:
Tried restoring, but it points straight to nandroid folder. Can't pick the directory. Mine was in clockworkmod folder. No biggy though as i always do a fresh install when there's a new BACKside build. Everything seems to run smoother. I'll test restoring a backup in the morning, as i made a backup after a fresh install.
[Optimus V Android Development] pandulce1:
You'll need to be more specific with the issues you're having and which recovery / rom you're using so that you can get the help you need.
[Optimus V Android Development] eollie:
You can move the backup folders to the nanadroid folder. I bet most of the people that rooted the phone before gingerbreak dont realize non CWM recoveries create a folder called nanadroid and that is where the original nanadroid is.

Phone is fully charged and I found a backup of a backup Im gonna give a try to.

The only problem I had was it wouldnt restore my ext partition. Otherwise everything was GTG.
[Optimus V Android Development] moore.bryan:
Maybe a stupid/bad question, but if using link2sd and upgrading ROMs do I have to do anything special?

Sent from my IHO phone
[Optimus V Android Development] mkoyskip:
No, I haven't got around to trying out scripts or such yet. I just happened to look at my phone and saw that there was no service so I tried to switch airplane mode off and on, and it got stuck on "disabling wireless connections" indefinitely. When I rebooted it was on airplane mode but the box wasn't checked and it wouldn't let me check the box anymore. The only thing I did out of the usual was running some log cats earlier that day (I'd installed cattapplus to try it out - went into an endless loop. The developer asked me to send some logs and then put out an update within 6 or 7 hours).
[Optimus V Android Development] Deveal2014:
my mobile data is on everytime i try to download pictures it says download unsuccessful? can anyone help
[Optimus V Android Development] jawz101:
After an upgrade and the phone boots up you'll get a mount warning prompt from link2sd, hit cancel on that then go into the more options in link2sd and select 'recreate mount scripts'. It asks you to select the format in which you formatted your sd-ext partition, then reboot and it'll pull in your linked sd-ext apps again.
[Optimus V Android Development] dingermtb:
Yeah. Without thinking, i wiped and went to do the backup before moving. Then slapped myself in the forehead. After a fresh install, i then backed up. To test restore, i wiped then installed the backup, but after it rebooted, it went to IHO screen, then the Virgin Mobile splash (Jerry's newest build), but then it would just hang on the Virgin Mobile logo and wouldn't fully boot. But gonna try again.
[Optimus V Android Development] a5pe4:
Sounds like maybe you need to wipe and reflash.
[Optimus V Android Development] badrsj:
Different restart behavior on MrG666 011212 Build?

Hello everyone

Since after the 011212 build - when the power is connected and reboot is selected the phone just goes off - with the flashing battery charging sign as if the phone is off - which it is off, However it was asked to reboot.

If the power is not connected the phone reboots just fine.

This same behavior is seen from Android - Reboot or Recovery to Reboot.

When the phone is off - it has to be powered back on.

More specifics - I've tried all recoveries - BobZ's and also CWM, currently on Razr recovery which I really like.

---------- Post added at 06:43 PM ---------- Previous post was at 06:37 PM ----------

I've had this happen twice after a new ROM is flashed one needs to "rewrite the mounting scripts" via that command - which does get done. The apps which were installed before are still accessible.

However after that no new apps can be linked. An error message comes up saying the partition is "read only" - which it is not ofcourse.

I have not been able to work around this. Basically had to do a whole phone re-install.
[Optimus V Android Development] SuperFilapo:
NINERS!!!

Sent via LG VM670 IHO
[Optimus V Android Development] Raul027:
RZRecovery

Are any of you guys able to make a nandroid backup on RZrecovery? Whenever I try it fails.
[Optimus V Android Development] turboeddie:
I'm having the same problem of the reboot issue & also how do I get rid of the virgin mobile logo?? Changing the boot image doesn't work
[Optimus V Android Development] ajones23:
No, it doesn't work.
[Optimus V Android Development] Raul027:
RZRecovery

Is the recovery at least able to restore cwm backup's? Can it also install zip's?
[Optimus V Android Development] tridge:
When I downloaded the mediafire link, I get a .rar file that does not contain a .zip file... when I open the rar I see a folder and inside the folder are all the .img files. I guess I'm not understanding or missing a step? I've rooted/flashed/reflashed many other phones but I've never ran into this.
[Optimus V Android Development] JerryScript:
Which link, I have only posted zip files.
[Optimus V Android Development] Mellexx:
Weird the widgetlocker issue seems to have fixed itself after not letting it run overnight all's working good, thank you guy's for the amazing rom!
[Optimus V Android Development] tridge:
I don't remember which link but the rar file name was

2011-04-25.17.26.49-CM7-Built.rar

I think I copied the wrong link, I'm jumping through hoops to download it at work and I think I got confused in the mix.

I checked which file your link points to and it is in fact a zip...re-downloading.
[Optimus V Android Development] unloop:
I am loving this ROM, but there are 2 things I noticed that worked better (for me) on ath3nos' ROM.

1. WiFi - at home I hide the SSID, on ath3nos' ROM I very rarely got disconnected when my phone locked. On this ROM I seem to have the same issue I had with AOSP's ROM, which is once the screen locks, I usually get disconnected from the WiFi. I need to go into the WiFi Settings to have it reconnect.

2. http://xdaforums.com/showthread.php?t=1147092 - I used flash from this site on ath3nos' build and as long as I turned the "Enable Plugins" to on demand, flash worked great on a lot of sites (obviously when I clicked to allow it). On this ROM the same sites that worked now FC on me.

Neither of these things are anything that will have me go back to a previous ROM, just putting it out there in case there is a way to improve this down the road.

Thanks.
[Optimus V Android Development] JerryScript:
Could any of you with wifi issues try changing your router's settings for a test? Try removing all security, and be sure the SSID is broadcast. We are trying to determine if it's a dhcp or wpa issue (it may be other than those, but we are trying to narrow it down).

I'm using a dd-wrt based router with wpa/wpa2-psk and cannot reproduce the bug, so I really need some help.
[Optimus V Android Development] blarfiejandro:
BTW, I'm inclined to not test this WAP because the 600N is janky and likes to reset itself on its own often enough. I'll be around a WRT54GL that I can play around with tomorrow. The other thing to do would be to change the key expiration/regeneration to something really short and see if your connection drops.