yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] Little Zed:
Everything went well and I can even boot CM9 kernel as second kernel. Read the OP well. Get the tools well. Now I'm booting with Boot Menu to my stock .89 firmware as primary ROM using Sliding kernel(stock). Now I'm trying to boot second ROM but the ROM zip always got status 6 error. FML :silly::silly::silly::silly::silly::silly:
[Sony Xperia P, U, Sola, Go] ale467:
Can't continue for me!

If it's possible, can you share files for second rom? I mean partitions
[Sony Xperia P, U, Sola, Go] Little Zed:
How can I? It's too big to upload :(
[Sony Xperia P, U, Sola, Go] AGONTUK:
I've no such problem. Apollo can access music fine, I even updated tracks with album, artist artwork. Gallery, Video Player are working too. Maybe reflash will help (full 3 wipe with system format).

Use my stock initrd.gz for sdcard I posted a few page earlier. If it solves the problem, then you can change initrd.gz later with CM one.

Did you do this step while in bootmenu or device powered on ?
[Sony Xperia P, U, Sola, Go] ale467:
Right... can you share only your content of bootmenu/stock ics folder from sdcard?

Now tried do enter in bootmenu, but pc doesn't recognize my adb connection!

"error, device not found"
[Sony Xperia P, U, Sola, Go] Little Zed:
Will try :D

