MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.
Sign in to follow this  
Followers 0

[DEV] [ROM] MIUI for the Blade

70 posts in this topic

Posted (edited) · Report post

Just to let people know that it is possible to compile this for the blade as I "successfully" (it created the zip file at least...) compiled Miui Patchrom against GB_TELE2_P729VV1.0.0B03-Signed and CM7 Kang 12 Feb.

IMPORTANT: This is just an attempt and should not be flashed by anyone! I leave it as is cause I don't have the time this week to improve this. I am not a rom developer and have no experience with rom cooking, so I post it because maybe someone with experience can give this a shot.

I just followed the directions from the link posted here, all I did was dealing with the errors that I found along the way...

BUILDS

Stock Based Build

CM7 Based Build

STATE

  • Stock Based - Not Booting (Loops at COMVIQ Boot Logo)
  • CM7 Based - Not Booting (Loops at CM7 Boot Logo)

MY SETUP

DECOMPILE APK's and JAR's: I used these files to Decompile apks and jars (install apktool as usual and overwrite with these files at /usr/local/bin)

MY MICODE KITCHEN: I used these files to Build (included tools, build folder and my cm7 build directory) -> these folders are the ones you find inside the MiCode folder, you will need to copy the base CM7 Rom zip into the cm7 folder, I took it to reduce zip size.

FILES UP!

To use another rom you will need to edit the makefile to reflect your setup.

Any problem just ask, I'll try to help as much as I can.

NOTES

I had to modify the build scripts a bit because they where created for a samsung phone. There was an error related to a "twframework-res" wich is a samsung specific file for TouchWiz. Our blade as only the common "framework-res".

I also had to had to substitute the apktool with latest version and aapt from the latest android-sdk in order for it to compile.

When preparing files to the build process (Decompiling apks and jars...) I had to use a modified version of apktool for ICS that I found on XDA, the latest build of apktool would give me erros when decompiling some files. But I indeed used the latest apktool with the build script for the Compile process. I got some warnings and errors but it build the zip.

I used a Ubuntu 11.10 virtual machine and the process was quite fast.

We need our FANTASTIC Rom Devs to give it a Shot because I honestly don't have the knowledge to cook a rom with this.

Edited by KingsizeX
4

Share this post


Link to post
Share on other sites

Posted · Report post

You're using a 2GVMSPLIT kernel on a 3GVMSLIPT Rom.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

You're using a 2GVMSPLIT kernel on a 3GVMSLIPT Rom.

Hi! Thanks for the reply,

Ok, can you please help to solve the problem?

As I said I have poor understanding of Rom cooking. Should I replace the boot.img with one from Swedish Snow for example?

This Rom was really made out of the original zip file I referred before. Shouldn't it work?

I think I can learn something here :)

Edited by KingsizeX
0

Share this post


Link to post
Share on other sites

Posted · Report post

As I said I have poor understanding of Rom cooking.

So maybe it'd better to wait until you'll have better understanding? I can't see any arguments to share something what you completely don't understand and don't know what and how to do it at all.

2

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

CM7 is vmsplit3g right?

Here is cm7 vanilla kernel:

http://db.tt/um0PW34C

I'm in a hurry. Can't test.

Edit: Okay, i can now test it. Downloading atm.

Edit2: Okay, it's still not booting, but now it's not a bootloop, just simply stuck at bootsplash

Edited by Sulthekk
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Could you share the build script?

Edited by Maxsas360
0

Share this post


Link to post
Share on other sites

Posted · Report post

Could you share the build script?

And the actual blade directory that you used to build it?

0

Share this post


Link to post
Share on other sites

Posted · Report post

And I was wrong about the kernel. The kernel you were using was correct.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Its booted through for me, ive just got a black screen and a tonne of force closes, and logcat is spewing errors, the phone apk constantly force closes and logcat is saying waiting for service phone and there is also a lot of sqlite errors.

Edit: When I first flashed it without wiping data it did what I said above, now, when I wiped data and flashed it again and I've got no logcat and it bootloops, very strange :S

Edited by the_crevis
0

Share this post


Link to post
Share on other sites

Posted · Report post

I flashed it again over cm7, using launcher pro, it booted into it, but the systemiu has crashed and none of the system apps work apart from the browser which looked just like stock, and the phone.apk constantly force closes, the settings look just like standard gingerbread settings. I'm afraid it looks like this build really hasn't worked at all :(

0

Share this post


Link to post
Share on other sites

Posted · Report post

And the actual blade directory that you used to build it?

+1

0

Share this post


Link to post
Share on other sites

Posted · Report post

So maybe it'd better to wait until you'll have better understanding? I can't see any arguments to share something what you completely don't understand and don't know what and how to do it at all.

@docck - I share it because that's how things work here, you share, people debug, test, improve and make useful criticism.

If you can't understand that, just leave. Even if it does not work it does not mean it's not useful. What have you done to help? Whatever...

I'm done with you...

And now for all the interested people, I'll upload my blade build directory soon.

@tilal6991 - Thanks for the "2GVMSPLIT kernel on a 3GVMSLIPT Rom" comment, I investigated and now I know what the difference is :)

