yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] mrinehart93:
Dec, do the MIUI guys even know how good you are? Maybe they think you're just some average guy and that's why they're holding the source from you?
[Hero CDMA Android Development] hicdub:
They must not keep up on any US development to have not heard of you guys!
[Hero CDMA Android Development] theimpaler747:
They probably don't want their rom out all over the place, I wouldn't unless I had time/oversight of the project.
[Hero CDMA Android Development] znewman99:
If they could get this working on the Motorola droid couldn't we get this to work on our heroes
[Hero CDMA Android Development] theimpaler747:
Not necessarily, the droid is better than the hero hardware-wise.
[Hero CDMA Android Development] Hackmodford:
I will this project to LIVE! ;)
[Hero CDMA Android Development] skndeep102:
+1

10 chars
[Hero CDMA Android Development] ASimmons:
I had a thought... if we cant port the rom then we could maybe port some or slot of the apps. The launcher would be nice but its very heavely integrated with the framework the dialer would also be awesome.

Was kinda figuring that miui would be of any help.

So what say you guys lets rip the apps apart.
[Hero CDMA Android Development] stayclean:
The file manager for the newest MIUI looks so nice.
[Hero CDMA Android Development] alexthearmo:
We can absolutely get this to work on our phones. Hardware is not an issue. The issue is that we don't have devs who have time to work on it. They are àll busy with their other roms.

I too wish we could get this project to live....but alas.
[Hero CDMA Android Development] ASimmons:
I havent done much on this because I've been busy, but I don't think any image shrinking will matter until we can get a compiled base and kernel.

I think after the first of the year well see more action I surely wont be as busy and yes I think the hero is more than capable of running this rom... its funny cause you think the eye candy means slower but I can't tell the difference on my evo.
[Hero CDMA Android Development] skndeep102:
I got the music app from a desire rom I'll post it in a little bit when I get to my computer

Maybe a thread in the themes and apps would make it easier to manage these files

Edit: Here it is. I had to adb push this to system/app, I didnt try in data though it might work.
[Hero CDMA Android Development] dean.d:
There is a flashable zip in the android app forum (or maybe somewhere else). I've had it for a few weeks now. Miren browser from the market is great too.
[Hero CDMA Android Development] alexthearmo:
I hear ya. Things always get crazy around this time of year. Maybe an app by app port is a good way for us to build a slow and steady momentum and interest...though I'm not quite sure how to port apps. Thanks to whoever posted the music apk! Ill check it out.

We can still do this. :)

By the way...I think after the first of the year everyone will be busy porting gingerbread ....which isn't bad....just different.
[Hero CDMA Android Development] skndeep102:
I did not know that but thanks I'll check it out. I used the miren browser for a little bit but I thought it was slow I went back to an old version of xscope
[Hero CDMA Android Development] alexthearmo:
I was just scouring the G1 forums. Check this. Looks like someone already ported a ton of the png images for MIUI to be mdpi: http://xdaforums.com/showthread.php?t=868690

Not sure how much of that can be used for the framework, or even just a theme. Maybe if we get a ton of apps ported and a theme, we can work on the framework later?
[Hero CDMA Android Development] theimpaler747:
Framework is the most important ;) :D
[Hero CDMA Android Development] alexthearmo:
Ya...but since none of the devs are able to take on porting this ROM, at least we can port some of the apps, as Asimmons suggested.
[Hero CDMA Android Development] :
Why port the apps before there is a usable framework? What if, hypotheticaly speaking, dev never comes to bear fruit, then the app ports were of no good and essentially a waste of time. Just my 2 cents...

----------

Sent from the XDA App on my FroYoed Sprint Hero
[Hero CDMA Android Development] alexthearmo:
I don't know if framework is necessary for all the apps. Someone posted the MIUI music app on the last page, and it installed and runs fine on my CM6.1. So maybe we could have the contacts, dialer, sms, email apps running fine on cm6.1 as well. I dunno. Does anyone know if this theory is flawed?
[Hero CDMA Android Development] Asadullah:
Maybe I'm misunderstanding his rom but is he saying that he ported the miui framework-res.apk? If so that is a start. I'm downloading it and the launcher from miui and see if I can get it to boot on cm6. It's a bad start but without the source it's the best we got.
[Hero CDMA Android Development] skndeep102:
I understood it as just porting the apps to run on whatever rom we're already running so you could have the miui dialer running on cyan or aosp. It would be essentially the same as running dialer one or launcher pro on the rom of your choice.
[Hero CDMA Android Development] alexthearmo:
You can try. That'd be great.

