Armv7 - GT540 Optimus Android Development

Is it possible to make a script, what makes it possible to run armv7 apps on armv6 phones, so that the 'armv7 commands' from an app or the system are send to a script which translates them into 'armv6 commands' and send them to the processor, and the same way back? There isn't to much difference between Armv6 and armv7, so if it's possible, i think it wouldn't be too hard for expirienced dev's...
Sent from my GT540 using Tapatalk

What u need is qemu or manually reassemble the new elf.
Sent from my GT-I9100 using XDA App

MemoryController said:
What u need is qemu or manually reassemble the new elf.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
So it is possible? In that case: i'll start right away!
Sent from my GT540 using Tapatalk

kuci06 said:
Oh lol, no.
Even if some genious found a way to write this "magic" script, it would REAAAAAALLLLLYYY slow down the phone
Click to expand...
Click to collapse
Agreed. Just 'translating' each command will take massive processor time, the phone may be slow as hell.

Well it would rly only cuz slowdown only in the case of optimized functions or insns that dont have armv6 equivalent. BUT this would only be possible for small chunks of code OR small program like less than 1KB of .text segment and very good asm knowledge. Also u can forget about NEON etc SIMD insns. What u describe is an interpreter emulator(sort of) which is HARD to do.
Sent from my GT-I9100 using XDA App

And then u d have to change the ~ELF to sth like ~EL6 and use binutils to properly handle the elf along with user space and kernel space programs.
Sent from my GT-I9100 using XDA App

nutterbg said:
Agreed. Just 'translating' each command will take massive processor time, the phone may be slow as hell.
Click to expand...
Click to collapse
But you forget one thing: there isn't to much difference between armv6 and armv7. So just a few commands have to be translated: the others can run with native support. And the sdk isn't that slow, but that emulator needs to translate everything. So there is hope...
Sent from my GT540 using Tapatalk

The emulator is slow because it emulates armv6 on x86, sofrware interpreter! And arnv7 on 6 requires code to check each insn to see if it's different from v6 which translates to HUGE speed impact. Also they r 2 different archs. Not only the cpu insn set is different/update/added....
Sent from my GT-I9100 using XDA App

U rly cant compare sdk emu to this, differenr problem to solve.
Sent from my GT-I9100 using XDA App

MemoryController said:
The emulator is slow because it emulates armv6 on x86, sofrware interpreter! And arnv7 on 6 requires code to check each insn to see if it's different from v6 which translates to HUGE speed impact. Also they r 2 different archs. Not only the cpu insn set is different/update/added....
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I can compare it with the sdk, because everything you just said about on armv6 => armv7, is the same on armv6 => x86. And you can run all apps in de emulator, so that is translated too! So basicly it IS possible.
Sent from my GT540 using Tapatalk

Dude just calm down... Let me rephrase. If you just swap insns u won't get anywhere. There much more things to CPUs than the ISA. MUCH. Trust me in this as a student of E. Eng.
Sent from my GT-I9100 using XDA App

MemoryController said:
Dude just calm down... Let me rephrase. If you just swap insns u won't get anywhere. There much more things to CPUs than the ISA. MUCH. Trust me in this as a student of E. Eng.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I understand that there is muuuuch more, and that it will be really hard, but it is a fact that it works on x86, so theoretical it is possible. You must admit that.
Sent from my GT540 using Tapatalk

Of course. BUT it will be SLOW,unless some1 manages to optimize to hell the v6 eq code and only for programs that make no use of v7 specific features.
Sent from my GT-I9100 using XDA App

i think there is a thread saying how to get armv7 apps working on armv6 by changing the build.porp stuff