EDIT: Still status 6.. :| I should dead now.. :( Thanks for your help bro. But the ICS isn't booting. Please somebody attach META-INF for CM ROMs if you can boot.

---------- Post added at 06:31 PM ---------- Previous post was at 06:28 PM ----------

I'll try to upload.. I have no adb connection problem with PC on Bootmenu.. You can make mke2fs easily on BootMenu's adb connection! High five!
[Sony Xperia P, U, Sola, Go] DaniPhii:
I tried, but didn't work. This is weird. :confused:
[Sony Xperia P, U, Sola, Go] AGONTUK:
Nothing I can do :|. ADB connection is a must. Check your drivers.

Give me your updater-script
[Sony Xperia P, U, Sola, Go] ale467:
I have only adb-tools folder on C:\

Seems that I've not driver installed.. from where can I download them?

EDIT: Okay, downloading!

Yeah, installed and ADB from bootmenu is perfectly working! :victory:

EDIT 2:

A lot of thanks [MENTION=5138693]NoobCoder[/MENTION]!

Partitions created succesfully :victory:
[Sony Xperia P, U, Sola, Go] Penacal:
I have problems with music files too in the second rom, they get corrupt some how:(
[Sony Xperia P, U, Sola, Go] DaniPhii:
When I boot second ROM, Apollo doesn't find my music files.

When I boot first ROM after, Sony Walkman's downloaded metadata are corrupted and I have to download music info again. :(

What can be happening? [MENTION=4120742]munjeni[/MENTION], [MENTION=5138693]NoobCoder[/MENTION], what do you think? Should we change or add some lines more in files of second ROM's initrd.gz? Should we format our internal storage before partitioning maybe? I'm running out of ideas. :?
[Sony Xperia P, U, Sola, Go] ale467:
[MENTION=4951087]Little Zed[/MENTION]

How do you unpacked ramdisk from CM9 boot.img? OP metod didn't work for me

Can you share your modified ramdisk? Because I want to dual boot stock ICS and CM9 :good:
[Sony Xperia P, U, Sola, Go] Little Zed:
Attached it now bro... but I didn't use updater-script as .txt format.. Just to upload here.. :D
[MENTION=5138693]NoobCoder[/MENTION]
[Sony Xperia P, U, Sola, Go] Little Zed:
Uploaded.. I unpack ramdisk and already edited initrd.gz with OP method... Maybe you have something wrong with your PC.. :D
[Sony Xperia P, U, Sola, Go] ale467:
Thanks a million... now need to be edited only updater-script from CM9, right?

PS: Bro, are you using CM9 by FXP or Slim CM by elia222???
[Sony Xperia P, U, Sola, Go] Little Zed:
No need.. We need to work out each other to get best results!! I'm trying to boot SlimCM but stucking in flashing ROM. If you can flash ROM using my initrd.gz, please upload your META-INT folder! :D I'm thinking about that issues..
[Sony Xperia P, U, Sola, Go] ale467:
WIll try to flash now!

So, I have to flash rom without edit anyrhing in the zip?
[Sony Xperia P, U, Sola, Go] Little Zed:
No No!! You have to edit updater-script in order to boot second ROM!! Read the OP well.
[Sony Xperia P, U, Sola, Go] AGONTUK:
Bro this isn't kernel problem I am pretty sure. I have no problems in both ICS and CM 10.1

While flashing, it gives status 6 error or status 7 error? Please confirm.
[Sony Xperia P, U, Sola, Go] ale467:
Modified zip copied to sdcard. Going to try to install rom!

EDIT: I got status 7 error!

[MENTION=5138693]NoobCoder[/MENTION]

Bro, I want tro try also CM10.1... can you share your bootmenu's rom folder? Thanks.
[Sony Xperia P, U, Sola, Go] AGONTUK:
[MENTION=4951087]Little Zed[/MENTION]

For status 7 error, delete the first assert function from updater-script.
[Sony Xperia P, U, Sola, Go] ale467:
Okay, I've deleted the first assert function, tried to install but this time i got status 6 error.

And recovery can't mount or format /cache
[Sony Xperia P, U, Sola, Go] DaniPhii:
Then what can be the problem? Please, what size have your partitions got? How much free space has your storage got?

Thank you very much for your attention, really! :D
[Sony Xperia P, U, Sola, Go] AGONTUK:
use the initrd.gz I provided from here http://xdaforums.com/showpost.php?p=45350559&postcount=109. Read carefully and see if this works
[Sony Xperia P, U, Sola, Go] ale467:
It doesn't work... same status 6 error, recovery can't mount /cache too
[Sony Xperia P, U, Sola, Go] hmehta:
unable to create partition

im unable to execute

dd if=/dev/zero of=/storage/sdcard/partx/system.ext4 bs=4096 count=179200

no such file or directory error
[Sony Xperia P, U, Sola, Go] DaniPhii:
You haven't created "partx" directory with mkdir.
[Sony Xperia P, U, Sola, Go] AGONTUK:
I created 650MB system, 300MB data and 150MB cache.

Did you put your system, data, cache partitions to /sdcard/ICS folder ?

it's /storage/sdcard0 not /storage/sdcard I think
[Sony Xperia P, U, Sola, Go] ale467:
Do you mean ICS folder in bootmenu?

If yes, no, I didn't put there

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] AGONTUK:
No, i meant in /sdcard/ICS folder !!

Also see if you can mount system, data.
[Sony Xperia P, U, Sola, Go] Little Zed:
Nah. Already tried delete assert before you mention :( What would bebthe problem with status 6 error. Who knows :( Phew.

---------- Post added at 09:34 PM ---------- Previous post was at 09:31 PM ----------

On Jellybean is no problem with dual boot. :(
[Sony Xperia P, U, Sola, Go] ale467:
Moved them in this folder and recovery doesn't show any cache error :)

But when I try to install CM9 i have the same error (status 6).... I read that it's related to a manual-editing of updater-script ;)

Inviato dal mio ST25i con Tapatalk 2
[Sony Xperia P, U, Sola, Go] AGONTUK:
Finally some good news :good:. So you can mount all 3 partitions, right?

Give me the original updater-script for the rom you want to flash.
[Sony Xperia P, U, Sola, Go] Little Zed:
my initrd.gz is for /sdcard/cm9/ folder. :/ But I have status 6 still and I'm letting go of dreaming many ROMs to booted up :(
[Sony Xperia P, U, Sola, Go] hmehta:
error

i tried both combinations...

/storage/sdcard0

as well as

/storage/sdcard

both returned same error
[Sony Xperia P, U, Sola, Go] ale467:
[MENTION=5138693]NoobCoder[/MENTION] this is the original updater-script

I've changed to .txt extension to upload here :good:

PS: Bro can you share me updater script from CM10.1 (sdcard boot) and bootmenu CM10.1 folder? (initrd, Zimage)

Because I haven't time today :) thanks
[Sony Xperia P, U, Sola, Go] hmehta:
error

i had manually created "partx" directory in sdcard
[Sony Xperia P, U, Sola, Go] Little Zed:
For the Zimage, you can use one from CWM folder of OP. :)

---------- Post added at 10:14 PM ---------- Previous post was at 10:12 PM ----------

Got an idea. Since we can mount system on second kernel, we can manually push system files to /system via ADB. Then delete all the unneccessary lines from updater script and run symlink only on flash zip. Then we can boot to second ROM ;)
[Sony Xperia P, U, Sola, Go] AGONTUK:
If you're using my initrd.gz from the post then you need to move the 3 partitions (ext4) in /sdcard/ICS folder.

maybe you don't have storage folder. Just try with /sdcard/partx/......

try this. If it doesn't work, I'm officially run out of ideas :|
[LG Optimus 3D] troopii:
closed here
[LG Optimus 3D] Zhaxos:
Thanks for your job! ;)

When my phone will come back to me, i'll be happy to try your app. :)
[LG Optimus 3D] bether:
Very nice app :)

