• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      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 softwareNintendo 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 contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      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 / suspension / ban.

[ROM][4.4.] MIUI v5 (Android 4.1.2)

276 posts in this topic

Posted · Report post

Akkuidő nem rosszabb, mint a stock-é, az újraindulás meg csak annyira jellemző, mint a cm10-re, tehát elenyésző.

Fent van! szép nagyon :) de az sd kártyámat miért nem látja vajon ?
0

Share this post


Link to post
Share on other sites

Posted · Report post

Fent van! szép nagyon :) de az sd kártyámat miért nem látja vajon ?

Hát, ha reboot nem oldja meg, akkor sajnos arra nincs ötletem. :S

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hát, ha reboot nem oldja meg, akkor sajnos arra nincs ötletem. :S

Megoldódott! Meg kellett formáznom újra Fat rendszerre , így már látja :)
0

Share this post


Link to post
Share on other sites

Posted · Report post

This is an english speaking forum. It's extremely rude to hijack this thread for discussion on your native language and exclude everyone else!

1

Share this post


Link to post
Share on other sites

Posted · Report post

This is an english speaking forum. It's extremely rude to hijack this thread for discussion on your native language and exlude everyone else!

I'm so sorry!!!!
0

Share this post


Link to post
Share on other sites

Posted · Report post

the phone's internal storage to reach it?

0

Share this post


Link to post
Share on other sites

Posted · Report post

the phone's internal storage to reach it?

and google talk ?? :(
0

Share this post


Link to post
Share on other sites

Posted · Report post

and google talk ?? :(

Just install Hangouts from Play Store. ;)

1

Share this post


Link to post
Share on other sites

Posted · Report post

Just install Hangouts from Play Store. ;)

Never!! gtalk maybe ?:)
0

Share this post


Link to post
Share on other sites

Posted · Report post

Never!! gtalk maybe ? :)

they are the same thing i guess.

0

Share this post


Link to post
Share on other sites

Posted · Report post

they are the same thing i guess.

Hangouts is a sh..t
0

Share this post


Link to post
Share on other sites

Posted · Report post

the CM10 gapps good about it?

0

Share this post


Link to post
Share on other sites

Posted · Report post

the CM10 gapps good about it?

yessss working!
0

Share this post


Link to post
Share on other sites

Posted · Report post

and google talk ?? :(

Hangouts is the new Talk! Google Talk is deprecated.

the CM10 gapps good about it?

Does it have gapps linked in the first post? Does it say install gapps in the installation instructions in the second post?

Please don't spam the forum with consecutive posts. Edit your post instead.

0

Share this post


Link to post
Share on other sites

Posted · Report post

KonstaT: Some apps in play store doesn't support this rom, even if I delete cache for the play app.

Same for you? What to do? Install gapps (if, which one)?

Example of apps: runkeeper, contacts+, sl, yr.no, västtrafik

Thanks for your work and support.

0

Share this post


Link to post
Share on other sites

Posted · Report post

KonstaT can you provide me information about the aapt and apktool.jar used in the MIUI rom, I'm having errors when compiling the frameworkmiui-res to add the portuguese language. I already have all the translations, just need to overcome the errors when compiling.

Appreciate the help, and thank you already.

0

Share this post


Link to post
Share on other sites

Posted · Report post

KonstaT: Some apps in play store doesn't support this rom, even if I delete cache for the play app.

Same for you? What to do? Install gapps (if, which one)?

Example of apps: runkeeper, contacts+, sl, yr.no, västtrafik

Thanks for your work and support.

Idk, I really haven't used this ROM.

Maybe you can edit /system/build.prop and modify the market fingerprint. It's a bit different than what it is in CM10. Or try Market Helper or similar apps.

KonstaT can you provide me information about the aapt and apktool.jar used in the MIUI rom, I'm having errors when compiling the frameworkmiui-res to add the portuguese language. I already have all the translations, just need to overcome the errors when compiling.

Appreciate the help, and thank you already.

Latest apktool version is 1.5.2. You can use the regular aapt that comes with Android SDK. I guess one of the most common mistakes is that you haven't installed framework.

If you want to add translations to MIUI, it basically means that you have to decompile/compile every system apk separately. It's a lot work...

0

Share this post


Link to post
Share on other sites

Posted · Report post

I have access to the files already translated is only a matter of add files and compile their applications again, most of it is done, and also framework-res already has several packages including several languages ​​including Portuguese, it was only a matter of add Portuguese language to frameworkmiui-res, I have also have translated the frameworkmiu.res in order to be able to select the language ... But I'm with errors while compiling.

Here is the log:

[*] C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res

recompiling C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res...

W: Could not find sources

I: Building resources...

invalid resource directory name: C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res\res/drawable-land-xxhdpi

invalid resource directory name: C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res\res/drawable-xxhdpi

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thiago\AppData\Local\Temp\APKTOOL3342387551214149770.tmp, -x, -I, C:\Users\Thiago\apktool\framework\1.apk, -S, C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res\res, -M, C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)

