[Q] Dev Request - Porting MIUI-Camera to CM7 - Nexus One Q&A, Help & Troubleshooting

Hi,
i just extracted the MIUIcamera.apk from the latest MIUI language pack and pushed it to /sytem/app. (see attachment) I changed permissions to rw-r-r and rebooted.
In fact it runs pretty well and looks great on CM7.
Unfortunately it force closes every now and then. Besides i cannot enable the image effects
The camera itself and the aspekt ratio fits better into the CM7 system as far as i am concerned. Moreover it harmonies a lot better with the gallery, because we'd have the full image on our display.
Can anybody port the camera to CM7 so that everything is working?

Anybody ??
Sent from my Nexus One

I'll jump on and also request this. It's a great camera.

Related

[Boot Animation] Boot and Shutdown Animations 12/20/10

*Update* 12/20/10: Mammon and a454nova have been kind enough to include my animations in their respective roms so I decided to update those to be generic "Android Froyo" animations so if anyone likes them on some other rom they can use them without confusion
I have the generic supernova up now, the bonsai animation will be up tomorrow as my computer is chugging away slimming down those pngs!
Hey everybody!
Now that we have some good, maturing Froyo ROMs I decided to make a couple of animations for the boot and shutdown processes, despite the fact that the rarity of restarting our phones usually means we're flashing a new ROM or we're having some serious problems!
Here is a boot animation I made for mammon's bonsai4all rom (since this is my daily driver) pretty much just made from some of the awesome wallpapers that he has included in his rom and a sound I mashed together.
Bonsai Boot Preview
Bonsai Generic Boot Preview
Bonsai Boot Sound Preview
Animation for a454nova's SUPERNOVA rom. The preview gif runs kinda poorly in browser (at least in mine)and may take up to 20 seconds to cycle, but the animation on the phone is like 10-12 seconds. Though I would like to, I haven't come up with a sound for this one. This 6 second limit really sucks!1
SuperNova Boot Preview
SuperNova Generic Preview
The shutdown is pretty generic, just wanted something a little more simple. And something with a slightly longer sound since powering down takes so long anyways and that is something of which we can actually extend the length, unlike the Power On sound.
Shutdown Preview
Shutdown Sound Preview
The .zips below are flashable through CWM. Generics are just "Android/Froyo" splash screens and the others are "ROM Name/ROM author" for those specific roms.
Instructions:
-Copy .zip to your SD card
-Flash through CWM like you would anything else
I have tested these on mammon's bonsai4all and that is all I have tried, though I assume (perhaps wrongly) that it should work on any kernel that supports custom animations as long as the boot animation runs from /system/media.
As for the usual disclaimer I am not responsible for anybody jacking up their phones by flashing these files. So flash these at your own risk.
That being said I hope you enjoy them!
Bonsai Boot
Bonsai Generic Boot
SuperNova Boot (No change to PowerOn sound)
Supernova Generic Boot (No change to PowerOn sound)
Epic Shutdown
Nice work, what program did you use of the text effects?
leatherneck6017 said:
Nice work, what program did you use of the text effects?
Click to expand...
Click to collapse
I *think* Flash is used. I'm sure I'll be corrected if I'm wrong.
leatherneck6017 said:
Nice work, what program did you use of the text effects?
Click to expand...
Click to collapse
+1
Would love to know how your doing this as well.
Awesome job on adding to the feel and look for Mammon's bonsai4all rom.
Sent from my SPH-D700 using XDA App
leatherneck6017 said:
Nice work, what program did you use of the text effects?
Click to expand...
Click to collapse
Thanks! The vector text was all made in adobe illustrator and compositing and fx were done in after effects. I am interested in learning flash though to see if it is quicker to produce a similar product but in a more streamlined fashion.
leatherneck, are you creating your animations at 30 fps? And what resolution are you running at? I feel like flash might be able to handle vector animation better than what I am using and wonder how it is handled in flash (i.e. can you render at any resolution you like or is it just Full, half, third or quarter of maximum)?
optmsprim2 said:
leatherneck, are you creating your animations at 30 fps? And what resolution are you running at? I feel like flash might be able to handle vector animation better than what I am using and wonder how it is handled in flash (i.e. can you render at any resolution you like or is it just Full, half, third or quarter of maximum)?
Click to expand...
Click to collapse
I have found the most success at 24 fps but setting desc.text to run at 96 fps. Using flash I am able to render at full 480 by 800. Flash can also output to png (1 png for each frame). If you want we could work together on creating a flash version.
Sent from my Emotionlessly Bonsai'd Epic 4g.
Awesome job, loving the new shutdown!!!!
I updated the OP with some generic splash screens for the animations for anybody using ROMs besides those two

