Need help for porting Arm64 apps for Armv7a - Moto G5S Plus Questions & Answers

Hólà XDA
HEY devs?, need some help, wanna to know, How can I port arm64 apps to armv7a, do i need to change some manifest values, edit libraries, edit activities, decompile and recompile using armv7a compiler or anything else??????
I'd seen a post over xda, where one ported arm64 google live wallpaper for armv7a, is it possible?????
And last question, if Oreo is Compiled only for Arm64 than, how some make it working on armv7a devices????
Thanks in Advance?

Satyam_Mishra said:
Hólà XDA
HEY devs, need some help, wanna to know, How can I port arm64 apps to armv7a, do i need to change some manifest values, edit libraries, edit activities, decompile and recompile using armv7a compiler or anything else??????
I'd seen a post over xda, where one ported arm64 google live wallpaper for armv7a, is it possible?????
And last question, if Oreo is Compiled only for Arm64 than, how some make it working on armv7a devices????
Thanks in Advance
Click to expand...
Click to collapse
There are lots of threads available related to learning (porting & developing of apps and roms both),
Just go to general xda forums or this link, https://forum.xda-developers.com/app-development
For last question, ARM32 or ARM64 depends on CPU architecture, our (G5s plus) CPU is ARM64.
You just need to flash ROM as usual (backup, wipe & flash),
Your system will be considered Arm or Arm64 according to which ROM you flash...
REPORTED TO MOVE THREAD IN Q/A, JUST CHECK WHERE YOU ARE POSTING..

Related

[Q] CM Framework compiled

Hi, first of all I hope this is the right place for this if not please close/move and tell me the right place to ask.
I am planning to improve the CM-FM app for our N1s, it works but there is a lot of room for improvement (named stations, autosearch, overriding national limits...).
The problem is that I am working on a Windows machine and the FM app needs the modified CM framework classes to compile, it seems there is no option to compile the full CM distribution under Windows.
But it shouldn't be too difficult given the CM framework compiled to use it with android-SDK and eclipse to build just the app.
So I ask here if someone can provide me the compiled classes.
It would be great to have them published with the nightlies, but as I don't think there would be a lot of changes in this part probably I can work with an outdated version for some time.
Why don't you use a virtual machine with Linux for this?
Of course that's a last resource but surely there are people out there that can provide this classes from their last compilations without problems and maybe this can help other developers also.
You'd probably want to be able to compile CM anyway so just installing Ubuntu 64bit in Virtualbox will work fine and is free. Make sure to enable Hardware Virtualization in your BIOS if your CPU supports it.
I do want to compile CM just the radio app, otherwise I would have installed a linux.
Sent from my Nexus One using XDA App
frisco82 said:
I do want to compile CM just the radio app, otherwise I would have installed a linux.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Why so stubborn? It literally takes less than a few hours to install, download sources, and compile your classes. Instead, you'd rather post here, and sit in waiting for who-knows-how-long to get an answer?
Not flaming, just trying to follow your thought process...

[Q]Building From Source (Single Modules / Bare Minimum Version)

My Question to the Dev's is is there a Guide on How to Build Single APP Packages eg Calculator from Source Without building the entire android from Source is possible to build eg libjpeg from source as a single module.
i have tried the mmm command all it did was spit out errors you fix one get ten more and so on
I also tried using NDK by inserting the open source libs into a jni folder and modifying Android.mk to look similar to the sample jni resulted in errors this is the only Guide i can't find as there many on building entire android but sometime one only needs specific modules and not entire build.
If above not possible is there a bare minimum version where it only builds android core frameworks and like one lib /app ?
i did not try this .
u can download the package like if u want trebucket launcher then download full android_packages_apps_trebuckhet.
recompile it to get the trebucket apk
once againg i did not try this out
defcomg said:
My Question to the Dev's is is there a Guide on How to Build Single APP Packages eg Calculator from Source Without building the entire android from Source is possible to build eg libjpeg from source as a single module.
i have tried the mmm command all it did was spit out errors you fix one get ten more and so on
I also tried using NDK by inserting the open source libs into a jni folder and modifying Android.mk to look similar to the sample jni resulted in errors this is the only Guide i can't find as there many on building entire android but sometime one only needs specific modules and not entire build.
If above not possible is there a bare minimum version where it only builds android core frameworks and like one lib /app ?
Click to expand...
Click to collapse
Mmm won't help as it needs to link against other parts of the system. That's why you need to do a full build before you can mmm
In theory you can take the app and try to import it into eclipse, and regard it just as an app project.

