[Q] MIUI.us missing android.hardware.screen.portrait - Huawei Ideos X5 U8800

Has anyone else run into the above issue?
I've seen it affect both a U8800 and a U8800-51.
Any help appreciated!

Getting this with MIUI 1.12.23 on i9100 also.

Should note that this is current stable MIUI.us version, and the error presents in a fairly ambiguous way, just shows up as an incompatible app in the Market, after a bit of digging by a friend, it turns out the error is related to the above call. APK works fine if installed in debug mode, but this is a pain as a) it means some stuff I have to use illegally and b) I can't just pick stuff off the Market that I know to be compatible - I have to dig around and try find the apk.

Related

[Q] Making app compatible with older Android version?

I'm new to the forums and a novice programmer but here's my question:
There's an app I'd like to run on my device for work. Per the play store, the app requires Android 2.3.3 and I'm running 2.2.2. I'm running the most recent version of a custom ROM on an outdated device so can't update my device's build.
I'm wondering if it's possible to tweak the app's source code and repackage it to make it run on my device. I have downloaded the .apk file and tried to install it on my phone and get a parsing error. So with the help of google I have managed to get into the source code using dex2jar and jd-gui. Problem is I don't know much about how apks are written. I found something in the 'accessibilityservice' area that seems to check the android build version, but as far as I can tell that is checking for whether the device is running ICS (if build >= 14) whereas the app is said to be compatible with older builds as well.
Anyway - how complicated would it be to port an app backwards so that I could run it on my phone? You should assume that I'm already in over my head.
Thanks.
petegw42 said:
I'm new to the forums and a novice programmer but here's my question:
There's an app I'd like to run on my device for work. Per the play store, the app requires Android 2.3.3 and I'm running 2.2.2. I'm running the most recent version of a custom ROM on an outdated device so can't update my device's build.
I'm wondering if it's possible to tweak the app's source code and repackage it to make it run on my device. I have downloaded the .apk file and tried to install it on my phone and get a parsing error. So with the help of google I have managed to get into the source code using dex2jar and jd-gui. Problem is I don't know much about how apks are written. I found something in the 'accessibilityservice' area that seems to check the android build version, but as far as I can tell that is checking for whether the device is running ICS (if build >= 14) whereas the app is said to be compatible with older builds as well.
Anyway - how complicated would it be to port an app backwards so that I could run it on my phone? You should assume that I'm already in over my head.
Thanks.
Click to expand...
Click to collapse
A LOT of things changed from pre-2.3 to 2.3 in Android, code-wise. It was a huge upgrade, and a lot of unsupported things were implemented.
It's set to run on 2.3.3 simply because it uses functions that only exist in 2.3.3 and higher.
So to backport it you'd need to get the source code, check what functions require 2.3.3 or higher, edit them to use other functions/write the code yourself. You can't just simply remove the code that checks what version of Android you're running. That won't do a damn thing.
The last part is the near impossible one, because you'd most likely have to write code that goes deep into the Android framework.
If i were you, i'd simply look for another app that can do what you need and doesn't require 2.3.3 or higher. Though there aren't many out there. Most people base their app on 2.3.3 because like 95% or higher use that version (or a higher one).
If you were to dive into this, you'd need extensive knowledge of Android, Java & backporting.
Though i'm not able to help with that, at least the backporting part.
Moonbloom said:
A LOT of things changed from pre-2.3 to 2.3 in Android, code-wise. It was a huge upgrade, and a lot of unsupported things were implemented.
It's set to run on 2.3.3 simply because it uses functions that only exist in 2.3.3 and higher.
So to backport it you'd need to get the source code, check what functions require 2.3.3 or higher, edit them to use other functions/write the code yourself. You can't just simply remove the code that checks what version of Android you're running. That won't do a damn thing.
The last part is the near impossible one, because you'd most likely have to write code that goes deep into the Android framework.
If i were you, i'd simply look for another app that can do what you need and doesn't require 2.3.3 or higher. Though there aren't many out there. Most people base their app on 2.3.3 because like 95% or higher use that version (or a higher one).
If you were to dive into this, you'd need extensive knowledge of Android, Java & backporting.
Though i'm not able to help with that, at least the backporting part.
Click to expand...
Click to collapse
Thanks for the very helpful information. I will definitely not be attempting this.
Most likely will be getting a newer phone in a few months when I'm due for an upgrade so it'll be a moot point. Until then, I'll get by.