It will run extremely SLOW!! but yes. Remember how Chinese developers have ported adobe flash meant for ARMv7 to ARMv6?. How 240p content couldn't even be streamed without lagging or near 30fps while 400Mhz Corext A8 can do it easily?.
It is just not worth it, it will just make it unusable
---------- Post added at 01:12 AM ---------- Previous post was at 01:08 AM ----------
bs828 said:
i think there is a thread saying how to get armv7 apps working on armv6 by changing the build.porp stuff
Click to expand...
Click to collapse
I thanked you, but no it doesn't work like that. ARMv7 Binary codes simply can't be executed on ARMv6 without causing force closes.

Flash player 10.1 didn't rely on armv7 specific opcodes.
Sent from my GT-I9100 using XDA App

Related

Minecraft pocket edition

Sorry if this is noob question but is that possible to port minecraft pocket edition for our armv6 or do something to run that on our x8?
aptnutella said:
Sorry if this is noob question but is that possible to port minecraft pocket edition for our armv6 or do something to run that on our x8?
Click to expand...
Click to collapse
Nope.
I've answered this multiple times, I even underclocked my tablet to min -245mhz and max- 748mhz and LAUNCHED MC PE and it LAGGED like hell!
So no...
Sent from my X8 using xda premium
pretty sad we won't be able to play minecraft on our x8
Yes very sad.
I've answered this multiple times, I even underclocked my tablet to min -245mhz and max- 748mhz and LAUNCHED MC PE and it LAGGED like hell!
So no...
Click to expand...
Click to collapse
yes i know there are many themes about this but please explain me why. Ok that is true that its laggy but I asked if its possible to RUN it on our devices.
Hope u understand me
aptnutella said:
yes i know there are many themes about this but please explain me why. Ok that is true that its laggy but I asked if its possible to RUN it on our devices.
Hope u understand me
Click to expand...
Click to collapse
Sent from my X8 using xda premium
Why did u quote me and send empty message?
aptnutella said:
Why did u quote me and send empty message?
Click to expand...
Click to collapse
Woah! I don't remember sending that! I musthave accidentilydone it! Sorry
Sent from my E15i using xda premium
never mind but please, why do we have no chance to run it. doesnt matter if its laggy but i want to know where is the problem because some apps for armv7 were ported to armv6 like flash player
aptnutella said:
never mind but please, why do we have no chance to run it. doesnt matter if its laggy but i want to know where is the problem because some apps for armv7 were ported to armv6 like flash player
Click to expand...
Click to collapse
Its not because it can't! It could have a CHANCE if someone bothered to type 2,000+ lines of code, but another reason I because its not for our screen.
Sent from my E15i using xda premium
Minecraft on armv6
youtube. com/watch?v=IYts9EU7crQ
gtxvtsa said:
youtube. com/watch?v=IYts9EU7crQ
Click to expand...
Click to collapse
That's Mine builder, not MCPE. -_-
Sent using XDA Premium HD from my ICS Powered tablet

[urgent] ROM NEEDED FOR RUNNING GAMES SMOOTHLY

I want a rom for s5830i which runs games smoothly without using chainfire 3d ...is there any available??
Sent from my GT-S5830i using xda app-developers app
Nop
If broadcom releases the videocore drivers for this device... Soon
Sent from my GT-S5830i using xda app-developers app
How is this urgent? Oh, right.. it's not.
Anyway, even if broadcom releases the sources, don't expect much. The latest games still won't run or be very choppy, no matter how many hacks and tweaks are used.
If you want games, you shouldn't have bought an outdated device.
I dnt want to run newwww games...i just want to run good 3d or adventerous games
Sent from my GT-S5830i using xda app-developers app
Did you try Chainfire?
Rasec2002 said:
Did you try Chainfire?
Click to expand...
Click to collapse
He does not want use chainfire because of this reason is asking for the rom.
Regards.
Enviado desde mi GT-S5830i usando Tapatalk 2
Buy a better phone..
The Galaxy Ace Phone is a beginners class Phone and has a very simple hardware that doesnt support Games well!
sarmamanashjyoti2012 said:
I dnt want to run newwww games...i just want to run good 3d or adventerous games
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
sarmamanashjyoti2012 said:
i just want to run good 3d or adventerous games
Click to expand...
Click to collapse
sarmamanashjyoti2012 said:
3d
Click to expand...
Click to collapse
Get a new device with better hardware. What I said still applies, just replace "latest" by "demanding". 3D is demanding, especially on lower end phones.
Y?? Do u have any personal grudge with chainfire??
i used it b4 but i left it bcoz evry games needs different settings and per app config also didnt work after purchasing the pro version...
Sent from my GT-S5830i using xda app-developers app
sarmamanashjyoti2012 said:
i used it b4 but i left it bcoz evry games needs different settings and per app config also didnt work after purchasing the pro version...
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
well if u cant do that much....buy a better fone