Can you change menu fonts with borders?

Is disappearing on screen for now.
[LG Optimus 3D] troopii:
thx ;D

i removed the menu fonts and used the button text.

i hope you like it :D
[LG Optimus 3D] bether:
Excelent work!

Would be good to see link to stock gallery on the main screen.

You could add 16/9 size of pictures.
[LG Optimus 3D] troopii:
I Will add it tomorrow. It suck much always closing the app .

Thx for feedback
[LG Optimus 3D] Zhaxos:
Yeah, it should be good have 2D cam couse we could replace stock Cam App with your. ;)

Can you add frontal camera?
[LG Optimus 3D] troopii:
yes its possible, but i dont know if i can do it bevor my holiday.

because front cam doesnt support all modes added to backcams.

adding back cam for 2d ist not a big part, all modes are the same.

but after holiday i have enough time ;D
[LG Optimus 3D] Zhaxos:
Good! :)

By the way, you should work on the graphic of this app... :rolleyes:

Maybe you can make it in holo style.

If you want, i can provide to you some icons. :)
[LG Optimus 3D] troopii:
i'm not very interested in graphic, more technical parts ;D

feel free to provied some icons ;D credits are yours :good:

i dont understand what you mean with holo style. cause style is set to holo.noactionbar.fullscreen.

pls show me an small example.
[LG Optimus 3D] Zhaxos:
I'm tolking about graphic holo of ICS/JB. XD

You can make the graphic like ICS themed.

I mean this. LOL
[LG Optimus 3D] troopii:
Kk. You mean black actionbar and white background. I changed background to black because i dont like white. But its possible to do more different themes
[LG Optimus 3D] troopii:
Found 2 bugs. When app starts real3d shows sidebyside. Can be fixed switching to 2d and back to 3d.

When switching between 2d/3d zoom is not reseted.

Fixing this today

fixed

waiting for the icons :laugh:
[LG Optimus 3D] Zhaxos:
Ok, give me a week. ;)
[LG Optimus 3D] INinja_Grinding:
Perfect!

Perfect app, thank you!
[LG Optimus 3D] troopii:
you have 2 weeks :D

on monday im on holyday for 2 weeks.
[LG Optimus 3D] Zhaxos:
Ok. ;)

I wish you happy holidays! :)
[LG Optimus 3D] bether:
Happy holidays :)

But first you could add 16/9 size or crop option :)
[LG Optimus 3D] Zhaxos:
Here some icons to replace the actually ones. ;)
[LG Optimus 3D] troopii:
thx, update comes in a few mins with new icons.:good:
[LG Optimus 3D] Zhaxos:
I hope you like it.

If you need more icons tell me. ;)
[LG Optimus 3D] troopii:
they look great ;D

yes need 3 more.

thx, next version will have it
[LG Optimus 3D] bether:
Super!!!

But I think that auto exposure mode was little bit better in v1.4 than in v1.5 -v1.8

Why?