I'm pretty sure he's just saying that he replaced the CM6.1 framework-res PNGS with the ones from MIUI...essentially creating a MIUI theme. I could be wrong though.

Download them and give it a shot and let us know. Thanks so much!:D
[Hero CDMA Android Development] Asadullah:
Yeah just looked it's the same old framework-res.apk
[Hero CDMA Android Development] damiandarkwater:
Just so folk are aware you can use the MIUI music player.

This applies to the latest 2.2 Aosp rom. (Meaning I've only tried it on this particular rom, feel free to nandroid and try on others if it'll make you happy. It should be noted that I don't think the root capabilities esrongs file explorer has are functional in every rom.)

Download the apk posted a page or two back.

Download estrongs file explorer.

Set up root permissions in settings.

Mount.

"Cut" the MIUI apk.

"Paste" it in system/app.

Enjoy the MIUI Music player (:
[Hero CDMA Android Development] Asadullah:
Or just adb push it to /system/app
[Hero CDMA Android Development] damiandarkwater:
That is always another option. I mention the es file explorer method because it can be done without a computer. n.n
[Hero CDMA Android Development] dburg84:
any chance the dialer would work? has anyone tested it? I tried MMS a while back and it was no good.
[Hero CDMA Android Development] skndeep102:
I think that it would need to be ported for it to work.
[Hero CDMA Android Development] Hackmodford:
I would like the dialer more than anything
[Hero CDMA Android Development] andronut:
as alex said, there is simply not enough developers
[Hero CDMA Android Development] too.many.imails@gmail.com:
patience is a virtue... where there is a will, there is a way... its just the holidays... we'll get there... im not new with computers, dipped my feet a little in linux... not really any knowledge in programming, but just got ubuntu 10.10 setup and correctly installed the sdk/adb/eclipse/adt/kitchen... and now fixing to get my feet deeper in the water :D so... hopefully ill be able to help here pretty soon... hahahaha... there is always hope :D
[Hero CDMA Android Development] partytrikk:
I'm lost. I did what this says but it still won't install. what's next?
[Hero CDMA Android Development] alexthearmo:
After you pasted it to System/app did you click on the apk file so that it launches the installer? Or did you do that and it's saying install failed?
[Hero CDMA Android Development] partytrikk:
I did that and it said install failed.

but it just showed up in my app drawer after a reboot :)

thanks for the quick response!
[Hero CDMA Android Development] alexthearmo:
MIUI apps for porting

WARNING: these will not work with our ROMS, I'm posting them so we/devs/interested parties can work on porting them to work with our current ROMS

Ok guys! These are for those who expressed interest in porting one MIUI apk at a time to get working with our ROMS. Maybe this is a little less exuberant, and will be more do-able for the devs.

View attachment Browser.apk

View attachment Contacts.apk

View attachment Mms.apk

View attachment Phone.apk

Exuberant = extreme or excessive in degree, size, or extent. ;)
[Hero CDMA Android Development] stayclean:
Is the browser the same as the MIUI/Charming Browser (I'm assuming yes)? That already works on the Hero.
[Hero CDMA Android Development] alexthearmo:
really? Do you have a link? (Btw, I'm not sure if they are the same or not. I've never used an MIUI rom).
[Hero CDMA Android Development] stayclean:
http://xdaforums.com/showthread.php?t=840540

I believe there is a newer version of it in the ANdroid apps & games section, this was just the first one I saw.
[Hero CDMA Android Development] alexthearmo:
Oh...Miren is from the MIUI rom? I didn't know that! Thanks...you are right...it's available in the Market.
[Hero CDMA Android Development] alexthearmo:
Updated the OP so you guys know what's going on.
[Hero CDMA Android Development] znewman99:
Has anyone tried to look at the miui port for the motorola droid and see if we can port it from there
[Hero CDMA Android Development] andronut:
has anyone tried making something like this ???

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

if theres not enough devs, then somebody can port this. wouldnt it be easier?? it would just have no function,but thats where the apps come in. i guess you can say it is somewhat miui functional but with the looks.... :)
[Hero CDMA Android Development] alexthearmo:
Why would that be any easier? Do they have the same processor as us? Thanks for your input! :)
[Hero CDMA Android Development] alexthearmo:
That looks like it isn't quite a full fledged theme. In fact, it seems like it's just the icons.
[Hero CDMA Android Development] DJB628:
I don't seem to be having any luck with any of the CM6 Roms, I am coming from an AOSP Rom and would like to try the Mau5 Rom, but get constant reboots, a member mentioned maybe to flash the Rom, then reboot, then back into recovery then flash the Gapps, and see if that helps, I have tried different Kernels to no avail, any other suggestions, thanks in advance :confused:
[Hero CDMA Android Development] oostah:
You no this is not a working rom yet!
[Hero CDMA Android Development] alexthearmo:
Hi. This question should probably go in the QandA section or the CM6.1 thread...but I'll give you my two cents...after that, if you're still having problems, you should direct your efforts over to those two places.