I also managed to build it against the latest CM7 Kang but it just loops the CM7 splash screen forever just like the Stock Rom build.

I have a few ideias for the future:

- Build the frameworks and integrate them in a clean rom build, maybe the build process is not including all the needed files or messing them up, that could explain the symptoms described by @the_crevis

- Rebuild the build script in order to create a more controllable build process and eliminate possible contamination from the sample script as it was created for a Samsung phone

- Now that two versions where built, one Stock Rom and another from CM7, I get the impression they both share the same problem as they get the same Splash Screen bootloop.

I'll tackle one problem at a time and see what I can come up with.

Next weekend I'll get into this as I have too much work till Friday. In a few minutes I'll share my build directory along with some tips. Just check first post in the next minutes.

Thanks all for you comments.

2

Share this post


Link to post
Share on other sites

Posted · Report post

I flashed it again over cm7, using launcher pro, it booted into it, but the systemiu has crashed and none of the system apps work apart from the browser which looked just like stock, and the phone.apk constantly force closes, the settings look just like standard gingerbread settings. I'm afraid it looks like this build really hasn't worked at all :(

Thanks for testing! Well I'll just put my build directory up so people can see what's wrong, I really didn't get into the output of the build process (had no time...). I've heard the same problems with builds for other phones... maybe soon Miui people will put out an english version of the manual and we can get further.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for testing! Well I'll just put my build directory up so people can see what's wrong, I really didn't get into the output of the build process (had no time...). I've heard the same problems with builds for other phones... maybe soon Miui people will put out an english version of the manual and we can get further.

Thank you for putting in the time to build it! ;) Yes, thank you, I would like to have a look at that, I heard them too so yes maybe we've just got wait for the English manual.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey guys any progress.....also now there is not Any problem like armv6 ...:)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hey guys any progress.....also now there is not Any problem like armv6 ...:)

I managed to build a bootable CM7 version but I get a lot Force Closes. There are some missing resources for what I can see on logcat during boot. I have no time now to get into it. Anyway... I could see Music, Messages and Theme Chooser after boot :) not much but it's a start.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I managed to build a bootable CM7 version but I get a lot Force Closes. There are some missing resources for what I can see on logcat during boot. I have no time now to get into it. Anyway... I could see Music, Messages and Theme Chooser after boot not much but it's a start.

okay bro, it's good to see some progress..I think we will have it in a week or so...anyway thanks for reply:rolleyes:

0

Share this post


Link to post
Share on other sites

Posted · Report post

I managed to build a bootable CM7 version but I get a lot Force Closes. There are some missing resources for what I can see on logcat during boot. I have no time now to get into it. Anyway... I could see Music, Messages and Theme Chooser after boot :) not much but it's a start.

can you post the build and the building directory please?

0

Share this post


Link to post
Share on other sites

Posted · Report post

To decompile JAR files just open with winrar lol.

0

Share this post


Link to post
Share on other sites

Posted · Report post

To decompile JAR files just open with winrar lol.

Decompile != unzip

When you decompile the files are de- compiled. That's the opposite of compilation, the files are converted from binary to human readable format.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Oh, you can still obtain the class files though. So it sorta is because you can read the class file name :3

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Decompile != unzip

When you decompile the files are de- compiled. That's the opposite of compilation, the files are converted from binary to human readable format.

Java doesn't generate binaries, it compiles into a code between source and binary, which will be compiled into binary instructions at runtime. That's why java apps are cross-platform.

Binary to human readable? What do you mean by human readable?! Binary can't be decompiled to original source. If there's need to modifiy binaries, you must learn assembly, but there's no real binary decompilation.

Edited by Sulthekk
0

Share this post


Link to post
Share on other sites

Posted · Report post

Java doesn't generate binaries, it compiles into a code between source and binary, which will be compiled into binary instructions at runtime. That's why java apps are cross-platform.

Binary to human readable? What do you mean by human readable?! Binary can't be decompiled to original source. If there's need to modifiy binaries, you must learn assembly, but there's no real binary decompilation.

You're baksmaling it not decompilng it. It still produces readable smali code.

0

Share this post


Link to post
Share on other sites

Posted · Report post

You're baksmaling it not decompilng it. It still produces readable smali code.

I was talking about that all the time: there's no real decompilation.

0

Share this post


Link to post
Share on other sites

Posted · Report post

I was talking about that all the time: there's no real decompilation.

Sorry quoted the wrong post :P

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.