You can add reset mode for manual settings :)
[LG Optimus 3D] troopii:
dont know why it was better in 1.4, didnt changed there anything, i touched only storing the preferences.

but i had already planed to rewrite the howl part.

you can switch back to default when changing the cam. can be the same mode(2d to 2d)
[LG Optimus 3D] bether:
Thanks for explain the way of the "default settings".

Anyway nice will be to see 16/9 mode, because size choose mode doesn't give 16/9 for us :(

And touch focus without make photo, eg. for lock focus.
[LG Optimus 3D] troopii:
dont know yet how it can be done 16/9 for 3d.

already tried to set it to the parameters but it crash the cam :(

there musst be somthing like media_profiles.xml for video recording.

if not we had to extend the camerhal.

what i have seen lg didnt add anything to the source. so asop camerhal is all what need to change/extend.

im dreaming for a focus mode like a true camera and to control the shutter speed. but this is a far goal, if its not impossible ;D

this app should show whats already possible.

i will improve touch to focus after holiday.

already have a idea. manual sizes of focus and weight of exposure
[LG Optimus 3D] troopii:
Notes to me:

Change 3d preview to 2d cause of to much of heavy light. Its getting dark on sun. 2D is much more brighter.

Change manual exposure to 125 cause it works. Also on -125?

Change red text mode feedback to another color. Cause its not good to read on sun.

Make changes to 3d cam when app starts paraplex barrier get not activated and shows preview sidebyside. Will add a switch to toggle between 2d/3d. But pictures will be 3d.

Reorder options to show first manual modes. Cause i used them more.

I love the beach

See you soon
[LG Optimus 3D] troopii:
Need to know if downscaling(4096x1536 to 2048x1536) on 3d only happens on v30b, v30a and if it happens too on su760 and p925.

Pls responde, have a answer from lg. Thx
[LG Optimus 3D] bether:
[MENTION=5128617]troopii[/MENTION] can you help to do parallel barrier preview for dzo's snap camera?

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

Would be great :)
[LG Optimus 3D] troopii:
yes sure i attached the changed GLRootView.smali.

but now it works only with the dual camera ;D
[LG Optimus 3D] dreccon:
Is it in your plans to make this work on CM10 in the future? Is it even possible? That's where we really need to activate the parallax barrier!

Sent from the 3rd dimension!
[LG Optimus 3D] troopii:
I dont think that the reald3d is added to cm10, because lg didnt release the source yet.