[Q] Galaxy s4 I9505 with Google edition andriod

Hello guys, i just have a (few) question(s)
So, last week i installed Google Edition Andriod Kitkat 4.4.4 on my galaxy S4 I9505.
This rom is till now, still amazing, fast and better than touchwiz in any way. But i can't seem to find on the internet how and which version of xposed framework i need to install, since it is per model (i think?) which model do i choose?
since i have a Galay S4 but my rom is not from a galaxy S4, i get confused which one i have to install.
Some links to downloads would be great!
Thanks in advance
Dylan
dylanbos1996 said:
Hello guys, i just have a (few) question(s)
So, last week i installed Google Edition Andriod Kitkat 4.4.4 on my galaxy S4 I9505.
This rom is till now, still amazing, fast and better than touchwiz in any way. But i can't seem to find on the internet how and which version of xposed framework i need to install, since it is per model (i think?) which model do i choose?
since i have a Galay S4 but my rom is not from a galaxy S4, i get confused which one i have to install.
Some links to downloads would be great!
Thanks in advance
Dylan
Click to expand...
Click to collapse
Hi mate
Basically it works in any android 4.0 + base rom device see from one of his threads
For which devices/ROMs does it work?
I develop the Xposed framework based on the AOSP sources. I'm personally using CM10.2 on an I9100 (Samsung Galaxy S2, bought in Germany). Basically, it should work on any phone which with a ROM based on Android 4.0 or later and an ARM or x86 processor (this is the processor architecture, almost all smart phones and tablets have either of those). Exceptions might be ROMs which are different from the original Android code in some very internal, central code parts (which don't need to be touched for most theming and enhancement modifications). But this is related to the ROM, not the phone itself.
The modules target higher-level code, so they are more likely to be incompatible with your ROM. Basically, the question is whether the methods and resources which the module modifies are similar on your ROM and on the developer's ROM. Let's say a module needs to modify the result of a certain method call. For this, it needs to specify the exact name and parameters that identify that method. If the in your ROM, an additional parameter has been added, the module can't find the method anymore and won't work. If the method can still be found, it will probably work (unless the rest of the app/ROM has changed too much).
There is not definite answer whether it will work. Just try it (of course, making a nandroid backup before is never a bad idea). If it doesn't work, just disable the module. You might want to inform the module developer (not me!) about this fact and provide details (e.g. a logcat and/or the content of /data/data/de.robv.android.xposed.installer/log/debug.log).
Try with latest 2.6.1
http://forum.xda-developers.com/xposed/xposed-faq-issues-t2735540
http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053
Thank You!
MAX 404 said:
Hi mate
Basically it works in any android 4.0 + base rom device see from one of his threads
For which devices/ROMs does it work?
I develop the Xposed framework based on the AOSP sources. I'm personally using CM10.2 on an I9100 (Samsung Galaxy S2, bought in Germany). Basically, it should work on any phone which with a ROM based on Android 4.0 or later and an ARM or x86 processor (this is the processor architecture, almost all smart phones and tablets have either of those). Exceptions might be ROMs which are different from the original Android code in some very internal, central code parts (which don't need to be touched for most theming and enhancement modifications). But this is related to the ROM, not the phone itself.
The modules target higher-level code, so they are more likely to be incompatible with your ROM. Basically, the question is whether the methods and resources which the module modifies are similar on your ROM and on the developer's ROM. Let's say a module needs to modify the result of a certain method call. For this, it needs to specify the exact name and parameters that identify that method. If the in your ROM, an additional parameter has been added, the module can't find the method anymore and won't work. If the method can still be found, it will probably work (unless the rest of the app/ROM has changed too much).
There is not definite answer whether it will work. Just try it (of course, making a nandroid backup before is never a bad idea). If it doesn't work, just disable the module. You might want to inform the module developer (not me!) about this fact and provide details (e.g. a logcat and/or the content of /data/data/de.robv.android.xposed.installer/log/debug.log).
Try with latest 2.6.1
http://forum.xda-developers.com/xposed/xposed-faq-issues-t2735540
http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053
Click to expand...
Click to collapse
Thank you so much for your help. I think it is pretty clear for me now.
Dylan
dylanbos1996 said:
Thank you so much for your help. I think it is pretty clear for me now.
Dylan
Click to expand...
Click to collapse
Any time mate.

[Q] SM-N9108V (Chinese) Custom ROM options

