Jump to content


Photo

[DEV] [ROM] MIUI for the Blade

* * * - - 8 votes

  • Please log in to reply
69 replies to this topic

#1
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)
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, 13 February 2012 - 03:31 PM.

  • 4
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#2
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
You're using a 2GVMSPLIT kernel on a 3GVMSLIPT Rom.

  • 0
If you like my work or if I helped, click the Plus button.

#3
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)

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, 13 February 2012 - 12:15 AM.

  • 0
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#4
docck

docck

    Regular

  • Members
  • PipPip
  • 77 posts
  • Gender:Male
  • Devices:zte libra + viewpad 10s

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

#5
Sulthekk

Sulthekk

    Addict

  • Members
  • PipPipPipPipPip
  • 619 posts
  • Devices:ZTE Blade
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, 13 February 2012 - 07:40 AM.

  • 0

#6
Maxsas360

Maxsas360

    Diehard

  • Members
  • PipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Behind ya
  • Devices:Samsung Galaxy S i9000
Could you share the build script?

Edited by Maxsas360, 13 February 2012 - 07:54 AM.

  • 0
Liked my help? Buy me a big nice cup of coffee. <form action="https://www.paypal.c...cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCAJh0w3bmkkajBrmWwiQIxRzGFNm1nlfGL/F1Lmom3FmN4NqsN42ZKNXlyDRbU8kPu9vd6W/tO4IFsPP8yDCtBqIwZydJErvyant7ACPXvEnzNkV34AJhqi6zH0LpQ9C758tDLZrhanj0dV7TDeMOZzdxwqH7zYkNuEBf/9aQC5DELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI143evERhoP6AgZifCV4AcwhAHCeF/uwRExEtJxtXNG4F0PuF5aYq6ChvwQC481+k6AC05c8oSkrAEe0Rp71RczJqaigmt724EY2zmgIIhB1QqQ0Xvvnz5jNyB0y8OUGM0s3haj82KIbF6XzhcXEl01pXwCKcXa0PdLBgxl8z9OHQdgUkZ5oWzX9My2mEXZHuhKo4sp5xgewMSLyBnTgfwlIyOKCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbTAeFw0wNDAyMTMxMDEz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BEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDIxNjA4NDU0M1owIwYJKoZIhvcNAQkEMRYEFJ25fzsYLoj2EGS92mXanoHkW5RoMA0GCSqGSIb3DQEBAQUABIGAGQ807a26kI/rzZE2YsDq0w5QEdbPWa9CSb5G5wYvSXH07DUrQCBTGblw5f2okbgOyodN6gE159rBmikWHz7TEsvG5eGi0vx9K0HR2muI0xolOF3d7al8iXEdcvR6GaCijcanlbz9d0dOChvqmeWBrCjiNzeE/pTcT92MU7Y44bc=-----END PKCS7-----
">
<input type="image" src="https://www.paypalob...onateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalob.../scr/pixel.gif" width="1" height="1">
</form>

#7
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150

Could you share the build script?

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

  • 0
If you like my work or if I helped, click the Plus button.

#8
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
And I was wrong about the kernel. The kernel you were using was correct.

  • 0
If you like my work or if I helped, click the Plus button.

#9
the_crevis

the_crevis

    Enthusiast

  • Members
  • PipPipPip
  • 286 posts
  • Gender:Male
  • Devices:LG Nexus 4, ZTE Crescent
  • Twitter:@the_crevis
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, 13 February 2012 - 12:26 PM.

  • 0
LG Nexus 4 (daily driver) - CM10.2
ZTE Crescent (backup) - CM9
ZTE Blade - Deceased
If I helped you at all then remember to hit that green up arrow! Posted Image

#10
the_crevis

the_crevis

    Enthusiast

  • Members
  • PipPipPip
  • 286 posts
  • Gender:Male
  • Devices:LG Nexus 4, ZTE Crescent
  • Twitter:@the_crevis
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
LG Nexus 4 (daily driver) - CM10.2
ZTE Crescent (backup) - CM9
ZTE Blade - Deceased
If I helped you at all then remember to hit that green up arrow! Posted Image

#11
the_crevis

the_crevis

    Enthusiast

  • Members
  • PipPipPip
  • 286 posts
  • Gender:Male
  • Devices:LG Nexus 4, ZTE Crescent
  • Twitter:@the_crevis

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


+1

  • 0
LG Nexus 4 (daily driver) - CM10.2
ZTE Crescent (backup) - CM9
ZTE Blade - Deceased
If I helped you at all then remember to hit that green up arrow! Posted Image

#12
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)

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
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#13
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)

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
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#14
the_crevis

the_crevis

    Enthusiast

  • Members
  • PipPipPip
  • 286 posts
  • Gender:Male
  • Devices:LG Nexus 4, ZTE Crescent
  • Twitter:@the_crevis

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
LG Nexus 4 (daily driver) - CM10.2
ZTE Crescent (backup) - CM9
ZTE Blade - Deceased
If I helped you at all then remember to hit that green up arrow! Posted Image

#15
kamal_saran

kamal_saran

    Regular

  • Members
  • PipPip
  • 67 posts
  • Devices:dell xcd35
Hey guys any progress.....also now there is not Any problem like armv6 ...:)

  • 0

#16
KingsizeX

KingsizeX

    Regular

  • Members
  • PipPip
  • 79 posts
  • Gender:Male
  • Devices:ZTE Libra (Sapo A5)

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
Android Device Log: HTC Magic PVT32A -> Acer Liquid A1 -> ZTE Libra (Sapo A5) - CM7.2 / Yarvik GoTab Zetta 9.7" (TAB468EUK) - CM10

#17
kamal_saran

kamal_saran

    Regular

  • Members
  • PipPip
  • 67 posts
  • Devices:dell xcd35

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

#18
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150

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
If you like my work or if I helped, click the Plus button.

#19
FrozenRealm

FrozenRealm

    Newbie

  • Members
  • Pip
  • 27 posts
To decompile JAR files just open with winrar lol.

  • 0

#20
brookergray

brookergray

    Diehard

  • Banned
  • PipPipPipPip
  • 458 posts

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users