[5.1.1] [2015-08-29] [Xposed Support] CyanogenMod 12.1

CyanogenMod 12.1​These are builds of CyanogenMod 12.1 using JustArchi's repos, modified to support the Xposed Framework.
XPOSED IS NOT INCLUDED, FLASH IT!
Link to Xposed
What's the difference here?
This ROM is DEODEXED, that's the difference. Now, the first boot speed will be slower.
Google says:
Dex file compilation takes more time than dexopt, which can be noticeable when all of a user's apps must be compiled during first boot (after factory reset or after receiving an OTA). To reduce the amount of compilation needed, ART supports the option of pre-optimizing libraries and applications in the system partition. Including the pre-optimized dex files takes space in the system image, so these options trade first boot time for system image size. Enabling WITH_DEXPREOPT causes everything in the system image to be pre-optimized. If this makes the system image too large, additional options can be specified to reduce the amount of pre-optimization.
Click to expand...
Click to collapse
And why Xposed now works?
Xposed for Android 5.1 is on Alpha stage. Therefore, it's unstable and has a lot of problems.
The developer of the unofficial port, romracer, explained:
If your ROM gzip's (compresses) the .odex files in /system, then Xposed will not work and you will bootloop. This is due to patchoat handling the gzipped odex files, but not correctly patching them for Xposed. This causes Xposed to trigger continuous re-dexopt'ing of the compressed odex file.
Click to expand...
Click to collapse
So, a deodexed ROM fixes the problem.
DOWNLOADS
20150829
XDA:DevDB Information
CyanogenMod 12.1 for i9300, ROM for the Samsung Galaxy S III I9300
Contributors
brianelv, JustArchi, Moster2, arter97
Source Code: https://github.com/ArchiDroid
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod 12.1
Version Information
Status: Beta
Created 2015-08-30
Last Updated 2015-08-30
Changelog
2015-08-29
- Initial release
Reserved.
Are these builds just reverting the dlmalloc tweaks?
whatsgood said:
Are these builds just reverting the dlmalloc tweaks?
Click to expand...
Click to collapse
No. Archi changed the ROM from deodexed to odexed. It only affects the first boot (that's the "faster first boot" tweak). It's useless, and breaks the compatibility with Xposed.
So, is same rom with the change "Enable dex-preoptimization" reverted? u update cm sources too?
Im afraid to flash a rom that dont comes from oficial developer, will u test all build on your phone before post here? i dont want to brick my phone.
Thanks from compile and share this build.
galen2 said:
So, is same rom with the change "Enable dex-preoptimization" reverted? u update cm sources too?
Im afraid to flash a rom that dont comes from oficial developer, will u test all build on your phone before post here? i dont want to brick my phone.
Thanks from compile and share this build.
Click to expand...
Click to collapse
Yes, it's the same ROM. I like CyanogenMod 12.1 so I'll update it frequently. And yes, I do tests before posting, with and without Xposed.
brianelv said:
No. Archi changed the ROM from deodexed to odexed. It only affects the first boot (that's the "faster first boot" tweak). It's useless, and breaks the compatibility with Xposed.
Click to expand...
Click to collapse
Why do you spread false information? Dex-preoptimization doesn't affect only first boot and I described why.
JustArchi said:
Why do you spread false information? Dex-preoptimization doesn't affect only first boot and I described why.
Click to expand...
Click to collapse
It's the same, odexed or deodexed. I tested it, and there are no improvements. Besides, odexed roms breaks Xposed. So, what's the problem using a deodexed rom?
Archi, you made a LOT of optimizations, you're the best with this. But odexed roms with Xposed are not compatible. With odex I can't see any difference, and I need Xposed, so I disabled it. Other people needs Xposed too (I think) so I shared it.
brianelv said:
It's the same, odexed or deodexed. I tested it, and there are no improvements. Besides, odexed roms breaks Xposed. So, what's the problem using a deodexed rom?
Archi, you made a LOT of optimizations, you're the best with this. But odexed roms with Xposed are not compatible. With odex I can't see any difference, and I need Xposed, so I disabled it. Other people needs Xposed too (I think) so I shared it.
Click to expand...
Click to collapse
There are no improvements?
Keep using your xposed builds then, you're too ignorant to notice the difference.
brianelv said:
No. Archi changed the ROM from deodexed to odexed. It only affects the first boot (that's the "faster first boot" tweak). It's useless, and breaks the compatibility with Xposed.
Click to expand...
Click to collapse
Brother, Calm down. Don't use so mean words like 'useless' which may not look good to the original developer.
Whatever you are doing is based on the months of hard work done by developers like @JustArchi . Have some respect on their opinions or decisions.
As I said before, many Xposed lovers would appreciate your work which is based on ArchiDroid sources with Xposed support. Just make sure to communicate your thoughts in meaningful good words.
Xposed 5.1 officially released! Now supports odexed roms
I'll update the thread later.
Link of Xposed: http://forum.xda-developers.com/showthread.php?t=3034811
any screenshots ?

XPOSED on an Intel Z8300 chip?

Hi, I'm using a Chuwi HiBook, I rooted and unlocked and I flashed xposed-v84-sdk22-x86.zip but now it's not booting, i had to reflash android.
The kernel version says "3.14.37-x86_64-L1-R517
What should i do? I mean, does that zip work for my device? Maybe the 32bit version doesnt work on this yet and I'm making a dumb move
Thanks
EDIT: More info here: http://forum.xda-developers.com/xposed/modules/chuwi-tweaks-t3316556/page2
The system is ARM but there is no tablet with this chip with xposed working on it.
Any clues?
Hi, i think flashing xposed disabler can help you. Just try it.
Yakandu said:
Hi, I'm using a Chuwi HiBook, I rooted and unlocked and I flashed xposed-v84-sdk22-x86.zip but now it's not booting, i had to reflash android.
The kernel version says "3.14.37-x86_64-L1-R517
What should i do? I mean, does that zip work for my device? Maybe the 32bit version doesnt work on this yet and I'm making a dumb move
Thanks
Click to expand...
Click to collapse
try the xposed disabler zip, if it don't work just re-flash the stock rom
Yep i had to flash again, the system is ARM but there is no support for Intel Cherry Trail Z8300 from xposed, there is no device with this cpu with xposed working on it
Yakandu said:
Yep i had to flash again, the system is ARM but there is no support for Intel Cherry Trail Z8300 from xposed, there is no device with this cpu with xposed working on it
Click to expand...
Click to collapse
Agreed, Right now I am searching for MiPad2 xposed.zip without luck.... My cpu is also Intel cherry trail x5-z8500 14nm , The CPU is x86_64 armV8a architecture.
My devices runs as Dual-OS, switching between full windows 10 and full android lollipop within their respective home-screen widgets. That's nice...
I have root and a kind of official aosp, although the official firmware is MIUI.
If someone someday will come across xposed.zip x86_64 then post here a link, please!
Thank you!
datorprofessor said:
Agreed, Right now I am searching for MiPad2 xposed.zip without luck.... My cpu is also Intel cherry trail x5-z8500 14nm , The CPU is x86_64 armV8a architecture.
My devices runs as Dual-OS, switching between full windows 10 and full android lollipop within their respective home-screen widgets. That's nice...
I have root and a kind of official aosp, although the official firmware is MIUI.
If someone someday will come across xposed.zip x86_64 then post here a link, please!
Thank you!
Click to expand...
Click to collapse
is this what you're looking for?
http://en.miui.com/thread-78894-1-1.html
daWyrd1 said:
is this what you're looking for?
http://en.miui.com/thread-78894-1-1.html
Click to expand...
Click to collapse
I got bootloop (and not a single uninstaller working with that too, tried those zip special for MIUI Mipad2 . The other xposed zips are for arm64 and other kinds of arm but not this model one .
I've spoke with the "deliver" too of the flash zips, "Papka__" and SolarWarez and he got them from another place, but none of theme work with MiPAd2. Overall the device is very fast and doing well. Having windows 10 besides as a multiOS.
Also, I've read somewhere that Rovo89 will never get involved in those CPU x86_64, mainly because the vendors have heavily modded ROMs. :crying: I gave up , never ever give up , and now I'm forced to use other kinds of firewalls.... The Xprivacy module was very nice, because I could see in very detail what was going on on each app and a lot of other modding modules.
:good: Thanks anyway for your trying.
Intel the creator of those SoC has dropped the manufacturing in phones and tablets... So there aren't enough big public and demand, which doesn't encourage developers spend time on the hack!
Intel is investing on IoT (internet of everything) and CPU's for drones, The Future Conquer army weapons. Also Intel investing in more power consuming Goldmont CPUs with 6-12watts that are very powerful for bigger mobile devices.
Solved. Except no feedback for MIUI. Cheers
https://forum.xda-developers.com/xposed/xposed-intel-atom-x5-z8300-x8664-solved-t3585087

[Q] xposed framework for Lenovo a2010-a (what ARM)

LENOVO A2010-A (5.1 Lollipop)
Processor - ARMv7 Processor rev 4 (v7I)
Cores - 4
Max Frequency - 988 Mhz
Instruction Sets - armeabi-v7a, armeabi
SIMD Instruct. - NEON
so my question is; Which ARM should i download for my device?
(please be specific, like post the exact ARM name like this " xposed-v72-sdk22-x86.zip " thank you)
Edit: here's a photo https://postimg.org/image/4hd94v7o7/
Kramiix said:
LENOVO A2010-A (5.1 Lollipop)
Processor - ARMv7 Processor rev 4 (v7I)
Cores - 4
Max Frequency - 988 Mhz
Instruction Sets - armeabi-v7a, armeabi
SIMD Instruct. - NEON
so my question is; Which ARM should i download for my device?
(please be specific, like post the exact ARM name like this " xposed-v72-sdk22-x86.zip " thank you)
Click to expand...
Click to collapse
armeabi-v7a = ARM.
Not ARM64, not x86, just ARM.
Portgas D. Ace said:
armeabi-v7a = ARM.
Not ARM64, not x86, just ARM.
Click to expand...
Click to collapse
hi so i was looking for it and unfortunately i cant seem to find the arm-7a. Could you please by any chance post the exact xposed name of it? Thanks. (i clicked thanks also)
for example; xposed-v72-sdk22-arm.zip (just copy paste it)
Kramiix said:
hi so i was looking for it and unfortunately i cant seem to find the arm-7a. Could you please by any chance post the exact xposed name of it? Thanks. (i clicked thanks also)
for example; xposed-v72-sdk22-arm.zip (just copy paste it)
Click to expand...
Click to collapse
I don't know which part you haven't understood. There are three types of Xposed frameworks:
- arm (xposed-v72-sdk22-arm.zip)
- arm64 (xposed-v72-sdk22-arm64.zip)
- x86 (xposed-v72-sdk22-x86.zip)
armeabi-v7a is the same as arm, so you have to use the one with "arm" in its name -> xposed-v86-sdk22-arm.zip
My recommendation to you: if you can't figure out simple stuff like this, then you shouldn't flash Xposed at all without further reading and learning, or you will end up bricking your device.
Portgas D. Ace said:
I don't know which part you haven't understood. There are three types of Xposed frameworks:
- arm (xposed-v72-sdk22-arm.zip)
- arm64 (xposed-v72-sdk22-arm64.zip)
- x86 (xposed-v72-sdk22-x86.zip)
armeabi-v7a is the same as arm, so you have to use the one with "arm" in its name -> xposed-v86-sdk22-arm.zip
My recommendation to you: if you can't figure out simple stuff like this, then you shouldn't flash Xposed at all without further reading and learning, or you will end up bricking your device.
Click to expand...
Click to collapse
i still would like to say thank you.. every works out fine.. :good:
How to install Xposed for Lenovo A2010
give me fichers xposed zip for lenovo a2010 and thnx you
Exposed frame work v87 or other arm only are not working
Kramiix said:
i still would like to say thank you.. every works out fine.. :good:
Click to expand...
Click to collapse
Guys....pls help.me to install corrected framework in my lenovo a2010 by providing appropriate file and fixes...for not working also
Here is the download link for Xpose version 87 and xpose installer 3.1.1.
(SDK 22 and arm is comfortable for our device)
The flashable Zip File:
http://dl-xda.xposed.info/framework/sdk22/arm/xposed-v87-sdk22-arm.zip
And The Apk File:
http://forum.xda-developers.com/attachment.php?attachmentid=3921508d=1477916609
For more information visit my blog:
https://puspenrath.wordpress.com/2017/04/16/how-to-install-xpose-framework-in-your-phone/
Good

Categories

Resources