Hello peoples!
First, allow me to kick myself for buying a Chinese phone. OUCH. There, moving on.
I have the Note 4 model SM-N9108V, Android v5.1.1, and it's been a complete nightmare to deal with it. (IT DOES NOT HAVE GOOGLE PLAY!) It seems this is the least common model out there on the internet. I have been able to find guides for all versions of the Note4, but for my version is very difficult.
After some brick scares, I was finally able to root my phone, install ClockworkMod Recovery and Open GApps. While it's "usable" now, some things still don't work. For example, The automatic Google Sync just does not work for some reason. I have to go on Settings and automatically click on everything to sync (calendar, contacts, etc).
So, I'm guessing my only option is to flash a custom ROM. But I can't find ROMs specifically for this device....
What are my options here? Can I install CyanogenMod made for the international version? Is there a Android 5/6 Stock ROM out there in the wild that I'm not aware of?
Any help would be greatly appreciated!
TL ; DR Which custom ROMs are there for the SM-N9108V? Is there a Android 5/6 Stock ROM available? Can I install the CyanogenMod for another Note4 version?
Rmassah said:
Hello peoples!
First, allow me to kick myself for buying a Chinese phone. OUCH. There, moving on.
I have the Note 4 model SM-N9108V, Android v5.1.1, and it's been a complete nightmare to deal with it. (IT DOES NOT HAVE GOOGLE PLAY!) It seems this is the least common model out there on the internet. I have been able to find guides for all versions of the Note4, but for my version is very difficult.
After some brick scares, I was finally able to root my phone, install ClockworkMod Recovery and Open GApps. While it's "usable" now, some things still don't work. For example, The automatic Google Sync just does not work for some reason. I have to go on Settings and automatically click on everything to sync (calendar, contacts, etc).
So, I'm guessing my only option is to flash a custom ROM. But I can't find ROMs specifically for this device....
What are my options here? Can I install CyanogenMod made for the international version? Is there a Android 5/6 Stock ROM out there in the wild that I'm not aware of?
Any help would be greatly appreciated!
TL ; DR Which custom ROMs are there for the SM-N9108V? Is there a Android 5/6 Stock ROM available? Can I install the CyanogenMod for another Note4 version?
Click to expand...
Click to collapse
About Your Request for a Custom Rom, I didnt can Help You! SORRY!
HOPE I CAN HELP YOU WITH THIS! Its A SPECIAL "GOOGLE PLAY STORE" FOR YOUR DEVICE!
Go Here or Choose "Direct Download Link" http://ar.androware.net/shopping/ge...laxy-note-4-td-lte-samsung-muscat-175799.html
Direct Downloaad Link: http://ar.androware.net/get-google-play-store-175799.html
Rmassah said:
Hello peoples!
First, allow me to kick myself for buying a Chinese phone. OUCH. There, moving on.
I have the Note 4 model SM-N9108V, Android v5.1.1, and it's been a complete nightmare to deal with it. (IT DOES NOT HAVE GOOGLE PLAY!) It seems this is the least common model out there on the internet. I have been able to find guides for all versions of the Note4, but for my version is very difficult.
After some brick scares, I was finally able to root my phone, install ClockworkMod Recovery and Open GApps. While it's "usable" now, some things still don't work. For example, The automatic Google Sync just does not work for some reason. I have to go on Settings and automatically click on everything to sync (calendar, contacts, etc).
So, I'm guessing my only option is to flash a custom ROM. But I can't find ROMs specifically for this device....
What are my options here? Can I install CyanogenMod made for the international version? Is there a Android 5/6 Stock ROM out there in the wild that I'm not aware of?
Any help would be greatly appreciated!
TL ; DR Which custom ROMs are there for the SM-N9108V? Is there a Android 5/6 Stock ROM available? Can I install the CyanogenMod for another Note4 version?
Click to expand...
Click to collapse
Hello.
Allow me also to kick myself since i bought also this stupid version of Note 4. And imagine i exchange it with a S5. What a deal!
Anyway, there is a very nice MIUI ROM (xiaomi style) for this phone, see my post here where i collected all the posts explaining how to do it:
http://forum.xda-developers.com/showpost.php?p=66904680&postcount=2
Also you can root it and install also google play and everything is working fine.
Except the 3G and 4G! in my case they are not working well, i have drop calls, no data connection etc..
Can you tell me, do you operate the phone outside China? is it working ok on 3G?
Note 4 N9108V
ripee said:
Note 4 N9108V
Click to expand...
Click to collapse
will the TWRP in your link (3.1.1-0 tar) work on N9106W ??
Chinese galaxy note 4 gapps that work!!
Hi. It's been.a while since I've seen this post, looking for a solution for this phone. I finally got it working properly with all the Google apps.
After installing TWERP, I have tried many different gapps packages but always had the same result. Google apps crashing over and over again. I have finally found the right one and made my phone fully functional.
baNkS’s Dynamic*Gapps for Marshmallow*(279 MB)
This being my first ever post on this forum, I am bot allowed to post any outside links. But you should be able to Google it.
In the description, it says that the built-in script detects the chipset and installs the correct set.
Upon installation and restart, the Google services still crashed every couple of seconds but I was able to sign into my Google account. And, after an update, everything was fine.
I hope you find this useful, since it's an old post