at brut.androlib.Androlib.buildResources(Androlib.java:269)

at brut.androlib.Androlib.build(Androlib.java:192)

at brut.androlib.Androlib.build(Androlib.java:174)

at brut.apktool.Main.cmdBuild(Main.java:188)

at brut.apktool.Main.main(Main.java:70)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Thiago\AppData\Local\Temp\APKTOOL3342387551214149770.tmp, -x, -I, C:\Users\Thiago\apktool\framework\1.apk, -S, C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res\res, -M, C:\Users\Thiago\Desktop\TranslateMIUI\_INPUT_APK\framework-miui-res\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)

... 6 more

Unable to open '_INPUT_APK\framework-miui-res\dist\framework-miui-res.apk' as zip archive

O sistema nÆo consegue localizar a unidade especificada.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

you have installed framework-res.apk from this rom??, just type "apktool if framework-res.apk"

The error list says that apktool doesnt find full hd resources from the location(our device doesnt have those files, coz we have hdpi screen) so you need get the framework from rom which is made for hdpi, but I am not sure about this,,,

And of course chack that you have those folders:

drawable-land-xxhdpi and drawable-xxhdpi

Edited by peetu20
0

Share this post


Link to post
Share on other sites

Posted · Report post

I have access to the files already translated is only a matter of add files and compile their applications again, most of it is done, and also framework-res already has several packages including several languages ​​including Portuguese, it was only a matter of add Portuguese language to frameworkmiui-res, I have also have translated the frameworkmiu.res in order to be able to select the language ... But I'm with errors while compiling.

Is that with the framework-miui-res.apk from the 3.6.7 build? I just decompiled it with the latest tools and I get:


invalid resource directory name: /home/xxxxx/android/tools/apktool/framework-miui-res/res/values-largeui-hdpi
invalid resource directory name: /home/xxxxx/android/tools/apktool/framework-miui-res/res/values-largeui-xhdpi
invalid resource directory name: /home/xxxxx/android/tools/apktool/framework-miui-res/res/drawable-largeui-xhdpi
invalid resource directory name: /home/xxxxx/android/tools/apktool/framework-miui-res/res/drawable-largeui-hdpi
[/CODE]

After removing those four directories it compiles just fine. You can safely remove any resources that are for bigger than hdpi (xhdpi, xxhdpi) devices. Those resources are not used in our device anyway.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yes is the frameworkmiui-res from 3.6.7 build, now could compile without errors but I'm stuck in the boot screen, no idea why ..

0

Share this post


Link to post
Share on other sites

Posted · Report post

Yes is the frameworkmiui-res from 3.6.7 build, now could compile without errors but I'm stuck in the boot screen, no idea why ..

Did you sign it? I have no idea what key they've used to sign MIUI so you might have to resign the whole ROM (most of the system apps excluding Google apps as well as the framework apks).

Easier, yet more hacky, way would be to move resources.arsc from the freshly compiled apk to the original framework-miui-res.apk.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Did you sign it? I have no idea what key they've used to sign MIUI so you might have to resign the whole ROM (most of the system apps excluding Google apps as well as the framework apks).

Easier, yet mory hacky, way would be to move resources.arsc from the freshly compiled apk to the original framework-miui-res.apk.

Theres no need to sign system apps, until AndroidManifest.xml has been modded. So we need just move AndroidManifest.xml and META-INF folder drom ORIGINAL apk to modded and it works fine.

Yes is the frameworkmiui-res from 3.6.7 build, now could compile without errors but I'm stuck in the boot screen, no idea why ..

Just move AndroidManifest.xml and META-INF folder drom ORIGINAL apk to modded and it works fine. Then flash/use adb. If you move apks with root explorer, you need to set right permissons for it(But propably ur phone reboots before you have set permissions :) , so use adb or zip) Edited by peetu20
0

Share this post


Link to post
Share on other sites

Posted · Report post

Theres no need to sign system apps, until AndroidManifest.xml has been modded. So we need just move AndroidManifest.xml and META-INF folder drom ORIGINAL apk to modded and it works fine.

Huh, wtf? That's not true at all. Of course system apps and framework need to be signed at all times. Compiling an apk with apktool leaves it with no signature what so ever! If there is an unsigned core apk (or a core apk with mismatching signature) system will always fail to boot with a clean install.

I guess you're just confused with signing an apk and there being a signature (that's what you're trying to fool with this method). Like I said, this method is very hacky and it should never be done when there are better options available (=signing the apk). And care to explain how is that different from moving the resources.arsc? ;)

0

Share this post


Link to post
Share on other sites

Posted · Report post

The framework's already compiled and signed, but I'm stuck in the boot again.

Also signed to the rom.zip file with the ZipSigner again when I put the framework's ...

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

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