Feature Request (Post Yours)

What type of feature do u want see on our Device (Custom Rom) Kindly post here...
only such possible request which can be port on our tini device #HardwareLimitation
Request List:-
-Volume Rocker to music change on sleep mode
-expand user space by re partition decrease catch space and increase user space (if possible)
-Inbuilt CPU settings #likeCmRoms
-......
-...
Is this post Usefull?
we are going to get a cm7
we dont need any funny stuff once we have a cm7 what else could we need
30-step volume mod.
Sent from my GT-S5830i using xda premium
samrulzzz007 said:
we dont need any funny stuff once we have a cm7 what else could we need
Click to expand...
Click to collapse
cm9
A fully fuctional BCM chipset!!!!!!!!!!!!!
Sent from something which calls itself an Ace with an I.
Androidnow said:
A fully fuctional BCM chipset!!!!!!!!!!!!!
Sent from something which calls itself an Ace with an I.
Click to expand...
Click to collapse
If we would have a fully chipset, what would be better? Gaming? And how much worth would be our phone?
Sent from my GT-S5830i using xda premium
Android-fany said:
If we would have a fully chipset, what would be better? Gaming? And how much worth would be our phone?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Gaming, cyanogenmod roms, smoother Graphic output....video etc.....better kernel support.....a whole lot more of development.
Sent from something which calls itself an Ace with an I.
Androidnow said:
Gaming, cyanogenmod roms, smoother Graphic output....video etc.....better kernel support.....a whole lot more of development.
Sent from something which calls itself an Ace with an I.
Click to expand...
Click to collapse
Would games like temple run or gta 3 work?
Sent from my GT-S5830i using xda premium
I don't think so for temple run because its made for armv7 and our acei has armv6 =(
Android-fany said:
Would games like temple run or gta 3 work?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
NO

Discussion thread for Temple Run 2 for armv6 devices