G530-R4 Help please

I have a G530-R4 (gprimelteusc) that I've rooted and have twrp on. I'm looking for a working version of lineageOS that I can put on it. But I cannot find one. Hell, I've even tried going through the old CyanogenMod archives but can't find any there. I've found sites that say there are working versions, but the links to download are all dead. at this point, I was wondering if there was a version made for a model close to this one that would work and not brick the stupid thing. This is running factory android and I want a newer version fo android on it, doesn't have to be the latest just something more usable than the factory, that newer apps can be installed on. Thanks for the help in advance.....

Seeking English ROM with gApps for Huawei DRA-AL00 (Y5 2018/Enjoy 8e Youth)

I have a Huawei DRA-AL00 (either called the Y5 2018 or Enjoy 8e Youth depending on which source you believe) currently running Android 8.1 (device details from Droid Info attached).
I am seeking an English language ROM with gApps (or the option to add it). I have already searched the forums and found this thread, however, the ROMs listed seem to just be copies of the stock ROM (or, at least, I can't find any details about them except that they're Android 8.1) I'm worried they'll have the same issues as the factory reset OS that I've already tried. I also searched google generally and found a lot of ROMs for other Huawei phones but none that looked promising for this one... Neither LineageOS nor ArrowOS seem to have an option for this phone. I also don't see a TWRP version that's been specifically tested for this phone, but I'm thinking of trying the one that's recommended for the Y5 2017 or the Enjoy 8 Plus. Of course, that's only relevant if I can find a custom ROM worth using. I'm willing to risk bricking this phone by using a TWRP and ROM that are intended for a different but similar phone, but I'd rather do so with input from someone who's more knowledgeable about phone OSs than me . I'll post the results of any ROMs I try here so others with this phone can have clearer info on what works with it.
Thanks for your help!!
***
Additional info below, not necessary to answer the original question .
For context, I'm a complete newb to flashing custom ROMs on phones. That said, I follow directions just fine and have spent most of today watching and reading tutorials for other Huawei phones (can't find one for this phone specifically...). I've also already tried several different fixes to get this phone functional without replacing the OS, but each new fix keeps raising a new issue or only partially resolving the original one. Hence reverting to the solution that's always served me well on laptops and desktops, replacing the OS.
I have already:
- Factory reset the phone.
- Set the system language to English (this succeeded in getting most of the day-to-day interface to show up in English, but about half of the pop-up messages and the contents of the in-built app store/browser/etc are all still in Chinese...).
- Replaced the keyboard app as it was also still an odd mix of English and Chinese which made typing pretty difficult...
- Tried four different methods to install gPlay on a Huawei phone all of which appeared to be working during install but result in a gPlay app that won't open.
- Tried installing the apps that I need without going through the Play store, however, anything affiliated with google (eg gmail, gmaps) refuses to work. I updated Google Play Services and Google Services Framework APKs to the most recent versions I could find that are Android 8.1 compatible but that didn't fix the issue.
- Disabled as much of the bloatware as I can.
If I can't find a decent ROM for this phone, I'll keep trying to work around its issues using third party apps. However, I'm starting to lose hope in reaching a truly functional solution with the current OS. It'd be sad to give up on this project since it's a quite nice little phone for the very basic functions I need - decent speed and truly epic battery life (nearly a week if I'm not using it much!). At the end of the day though, it only cost me $88 in the first place, so I'd rather risk bricking it by flashing an incompatible ROM than leave it to gather dust in the back of a drawer somewhere .
Hey I have a Huawei DRA-AL00 with English ROM . It comes with Gapps and stuffs but my problem is getting Twrp for it. Can I ask how you got yours?

Categories

Resources