as far i know, the parallax barrier can be activated, but there is no native code to access and draw on it. so its useless.
[LG Optimus 3D] bether:
Added 16/9 cropping on 3d mode is very cool but unfortunatelly is lost exif data on edited images :(
[LG Optimus 3D] krija:
FC after shutter sound :(
[LG Optimus 3D] troopii:
yes i know, need to write my own exif parser, cause the build in ExifInterface can read only from filepath... but i dont want to save ther orginal image to sd because i need only the exifdata and have to delete it after. lol

wich settings you used? 3d and crOp? did you take allot of photos behind?

for me it crashes always when my phone ist connected as usb device and sd is not mounted

try to clear the app cache. if that not works i need a better error description.

found the bug, it happens only when focus mode is set to auto and taking a fast sequenz of images.

hmpf getting funny to fix it...

fixed it will later upload a new version

latest version is here with fix

https://github.com/troop/FreeDCam/tree/master/out/production/FreeDCam
[LG Optimus 3D] krija:
Troopi, same issues with fixed version :( . Here is my last logcat.
[LG Optimus 3D] bether:
Can you compile snap camera for me?

THX
[LG Optimus 3D] troopii:
hm strange one, looks like you have a different mount from the sdcard, my look like this /mnt/sdcard/DCIM/FreeCam/%d.

I have hardcoded the string, but i will make it more flexible so the right mount will used.

try the latest version on github, but dont wonder about the strange autofocus mode^^

if it crash again pls attach again the log and pls clear log before taking a picture.

already deleted the stuff sorry. in the zip ist glsurface code for activating the barrier on 3.5.7

for decompiling do not decompile ressources or you are not able to rebuild it.
[LG Optimus 3D] bether:
What tool are you use for decompiling apk?

I use apktool and it decompile whole apk file and can't compile again :(

Is any other way to add/replace GLRootView.smali?
[LG Optimus 3D] troopii:
i used virtuoes ten studio for decompiling and building.

there is an option when creating an new project

but for apktool its also possible, append "apktool -r", --no-res

http://code.google.com/p/android-apktool/wiki/ApktoolOptions
[LG Optimus 3D] krija:
FCs continues. Here is only errors log. Btw, I noticed that i dont have the directory data/misc/camera.
[LG Optimus 3D] bether:
OK thanks for explain.

I had old version of apktool.

Newest package contain Quick-Baksmali.cmd and Quick-smali.cmd

edit:

OK I did it :)
[LG Optimus 3D] troopii:
sorry forgot to say: and pls set logcatoutput to debug :D

on git i released an new version maybe its fixed.

pls try also to deinstall the app and then install.
[LG Optimus 3D] krija:
latest doesnt work too.
[LG Optimus 3D] troopii:
its really strange. it gets the right mount

/mnt/sdcard/ = Environment.getExternalStorageDirectory()

hmm have you the folder /DCIM/FreeCam on your internal sdcard?
[LG Optimus 3D] krija:
no.
[LG Optimus 3D] troopii:
delted my FreeCam Folder and didnt backup my pics from holiday ;///

now it takes time to restore.....

try to create it manual. /DCIM/FreeCam/

then it should work. next version will check if folders exists and if not create it.

but first need to rescue my pics.
[LG Optimus 3D] krija:
good luck to restore, im sincerely sorry for what happened to you. and thank you very much, its finally work.
[LG Optimus 3D] troopii:
No problem. Thx for report and logs.

If you want you can delete your freecam folder and try it again with latest version on xda. Should work now. Have my pictures back but no exif data left...
[LG Optimus 3D] krija:
Latest version create freecam folder. Now work like a charm. Thank you.
[LG Optimus 3D] Eklovya:
Thanks for the 3D max orientation edit.

Really owe to you.

Sent from my LG OPTIMUS 3D MAX running on BEST ICS THUNDERSNAP V2.2 ( Donate Version ) with NO ISSUES and STABLE ICS.
[LG Optimus 3D] krija:
it´s me again :D

when i take a picture with the hw 3d button in v 2.2 i´ve noticed FC again. with v 2.1 everything works very well.
[LG Optimus 3D] troopii:
oh no :D

pls attach logs cant reproduce fc and there ist no change to 2.1
[LG Optimus 3D] krija:
I uninstall v2.2, than install v2.1, than uninstall this one and install again v2.2 and it works :)
[LG Optimus 3D] troopii:
i know whats caused the fc, i added a new setting, if you have the old app cache these setting is null when starting the app.

cause you removed the app the old cache also gets deleted and is rebuild on the first start and now the new setting is not null.
[LG Optimus 3D] Zhaxos:
Hi guys! ^_^

I saw our Optimus 3D with Snap Camera HDR, and our phone supports HDR! :D

See here! http://www.youtube.com/watch?v=AKdNZ9_belc

This video isn't mine.

So troopii, can you add HDR function to your app?
[LG Optimus 3D] bether:
Ha ha!

This video is mine :)
[LG Optimus 3D] Zhaxos:
LOL! :D

However, it would be great to have the HDR mode on this app. :)
[LG Optimus 3D] troopii:
its not hardware side hdr. only software, that means it takes 3 pictures(dark/normal/brighter).

maybe i can include it from aosp 4.1.2 cam. also want to include panorama view.

actually im working on video support. but its not much work left to finish it :D

you will see what happen :good:
[LG Optimus 3D] Zhaxos:
Hey, but if do you add 3D function to AOSP 4.1.2 Cam?

Like this app: http://www.mediafire.com/download/v9e9u7m49ve3lh9/HDR+3D+Mod+v2+by+Lemach.apk
[LG Optimus 3D] troopii:
i dont want to port the aosp cam,if i do this i have to rewrite alot of code cause its designed for a newer api version. i only take the code wich calculate the optimal exposure. So 3D will also work :D
[LG Optimus 3D] Zhaxos:
I see...