My 2 cents: Download a rom of choice (check out cyanogens 6.1 stable...it's really good). Boot into recovery and do a nandroid of your current set up. Next, while still in backup, wipe your devices data and also wipe dalvik/cache. Now flash your new rom, and immediately after flash gapps. Click reboot now. This should work.

If you try this and you're still having problems, please direct your efforts to the QandA section or the CM6.1 thread. Thanks!
[Hero CDMA Android Development] znewman99:
Well there max frequency is 600 and ours is 768
[Hero CDMA Android Development] alexthearmo:
but is it the same type of processor? Arm6? That might open up new doors for us. :)
[Hero CDMA Android Development] il Duce:
just googled it, the droid came with arm cortex a8...
[Hero CDMA Android Development] alexthearmo:
So that does us no good. :( bummer.
[Hero CDMA Android Development] oostah:
I was on miui dev web site and they sound like they would be help full of porting this to the hero. I googled nihilism for hero cdma and found the miui browser 1.1 apk download. I could not get it to work. It was at wap.mobiles24.com download code 461669 if this will help. I haven't had time to mess with it much.
[Hero CDMA Android Development] skndeep102:
the miren browser in the market is the browser that miui uses
[Hero CDMA Android Development] L0cke:
The MIUI File Explorer would also be very handy. It looks pretty damn good - http://www.techcredo.com/android/th...reason-to-use-the-greatest-android-rom-around

EDIT: I got the .apk from the latest ROM and it installed fine, but just forced closed on me when trying to launch it. I assume it needs to be correctly modified to work on CM or other ROMs.
[Hero CDMA Android Development] dburg84:
Anyone find a ported dialer?
[Hero CDMA Android Development] DelsaDj:
I want to help you... I try to port on G1... so we can collaborate...
[Hero CDMA Android Development] alexthearmo:
awesome! How knowledgable are you when it comes to modding? Do you know how to port ROM's? Can you PM me and tell me where you would like to start and how we can help? Thanks!

-alex
[Hero CDMA Android Development] alexthearmo:
Updated the OP!

Good news: ehac1680 has taken on porting the pngs for two apks! Slowly but surely we could port this whole ROM! Anyone else feel like taking one or two apks?
[Hero CDMA Android Development] abadasstanker69:
I'd love to help but I'm still stuck trying to learn. I'm far from being able to help. I tried contacting aosp but he's way to busy with 2.3 I'm sure. If I could get a point in the right direction I'll get to work. All I've seen so far is help getting everything installed. Not much on what to do next.
[Hero CDMA Android Development] L0cke:
As the Music app and Browser (Mirren) already work on the Hero I guess that's 2 .apk's that have been ported, so they could be added to first post, as people don't need to work on those.

Can someone tell me what is involved in porting an apk? Is it just the images or .xml edits also? I am pretty good with most tools so can help, but not sure what to look for.
[Hero CDMA Android Development] alexthearmo:
Good idea...I'll add the music apk and the browser to the first post. Thanks for the idea.

Honestly, I'm not 100% sure what is involved in getting an apk to work on our hardware...but I'm assuming a lot of it has to do with the xml files. Whatever the case, we still need to get the pngs ported to mdpi. If you'd like to start on that, that'd be great. Just pick an apk or two that isn't already listed, and then let me know so I can update the first post.

Also, do you have any experience editing xml files?

I'm gonna take a hack at a couple apks today, since I finally have some free time. :) Nice that people are starting to jump in! I'm excited!
[Hero CDMA Android Development] Asadullah:
I'll probably be able to port something today. I'll do something simple and throw up a video on it so others can learn. It'll be about editing xmls and pngs
[Hero CDMA Android Development] L0cke:
Well, only basic stuff but I can find my way around most stuff. I'll have a look around and see what I can do. Will report back if I come up trumps with any of the apk's.
[Hero CDMA Android Development] alexthearmo:
That would be SUPER helpful! Most of us just know how to edit pngs and 9pngs...but that's it. I don't even know why apks won't work on our ROMs and what needs to be changed in order to get them to work...so if we had a good tutorial, that'd be really really awesome! Thanks so much!
[Hero CDMA Android Development] alexthearmo:
Also...could you please let me know which APKS you choose to port, so I can update the OP (so we don't have two people working on the same thing?) Thanks so much!

:D
[Hero CDMA Android Development] DannyBiker:
Like everybody else : I could help but can only work around with image files I guess. I don't anything about .xml or Android coding.

If you can point me a good tutorial, I'll see what I can do...:p
[Hero CDMA Android Development] alexthearmo:
Well...the image files need to be ported regardless, since they'll need to be mdpi for the apps even to work with our phones. Do you want to get started on that first, and hopefully asadullah will post a tutorial for us so we can learn how to edit the xmls.

I'll pm you the rom, and you can pick an apk or two that no one is working on, and then PM me back with which ones you will do, and I'll put it on the first post. What do you say?
[Hero CDMA Android Development] DannyBiker:
I'd give it a try but I really need to know which tools I need (Photoshop, that's it ?) and what I have to do with those .png. To which resolution should I convert them ?

I'll have time during the week to come.
[Hero CDMA Android Development] dburg84:
I believe the ratio is somewhere around 60 some percent?
[Hero CDMA Android Development] dean.d:
Most of the .pngs are going to be 66%. The .9 may be the same. What makes all this difficult with the resizes(especially the framework ) is that there isn't a comparison and just a youtube video for reference to where they are pulled to. Is any source available? Any hdpi at all, as long as it is source. Also can I get a link for the apks?
[Hero CDMA Android Development] alexthearmo:
I know...I was thinking as I started to look at all the 9.pngs in the mms apk, that I don't even know how the app is supposed to look and how the 9.pngs are supposed to stretch. It's going to be a guessing game. I'll PM you the rom...just let me know which apks you are thinking of taking on so I can update the first post.

Thanks! Check your inbox soon.
[Hero CDMA Android Development] L0cke:
I think 66% is a good guide for the resizing of standard png's.

For the 9.png's you can use apktool on the relevant apk. It will then decompile all files and images, including the 9.png's showing the outer markers. You can then mirror this into the resized mdpi versions using draw9patch.

That's what i've done for the FileExplorer.apk. All images are now mdpi. I just have no idea what .xml edits need to be made to get it to run. I guess Asadullah can help with that though when he posts his guide.
[Hero CDMA Android Development] DannyBiker:
Ok, I seriously need more info in order to help here. I will read the rest of the thread later but if you've got a link to some useful tutorials or post, I'd take it !

What are those "9" everybody is talking about ?

Could Theme-Porter be of any help ?

EDIT : I'll work on this for a Magic port by the way.
[Hero CDMA Android Development] alexthearmo:
Wow! You're fast! I've never used apk tool...I usually just open up the apk's as zip files and then edit the images, and drop them back in using 7zip. So you're already done doing the fileexplorer.apk images? I'll add that to the first post! You're the man. I'm making sure to include names of who does what so the community can know who to thank. :) If you want to do any more, please let me know.

Also...could you pm me the updated images or email them to me? PM me por favor. :)
[Hero CDMA Android Development] L0cke:
PM with images sent. There weren't too many in this apk, that's why I thought it'd be a good choice for a first port. But all done, just looking into the final stages now to get it working.
[Hero CDMA Android Development] DannyBiker:
Are you guys using an automatic resizing tool ?
[Hero CDMA Android Development] alexthearmo:
Dude...you're the man! :D
[Hero CDMA Android Development] alexthearmo:
hey danny. i think we're all using different methods. I'm still trying to figure out what works best. Some of this stuff is just so unnecesarily complicated! :eek:

Let us know how we can help you.
[Hero CDMA Android Development] dean.d:
Everyone resizing images on windows needs to look up and download clone power toys. There is an image resizer that does batch resizing and works on .9's as well. it will preserve the patch work. Some images that need to be 25x25 will end up 25x24 but they will work just the same.

Edit: Also, is there a video of the email application? As far as I can tell, it is pulled from cm6. Images are the same, most of the xmls are identical not only by name but when decompiled as well. I think we need to identify the apps that are miui specific and those that were pulled to complete the port.
[Hero CDMA Android Development] Asadullah:
Finally got some time to work on this HEREis a link to image resizer. I'm gonna try it here in a sec and get going. I'm gonna do the easiest one for the video yes the calculator :D it'll also give me a chance to familiarize myself with the image resizer.
[Hero CDMA Android Development] dean.d:
This works by "right clicking" and select "Resize Images". You have to click "Custom" setting and type the dimensions so make sure if you do batch resizing that you only select images that are the same size.

i.e. x amount of images sizes=35x35 / resized 25x25

Absolutely no need the re-patch .9.pngs. I've used this on MANY theme ports so I can confirm this.

Maybe alsimmons can incorporate this into his theme injector.
[Hero CDMA Android Development] Asadullah:
I like it it's real real real simple good find
[Hero CDMA Android Development] alexthearmo:
Awesome! I just got home. I'm gonna check this out tomorrow. Thanks for an awesome find. This should make the process so much easier...probably just about anyone who wants to help can now help us port the pngs, right? :D This will really speed things up!
[Hero CDMA Android Development] Asadullah:
I just made a quick video I'm having sound problems but I wanted to put this up soon to be replaced with a more indepth video
[Hero CDMA Android Development] alexthearmo:
Thanks! The more in depth the better, so I look forward to the in depth one. :D
[Hero CDMA Android Development] alexthearmo:
So you're making each file 66% of the original size? Is that correct?

