micode / patchrom_miui Goto Github PK
View Code? Open in Web Editor NEWThe miui resources, apks, framework jars and the modified framework source code
Home Page: http://micode.net/forum-59-1.html
The miui resources, apks, framework jars and the modified framework source code
Home Page: http://micode.net/forum-59-1.html
Why are folders made in reject if there isn't any reject file in them? Its tedious to manually check 50 folders when 49 of them have nothing in them :o
Maybe delete the folder if contents is empty ?
While using fullscreen mode ,When we try to exit an app using back swipe only once it says "Tap again to exit app" whereas it should say "Swipe again to exit app".
On MIUIv6 Kitkat, this 2 apps wont let install or update apps from Google Play Market on various devices. like one plus one, Samsung Galaxy S5, HTC One M8. Please fix
Hope to solve the problem......
I'm getting this =>
build out/framework-miui-res.apk...
/home/sijav/patchrom/tools/apktool --quiet d -f /home/sijav/patchrom/miui/HDPI/system/framework/framework-miui-res.apk out/framework-miui-res
ls: cannot access overlay/framework-miui-res/res/[^v]: No such file or directory
ls: cannot access overlay/framework-miui-res/res/values: No such file or directory
/home/sijav/patchrom/tools/apktool --quiet b out/framework-miui-res out/framework-miui-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4606917418578351403.tmp, -x, -I, /home/sijav/apktool/framework/1.apk, -I, /home/sijav/apktool/framework/2.apk, -I, /home/sijav/apktool/framework/3.apk, -I, /home/sijav/apktool/framework/4.apk, -I, /home/sijav/apktool/framework/5.apk, -S, /home/sijav/patchrom/nypon/out/framework-miui-res/res, -M, /home/sijav/patchrom/nypon/out/framework-miui-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4606917418578351403.tmp, -x, -I, /home/sijav/apktool/framework/1.apk, -I, /home/sijav/apktool/framework/2.apk, -I, /home/sijav/apktool/framework/3.apk, -I, /home/sijav/apktool/framework/4.apk, -I, /home/sijav/apktool/framework/5.apk, -S, /home/sijav/patchrom/nypon/out/framework-miui-res/res, -M, /home/sijav/patchrom/nypon/out/framework-miui-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
res/drawable-hdpi/select_text_highlight.png:0: error: Resource entry select_text_highlight is already defined.
res/drawable-hdpi/select_text_highlight.9.png:0: Originally defined here.
res/drawable-xhdpi/select_text_highlight.png:0: error: Resource entry select_text_highlight is already defined.
res/drawable-xhdpi/select_text_highlight.9.png:0: Originally defined here.
make: *** [out/framework-miui-res.apk] Error 1
Do you build firmware for thias device from source with wiui changes like for mi one or change system with help of patchrom?
Hi)
Why do not you add to your applications translate other languages?
https://github.com/miuirussia/miui-v4-russian-translation It is translation It is the Russian translation for miui.
Please merge it and other lanuages in your parts of miui)
If you add back a lot of languages, you will be doubly grateful all planet)
Well. I have make the rom full work almostly, but there is still a bug with Install apps. After I run CleanMaster and make a clean , then reboot ,I couldn't install any apps , it shows memory is not enough.The way to reslove is to reboot the phone and delete the dir that the package install failed in data/data/ , and install again.
Hello.
I just noticed that MiuiPhone's english strings.xml file has duplicated strings like this:
<string name="answer_features_setting_category_miui">Answer settings</string>
<string name="answer_miui">Answer</string>
<string name="answer_miui">Answer</string>
<string name="answer_widget_dialog_title_miui">Select your answer gesture</string>
It is okay to delete one of duplicated entry and retain just one?
There is no way to increase the edge sensitivity of going back on full screen gestures. The ability to change it should be a normal thing from Android 10.
doga@doga-Inspiron-N5110 /media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/DogaOz_$ make fullota
build out/framework-miui-res.apk...
/media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/tools/apktool --quiet d -f /media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/miui/XHDPI/system/framework/framework-miui-res.apk out/framework-miui-res
ls: cannot access overlay/framework-miui-res/res/[^v]: No such file or directory
WARING[CHECK]: No xml file in overlay/framework-miui-res/res/values
/media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/tools/apktool --quiet b out/framework-miui-res out/framework-miui-res.apk
<<< build out/framework-miui-res.apk completed!
/media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/tools/apktool --quiet d -f /media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/miui/XHDPI/system/framework/services.jar out/services_miui
build out/services.jar...
/media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/tools/add_miui_smail.sh >/dev/null out/services_miui out/services
/media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/tools/apktool --quiet b out/services out/services.jar
[0,0] No enum const class org.jf.dexlib.AnnotationVisibility.BUİLD
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /media/doga/ddb7cb40-dcf0-4f1a-93e4-1cc10d761ea6/MIUI-4.1_2-JELLYBEAN/DogaOz_i9500/out/services/smali/com/android/server/ConnectivityService.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
make: ** [out/services.jar] Hata 1
应用源码不打算开源吗
Resource has Problem cannot bringup the device
Hello, any edits do not need under the MTK? you can collect?
How to port to mdpi device because it only has hdpi ,xhdpi and xhdpi resources in code
Just look at these errors!
http://paste.ubuntu.com/5759267/
Hope you can fix this in your next update ;-)
Please provide HDPI resources or at least provide a solution for devices under 320dpi
MIUISystemUI
values/strings.xml
<string name="status_bar_network_flow_today">Toady: %1$s</string>
<string name="status_bar_network_flow">"Toady: %1$s | Remain: %2$s"</string>
<string name="status_bar_network_flow_exceed">"Toady: %1$s | Exceeded: %2$s"</string>
Toady should be Today
LBESEC_MIUI.apk
<string name="HIPS_SecurityPrompt_ROOT_Step1">Do you wish to allow %1$d to get ROOT permission</string>
This force close the LBESEC App. Change the variable to %1$s
<string name="Privacy_App_TrustDialog_Content">MIUI will not ask your for confirmation of any security and privacy related operations from this App.</string>
your should be you
kitkat(Android 4.4.2) patchrom时,当ZygoteInit加载SecurityManager并加载libsechook.so,libsechook.so调用libutils.so后,出现signal 11异常,并直接崩溃,logcat文件地址:http://pan.baidu.com/share/link?shareid=1064563991&uk=2703971393
底包是我自己的LOSP ROM(在AOSP基础上仅仅添加了ROOT和CM的主题引擎)
the newest MIUI is not opensource
Originally posted by @peterpei1186861238 in #42 (comment)
Please update patchrom to Android 11
RT,用你们的GS2内测版试一试,各种UI问题惨不忍睹,难道就这样不理不问了么?源码修改或者再加一个分支不难吧?
miui.txt
Help me
Try to see this logcat and help me please (for fix bootloop)
卡开机动画,可能的原因是什么呢?具体logcat如下
which may cause boot issue?
E/dalvikvm( 1542): Out-of-order entry types: 0x410 then 0x410
E/dalvikvm( 1542): Trouble with item 697 @ offset 0x58f74
E/dalvikvm( 1542): Cross-item verify of section type 1003 failed
E/dalvikvm( 1542): ERROR: Byte swap + verify failed
E/dalvikvm( 1542): Optimization failed
W/dalvikvm( 1541): DexOpt: --- END 'telephony-common.jar' --- status=0xff00, process failed
E/dalvikvm( 1541): Unable to extract+optimize DEX from '/system/framework/telephony-common.jar'
E/dalvikvm( 1543): Out-of-order entry types: 0x8de then 0x8de
E/dalvikvm( 1543): Trouble with item 549 @ offset 0x7e61c
E/dalvikvm( 1543): Cross-item verify of section type 1003 failed
E/dalvikvm( 1543): ERROR: Byte swap + verify failed
E/dalvikvm( 1543): Optimization failed
W/dalvikvm( 1541): DexOpt: --- END 'services.jar' --- status=0xff00, process failed
E/dalvikvm( 1541): Unable to extract+optimize DEX from '/system/framework/services.jar'
error: RPC failed; result=18, HTTP code = 0
Here is the fix
http://stackoverflow.com/questions/17683295/git-bash-error-rpc-failed-result-18-htp-code-200b-1kib-s
https://confluence.atlassian.com/pages/viewpage.action?pageId=301663284
I want to get MIUI's framework source code but this project only got this version, which is updated three years ago. How could I get the newest version of MIUI's framework source code?
The link described in this repository (http://micode.net/forum-59-1.html) seems to be down.
Was it replaced by a new link? Or has it been abolished?
このレポジトリに記載されているリンク(http://micode.net/forum-59-1.html) はダウンしているようです。
それは新しいリンクに置換されましたか?もしくは廃止されてしまいましたか?
some apps cant get root access, like link2sd.
please update su
when try to recieve /make call
phone restart allways
You deleted the miui overlay :=) Without it, patchrom is useless.
It seems that the project was inactive for about 2 years, so it's a very outdated project.
What MIUI 8 version corresponds to the one that can be made by building this project?
Also, how can I obtain the sources for a specific MIUI version, such as MIUI 8 7.6.15 (global dev)?
To be honest, I would be happy with an .ipr file (for the mentioned version), but the sources also would be good.
this is 64bit binary
Libs for x86 are missing.
I'm building English Translations into the XML you provided using xml tools, but yet when converting.
I don't see
framework-res
framework-miui-res
downloadProviderUi
And thats all I remember. Were those XML sources not included?
有些OEM商在原机servicemanager中是加了自己的服务给特定UID的, 但v6直接替换了直接加载就会出错了, 能不能设计某种机制自动或者手动(配置文件)的读取allowed配置到内存中以解决这个问题?
Hello!
Sorry discuss this here, while I can not do recording on the Nexus S, but if I could do versions 2.3.x can you fix it?
So you guys did not test it yet I guess, make fullota crashes at some point:
/home/z25/patchromv542/tools/apktool --quiet d -t miui -f /home/z25/patchromv542/miui/XHDPI/system/app/Email.apk out/Email
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101045f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
make: *** [out/Email] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.