I hope you could to port the photosphere mode. :)
[LG Optimus 3D] troopii:
some preview of hdr is now in op "state of work" but its alpha state

i toke it from the focal cam of cm10

but you need a very very unshaking hand.

ok i know the trick. i have to activate the videostabilsation.

but now a new feature has appeared or i didnt notice earlier,

the set exposure >15 is only applied to the preview but not to the taken pictures.... :eek:

hmm that happens also with procapture.. so its not my code i think.

does that happen on other phones too, or is mine only f... up??

need feedback friends. this should happen on every version off freedcam and other Cams with manual exposure control!

How to check:

take a picture with manual exposure = 0

then set manual exposure = 15 take picture

then set manual exposure = 30 take picture

the last two images should have the same exposure, or the last image is not so exposured as the preview screen
[LG Optimus 3D] chokitodopoder:
Hello troopii!

First of all, thank you very much for your work. I know it's hard and takes a lot of time to do this, besides knowledge ofc.

I got your fix for ArcCamera to SU870. It fixed the upside down problem, but I've noticed it's reverting left/right cameras, so the 3D effect goes wrong. Can you fix it for us poor mortal men? :D
[LG Optimus 3D] krija:
on mine phone it is same.
[LG Optimus 3D] troopii:
Have you the problem also at preview or only on taken pictures?

hmm seem p920 related. on optimus 3d max its working. thx
[LG Optimus 3D] chokitodopoder:
I did the test, and on the taken picture it happens also. You can see right finger on the left camera. :laugh:

EDIT: I misunderstood your question. It happens on both, but I've noticed it first on the preview, right on the screen. If I move the phone slighty to any side, which would make the deepness wrong, it fixes it. That's when I noticed the problem.
[LG Optimus 3D] troopii:
I will later release a new version of freedcam. It should fix the left/right issue. If it works for you i can use that code also for your arccam.

ok here we go pls test this apk with upsidedown fix. when you set the upsidedown fix pls restart the app.

and ignore the hdr part, its not working and only crashs the app!
[LG Optimus 3D] chokitodopoder:
Thanks, man. I can't test it now cause I need phone at work, so I'm back to GB. But on the weekend I'll do it.
[LG Optimus 3D] troopii:
Its working for your preview. But does not affect the taken picture. Have no idea howto fix it for arccam the easy way.

Cause The Rotation is applied foreach camera and not for the complete dual camera. Thats why your saved pics are r/l and not l/r.

So its mirrored. I can fix it for freedcam while saving picture, spliting the image into Two parts and save it than l/r.

But for arccam its taking to much time for me Two write javacode and convert it to smalicode that i can add to arccam.

also i have to port first the smali imagesave code from arccam, to java bevor i can extend it.

sorry i will not spend that time on it for arccam but i will add it to freedcam.
[LG Optimus 3D] chokitodopoder:
NP, man. I really appreciate your efforts, time spent and explanations. You did much more than you had to, and for that I'm thankful. I'm having some sound issues with the rom, so I can't keep ICS installed and do as much tests as I wanted, neither the knowledge to. Anyway, congratz on your work and thanks.:)
[LG Optimus 3D] troopii:
One more thing, you can change r/l to l/r in the gallery too.

hit the menu button when you view the pic in fullscreen. in the menu select 3d format and change it to your needs.

but that not works for videos :p
[LG Optimus 3D] chokitodopoder:
Yeah, and I watch the videos and see the pictures on my TV, so to edit all manually is a pain. =/ But ty anyway. :)
[LG Optimus 3D] OptimusRs:
Damn :( who tech you java ?

Im learning but still cant do anything lol >_<
[LG Optimus 3D] troopii:
no one teached me java :)

i have learned c# from a book but they are very close.

but i know my coding style is not the best

its no coding problem but a logical problem.
[LG Optimus 3D] chokitodopoder:
Can't you check if the diff was != 0 at X or Y of the first and second shots on the first test and apply them to the new diffs?