For anyone who wants to help...download the image resizer that dean.d and asadullah posted, pick an apk (and tell me which one!) and then check out the images in the RES folder of the apk. Find out the size of the image (if it's 48 x 48) then multiply each number by .66 This will give you the correct size to change the image to. I hope that makes sense!
[Hero CDMA Android Development] Asadullah:
here is the not so good video. Calculator.apk is done by the way it's just the stock calculator with a new icon
[Hero CDMA Android Development] alexthearmo:
awesome! can you PM me the apk as well as your gchat? Thanks man! I'll update the first post.
[Hero CDMA Android Development] Asadullah:
Okay I made a better video. I'm uploading now my internet is messing up I gotta reset the linksy router or something. Thank using some other network which is really slow. Actually I didn't do anything to the calculator.apk it's already to go straight from the miui.zip.
[Hero CDMA Android Development] alexthearmo:
really? Do you think the other apks will work too straight from the zip? Why didn't the calculator need anything changed? Gchat por favor? :)
[Hero CDMA Android Development] Asadullah:
New video here
[Hero CDMA Android Development] Asadullah:
My wifi is back don't know why how long or what but it's here. Anyways I just started to poke around file manager just to check it out so when I first tried to install it no mods at all and it said failed no signature ???? So I resigned it installed it and although got a success it's not showing up. I decompiled it and found no links to any other apks shared uid or anything. I guess what i'm saying is anyone else having this problem?
[Hero CDMA Android Development] DannyBiker:
Okay alexthearmo, I'll start working on the "Bluetooths" apk. First one on the list...

Thanks for the program and the tutorial.;)
[Hero CDMA Android Development] L0cke:
I tried FileManager with no png's resized first of all, just straight from the ROM and yes it needed signing, but it installed fine. It showed in my App Drawer, but when opening it, it FC on me right away.

Even with all the png's ported to mdpi it does the same, so there's something causing it not to run. I wouldn't think it's an app depended on the framework so not sure at this stage.
[Hero CDMA Android Development] DannyBiker:
Yeah, I'm pretty sure resizing the .png won't do the trick on its own. I've already read several topics were people attempted this with no success.

Here, for example : http://xdaforums.com/showthread.php?t=794871

They gave up apparently...
[Hero CDMA Android Development] dean.d:
logcat will point you to the errors. You need to fix what is in the logcat.
[Hero CDMA Android Development] L0cke:
Yeah, am planning on looking at that.