Temple Run most popular game of 2012 which had some 170 million downloads both in iOS and Android platforms.
The successor of this game Temple Run 2 is available for download but only for iphone and ipad.
The world's most poular endless runner game is back with better graphics and with a big monkey..
Unlike TEMPLE RUN 1,THE new game has got two virtual curriencies:coins and gems..
The temple run 2 will be probably launched by next week..
I guess imangi studios should developed the game for armv6 devices too..unlike temple run 1..
what's your opinion..??
Our device was barely able to play the first one, so i guess the second one will be no go for us...
swyped
armv6 can't handle it properly and they will not release anything which is not working perfectly or supposed to work perfectly
in short: dream on, dreamers!
Temple run 1 was unplayable on the mini, how do you expect tr2 wil do?
Sent from my GT-I8160 using xda app-developers app
I think OP is in Lucid Dream....
Its like asking, hey my PC was not able to run far cry 1...is their any way to run far cry 3..lol..
Temple Run ARMv6 By Me-Manoj:-APK
lol my mini 2 runs temple run fast and temple run 2 alsoruns fast
Sent from my GT-S6500D using xda app-developers app
Mdetring said:
lol my mini 2 runs temple run fast and temple run 2 alsoruns fast
Sent from my GT-S6500D using xda app-developers app
Click to expand...
Click to collapse
Then stay away from mini's thread....
Sent from my Galaxy mini using Tapatalk 2
ashu.bigsmoke said:
Then stay away from mini's thread....
Sent from my Galaxy mini using Tapatalk 2
Click to expand...
Click to collapse
haha nice one XD
And if i had a galaxy SIII, I'm sure it also would be running very smoothly
swyped
Someone port temple run 2 to mini and i try it but the screen doesnt fit d screen but it runs smooth...
Sent From: CM7 Mebetik...?
temple run 2 runs lagless better than tr 1 @600 mhz ,no chainfire , new experience v8 , only problem is that it is not resized so everything is too messed up . but just awesome it runs same on our device and htc desire c (lol)
hsay said:
temple run 2 runs lagless better than tr 1 @600 mhz ,no chainfire , new experience v8 , only problem is that it is not resized so everything is too messed up . but just awesome it runs same on our device and htc desire c (lol)
Click to expand...
Click to collapse
Are you damnnn serious.... Really? Don't make me go crazy....
Sent from my Galaxy mini using Tapatalk 2
Yes..i tried it..it's lagless (i had to overclock a bit) but it's unplayable on our screen..
Can you guess why is it so "lagless"? Because it's not rendering the whole thing.
Sent from my GT-I8160 using xda app-developers app
gumball3000 said:
Can you guess why is it so "lagless"? Because it's not rendering the whole thing.
Sent from my GT-I8160 using xda app-developers app
Click to expand...
Click to collapse
actually it is but the surrounding controls are overlapping due to a smaller display also sensitivity issue is there.(though I think its due to the overlap).
Anyone know how to perform Amalia edits then it can be fully resized.
Dark Passenger said:
actually it is but the surrounding controls are overlapping due to a smaller display also sensitivity issue is there.(though I think its due to the overlap).
Anyone know how to perform Amalia edits then it can be fully resized.
Click to expand...
Click to collapse
so can u do it and post the apk?
it would b great if someone make effort to resize it.. pls!
Sent from my GT-S5570 using Tapatalk 2

[Q] Is it possible to port Ubuntu touch for our mini?

We have great developers, why not?
Sent from my GT-S5570 using xda premium
helinhof said:
We have great developers, why not?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
We don't have great device
And Ubuntu Touch is not yet released in daily driver form for any device. It's like alpha or beta.
Agreed with nishanty13 and ast00.
We don't have a great spec devices (c'mon, ARMV6 Processor, LDPI screen, 600 Mhz processor ? You gotta' be kidding me) and Ubuntu touch isn't stable yet. It still hanging around on Alpha stage.
Ubuntu Touch is just "preview", nothing works except browser. There isn't any real application on it, cannot do anything, it likes a set of screenshots of real OS.
*I know because I've tried installing and using it, but it has nothing to use *
Phan.Huy.Cong said:
Ubuntu Touch is just "preview", nothing works except browser. There isn't any real application on it, cannot do anything, it likes a set of screenshots of real OS.
*I know because I've tried installing and using it, but it has nothing to use *
Click to expand...
Click to collapse
Yeah, agreed with you. I already installed it in my Nexus, but yeah, nothing is great. It's hard porting a full blown desktop experience to a phone. Also, our Mini isn't great at all, you can't just go beyond limit, our Mini is a ARMV6 powered phone with 256 MB RAM, what's so great that you want fully blown Ubuntu Touch ?
No offence but i disagree with idea of porting it.
Honestly....porting is not impossible but really is it even worth it....
Sent from my GT-S5570 using Tapatalk 2
hsay said:
Honestly....porting is not impossible but really is it even worth it....
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
I don't think it's wort it...only if you have a SIII or SIV maybe but on a device such as our mini i would wish that cm10.1 to become stable and official that wold be more than enough for me
i don't think it would have any interrest right now

Categories

Resources