[Release] HTC Sensation Wallpaper properly formatted for HD2 screen

Hi guys,
[Warning: This will be of interest to a very small ammount of OCD people. I am one of those people]
This is a small (very small) project I've been working on for the past few days. Let me give you some background:
When I first saw renders of the HTC Sensation, I thought "Damn, that's a sweet wallpaper. I want it bad." When the Sensation's ROM dump came out, I immediately applied the default Sense 3.0 wallpaper... and it looked terrible.
Let me explain: we all know the HD2's screen has a limitation in colors that makes most images look different. But also, if you're using a Sense-based ROM like I am, if you apply a wallpaper through the gallery there's no dithering applied to the image. That's a technical way of saying you get badass color banding. So not only were the Sensation wallpaper's colors completely off, it was banded very badly.
So, how to fix this? You move the wallpaper to HTC's default wallpaper folder. But if you apply an image through that folder as-is, it gets shrunk, so the image has to have a frame to display it properly.
So basically, after going back and forth between reference images of the Sensation, Photoshop Pro and my phone's screen, I have:
1. Properly framed the image so that, when it's moved into HTC's default wallpaper folder (System/Customize/Resource/htc_wallpaper_03.jpg) it displays properly
2. Tuned the image to suit our phone's resolution
3. Tweaked the colors so that they display on our phone's screens to closely mirror the colors displayed by the HTC Sensation with the same image. When you view this image on your computer, it will look wrong, but when you apply it through the HTC wallpaper gallery and compare it with reference images to the HTC Sensation it is almost a perfect copy. Believe me, I've spent hours on this because it bugged me so much. Give it a try and see for yourself.
So if you've made it this far, you're probably as detail oriented as me and wondering how to apply this correctly.
1. Download the file to your phone
2. Through a rooted file manager, cut the file and paste it into system/customize/resource, in the process overwriting HTC's third default wallpaper. Why? Because it's dog ugly.
3. On your homescreen, hit menu, Wallpaper, then HTC wallpapers. Scroll to the third wallpaper. The image in the gallery will still be the HTC default, but hit preview and apply it.
4. Enjoy!
It's not perfect, but it's the best we can do with the HD2's color limitations.
This file is free for everyone to use and devs can include it in ROMs if they want.
Cheers,
Zuka
You're right Zuka, that is anal (but I like you for it ) Sort of attention to detail that makes all the difference - good work Now, if you could just resize all of the Sense 3.0 widgets and fix the graphics glitches...
I wish I was that good, but I'm going to have to leave that to more capable minds. This wallpaper is my gift to all of those that saw the Sensation/Evo3D and thought they looked cool, though
quiet lovely
It looks great, I love it!!
I should say thanks!!
many thanks, i need!
My HD2 sure very nice.
great! many thanx!! it looks great!
I'm glad you guys like it, happy to have been a help. Should tide us over until the Sensation is out/becomes affordable. Consider it a transitional phase
great, I love Sensation
It looks great man !
it is just like in this thread http://forum.xda-developers.com/showthread.php?t=1033234
I hadn't actually seen that post before, but it looks like me and you came to the same conclusion - if you tweak saturations here and there you get a much better image on the HD2's panel
The difference was, you could write a program to do it, I had to spend hours and hours doing it by hand cause i can't
Do I have to flash with cwm. I'm sorry I'm new .
No no, you don't need to use CWM at all. Use a rooted file manager (RootExplorer is my favourite, you can find it on the market for three dollars) and place the HTC_wallpaper_03.jpg file into the folder "system/customize/resource", click ok to overwrite, then apply the wallpaper from the homescreen
zukа said:
I hadn't actually seen that post before, but it looks like me and you came to the same conclusion - if you tweak saturations here and there you get a much better image on the HD2's panel
The difference was, you could write a program to do it, I had to spend hours and hours doing it by hand cause i can't
Click to expand...
Click to collapse
ok.i can write a programm,actually i already wrote it.but i will no share it because i done it for whole rom and it is not complete because after applying programm on rom it have some glitches.but i can share version that do automatically processing pictures only whitout reenginering apk, if you want it of course.
Just in case somebody's using this wallpaper with a Gingerbread build, the dithering is automatically applied through the gallery in 2.3.
So you don't have to go through all of the copy and pasting to get it non-color banded, you can just apply it from your home screen or the gallery itself. Happy wallpapering.
You are appreciated!
Thank you BIG time, its aggravating these walls are not just made available to us...I lost my original default screen wallpaper on this unlocked T-mobile Sensation, (its a geometric linear thing that I just like & when it disappeared I tried call HTC, but they said they could not find it in their gallery & could not send it to me, (what, really!!?) That was a bite, then I rummaged all over Google & every Android community I could find for 2 days until some one took pity & posted it on xda. Spent hours last nite & today trying to crop it right because HTC's crop just butchers it tried paint.net crops & resize still looks lacking in some detail, even just now tried the phones camera shot of my laptop screen under a black throw to mute the glare(3rd attachment) will attache in case you have time/interest to help or in case you want send me a better one(?) (Last attached photo os from HTC Sensation 4G advertisement showing home screen)
This is very nice looking
thnxxxxxxxxxxxxxxx

[Q] Blured image in OpenCV apps on 2.2.2

I have problem with apps writen with android port of OpenCV. When I use camera preview, I have heavy blurred image which is useless for me (ANPR program). On CM7 rom (android 2.3.4) everything is ok (image is sharp and full of details). Resolution of preview is 640x480 and my app is based on CVCamera example from android OpenCV port. Same thing can be seen in "OpenCV" app from market.
Have you noticed similar thing? Is there any fix for that, other than using unofficial 2.3.4 ?

[Q] Background Quality is too bad

Hello,
I´ve got a small problem, i don´t want to use miui anymore and installed the Stock V20L. Every Picture has a bad quality when i set it as my qackground when you compare it to the miui Rom. Is possible to make the quality "miui-like" ?
Hopefully you know what i mean my english is not so good
Thanks in advance
Never used MIUI but perhaps posting some screenshots might help?
Sure, i think you can see the differince.
Had the same problem. Didn't manage to find a solution. It's got something to do with color depth. I can only add that the problem is consisted in multiple launchers including stock and LauncherPro
Hello,
don't use the gallery to set the backdrops.
Use "Wallpaper Set & Save" from the Market (it's for free).
Wallpapers will look as expected.
Frank
Looks like 16bit vs 24bit
It´s better, but not like the Miui Quality.. :/ i think this is a reason for me to install Miui
I see. You might want to install a custom kernel to get the higher color depth. I think Horsepower installs a 24bit color depth, if that's that Rusty thinks the issue is.
Yes, Rusty is right, it's a dither issue.
Also care to share what MIUI theme you're using?
I can upload it tomorrow but not exactly the same (other statusbar) i haven't got the mtz
Sent from my Optimus 2X using Tapatalk
HP kernel defaults to 16 right now tho, but you can easily change it by editing the bpp file in init.d
kfallz said:
HP kernel defaults to 16 right now tho, but you can easily change it by editing the bpp file in init.d
Click to expand...
Click to collapse
where and how to do that???
If you want the backgrond to be sharp, set the background with the app Crop Wallpaper and set bpp to 24/32. (Open system/etc/init.d/bpp file with Root Explorer and edit the "16")
Then you have a sharp, beautiful background.

[ROM].[JB].[XXLS7][PORT]TW MiniTab 5,3_v0,3 (support stopped)

UPDATE: Because of my full time schedule, support of this is stopped. There are currently other devs involved in Tablet UI and i am glad that they have time and do it better then me. Its time to stop for now. Thank to all of you that downloaded the ROM and if you liked it, i am glad. I am happy that i was the first one that shoved you the possibilities of TW roms with Tablet features, and i am also happy that there are people that see the Note1 as a device that deserves such UI and keep TW functionality - now we, that loved before Paranoid minitablet have now also the option of TW tablet.
Download links removed.
Follow XPERIACLE in his threads and probably he will reelase also a ROM based on Tablet.
-----------------------------------------------------------------------------------------------------------------------------------------------
This used to be a TouchWiz ROM with ported features from Samsung Tablets - they claim their tablets as real multitaskers, so we have here rom ported in Tablet style that perform almost the same multitasking features.
Tablets apps are more often better than phone apps, but some of the tablets can not make calls. Note is unique device, which can make calls and other smart things – it is still a Phone (a BIG one) but with all tablet apps, only than it can be a Phablet!!!
Now all ported apps from NOTE 10,1 - N8000 are from official JB
What you will get in this ROM:
XXLS7 Jelly Bean leak – thanks to Rupiah, Eybee1970, Philz, Bangsti and others
Full TW tablet interface what some of you might know if you own Samsung tablet.
MultiWindow feature with 5 options of Multiwindowed layout
MiniApps – as of v0,1/0,2 - they are not in present in v0,3 - but easily you can go back to miniapps when yoi like.
S planner ported from NOTE 10,1 official JB - offers some more functionality!!! Has its own miniapp
WebBrowser ported from NOTE 10,1
Contacts and better dialer from NOTE 10,1
Some more tablet apps....
Gallery with AirView from N10,1
Properly scaled Splanner here - thanks raj_ch2002 for helping out!!! - press him a thanks button, for good job and interest!
Little ROM preview here - thanks to hamdogg (hopefully he can manage one more preview with multiwindowing from the miniapp tray - and the main thing what i miss in the review - WINDOWS!!!)
CHANGE LOG: (more info in post2)
V 0,1 – initial release (preview purpose)
V 0,2 - full rom base on leak XXLS2. Expect the same performance.
V 0,3 - XXLS7 base, preview of windowed style of apps.
Flash metod – same way as any other JB leak. Kernel is Philz so no need to worry. Thanks to him!
Wipe Cache, Dalvik and data. (i usually also format SYSTEM on the top of wipe)
Please do not post in this thread which kernel is safe and what should you wipe. Please post bugs only if you FULL WIPED!!!
When the rom boots up, please open SuperSu app and let it update Su binary!!!
Caution!!!
Please head over to post3. I am not responsible if you brick you phone, you know that you do everything on your own risk.
So we learned what are miniapps in v0,1/v0,2 - in v0,3 they are not to used anymore, but they are still present!!! Miniapps is separate app with its own layout and "reduced" functionality in opposite to the main app!!!
For the future, samm will use probably some kind of "downscalling" for all of their apps in order to use the Main app in Ministyle! So we use stock app, just scaled down to "miniapp" dimensions. You can then revert to fullscreen or go back to mini! Some of you will like it, some of you might preffer old miniapps.
V0,3 uses in the miniapp tray option to choose 5 options, how the app will be handled in screen.
3rd party apps does not have official support for this thing - probably not yet It is easy to implement this function for the app developpers so i believe in the future they will include it in their apps. You might look here what is doing the trick!
1. Widnowed - option to resize, fulscreen and go back to mini.
2. Half to Half - you can also resize size of the apps when you use stock FlashBar feature. (you can not resize when the FlashBar is deleted)
3 + 4 are 2/1 layout - uselles i thing
5 - 4square layout - also too small for our screen
This feature comes from the Tab2-7 systemUi where samsung planned also for the leaked N10,1 JB this layout - but what i saw, they dropped this and left only windowed and half/half layout on official JB for N10,1.
So most usefull option might be Windowed style and half by half - which you can use the same way as on stock.
For the every app we can set the default size (displayed when you open it) and minimum size (smallest size you can downscale) So it is matter of choice how who like it so i ve done for the start and preview (have limited time for this) only:
Calculator, Gallery - modded default size as minumum - so it will open all the time at its minimum size stated!
Messaging - opens at stated default size and you can swype then to lover size!
Sory for more i had no time...
All other ported apps from N10,1 appear a bit bigger and can not be downscaled - yet. But some stock XXLS7 stock apps have this ability and are styled a bit smaller. So matter of time to style the default/minimum size of the app.
Here it is done: Dimension.xml
<dimen name="app_defaultsize_w">332.0dip</dimen>
<dimen name="app_defaultsize_h">460.0dip</dimen>
<dimen name="app_minimumsize_w">332.0dip</dimen>
<dimen name="app_minimumsize_h">460.0dip</dimen>
These dimension are used for Calculator and Gallery - you see the both are same default+minimum - that means default size ist the smallest one and you can resize. When you state default a bit bigger - app open bigger and you can downscale.
V0,3 changelog:
Apps from Official JB Note 10,1
Splanner - AirView fixed, NEW functionality - hover the dot of the stylus on the number of the day - Small Smemo note will pop up.
Calculator
Contacts and dialer Layout
Gallery - with AirView
Browser
Messaging
Myfiles
Snote - works as well but breaks some other functions so i kept the stock N1 Snote - i rechecked it and they both offers the same functionality.
Launcher ADW - this one is really great on JB.
All other apps kept - but remember, there are really uselles widgets and bloat that keep running, so clean up the rom as you like.
Email - kept the stock one for now cause works now with Contacts, and does not have the Copy/paste bug.
Fixes of XXLS7 - i did not followed threads, so this is the first base from Bangsti with no fixes at all.
This ROM come stock at 213dpi. You can not go 214 and more - you probably will loose some functionalities.
Base is Bangstis XXLS7 - stable base and better when you completely debload and keep only things you really need.
Found bugs v0,3:
Toggle for multiwindow missing.
MassStorage doesnt work.
Gallery - ported from N10,1 - works AirView, but take a write the photo with Spen FCs - (works only when you tweak B.prop to be as N8000 device.
Launcher is also from N10,1 - full tablet, but ADW is there - this is the best now to date, so keep that one.
In v0,3 is still the stock FlashBar and + the miniapptray...
Way how u use Multiwindow in v0,3.
You choose the way you are going to multiwindow in the miniapptray - open the tray, click the small 4squares icon and 5 options will roll out - choose side/side icon and you can all the time use the stock flashbar as u used on stock - swype an app to the part of the screen.
When you choose windowed style, stock multiwindow dont work then and all the apps will open in windows.
wow ... you mean in this room multi windows work like in gnote2 ?
Sent from my Galaxy Nexus using xda premium
This looks out of this world. I love it alrwady. I want it!!
noufalz said:
wow ... you mean in this room multi windows work like in gnote2 ?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
No, like in TAB2 tablet
also got multiwindow UI running from NOTE 10,1 but it wont be possible and not usefull for this screen size. Here we have WINDOWS like miniapps. will update 2nd and 3rd post.
Great news
I have Note 10.1 and love a lot of the features. And i love the Browser, this is great if it works with no probs. Cant wait for download link!
great! another wall gone down! :good:
Thanks, We are waiting........ F5 F5 F5
Cool..looks really promising...congrats and thx a lot for sharing airview fix!!!
Edit: i will flash as soon as available
Tried the airview fix on RR v1. It worked but Gallery was not starting anymore claiming it did not have enough space as well as could not save new Note anymore. My free sys space is 33 mb. Deleted the file from the etc/permission/ folder everything got back to normal. Any suggestion?
Inviato dal mio GT-N7000
ag69 said:
Tried the airview fix on RR v1. It worked but Gallery was not starting anymore claiming it did not have enough space as well as could not save new Note anymore. My free sys space is 33 mb. Deleted the file from the etc/permission/ folder everything got back to normal. Any suggestion?
Inviato dal mio GT-N7000
Click to expand...
Click to collapse
It's working great in My Device. just change the Permission according to the instructions and then restart you device.
after that wait for some time. and then open Gallery.
Is there a way to disable the on screen buttons please?
Quarmzz said:
Is there a way to disable the on screen buttons please?
Click to expand...
Click to collapse
Same here. Other than that, this looks too sweet. I cant imagine this on a newer JB build. Should be buttery smooth, especially considering the larger tabs come with the same cpu.
Disabling on screen buttons will loose miniapps feature.
Uploading too slow....sh...
Sent from my GT-N7000 using xda app-developers app
Quarmzz said:
Is there a way to disable the on screen buttons please?
Click to expand...
Click to collapse
There should be a line related with that in build.prop file.
It should be set as 0. If you make it 1 then they will disappear.
But i cannot remember the line, sorry
I need to sleep..
Quarmzz said:
Is there a way to disable the on screen buttons please?
Click to expand...
Click to collapse
qmenu.hw.mainkeys=0 [For enabling onscreen buttons]
qmenu.hw.mainkeys=1 [Disable]
Airview working for video but not Gallery...already push the file to system/etc/permissions/ - and change to rw-r-r- then reboot...
btw thanks for sharing....
no download links till now????
can't wait trying it!

Categories

Resources