[Guide] How to build from Android Source Code - Xperia SP General

Removed

@Furrydaus
When I want to patch, i have this error :
./apply.sh
applying hardware_qcom_display-caf to hardware/qcom/display-caf
fatal: Not a git repository (or any of the parent directories): .git

Since u put the specs for a build PC, im buying some hw and making my pc (sorry for por english). It will be like:
AMD FX6300
Corsair Vengance 8gb 1600
Corsair CX500 psu
And not sure about HD or SSD cause its costs here on Brazil, it will be a mid-top PC and thinking to build to 2 phones... I'll use it for personal and learning Android dev
Sent from my Xperia SP using XDA Free mobile app

Jermin94 said:
@Furrydaus
When I want to patch, i have this error :
./apply.sh
applying hardware_qcom_display-caf to hardware/qcom/display-caf
fatal: Not a git repository (or any of the parent directories): .git
Click to expand...
Click to collapse
Open apply.sh and Replace With This
#!/bin/sh
MYABSPATH=$(readlink -f "$0")
PATCHBASE=$(dirname "$MYABSPATH")
CMBASE=$(readlink -f "$PATCHBASE/../../../../")
for i in $(find "$PATCHBASE"/* -type d); do
PATCHNAME=$(basename "$i")
PATCHTARGET=$PATCHNAME
for i in $(seq 4); do
PATCHTARGET=$(echo $PATCHTARGET | sed 's/_/\//')
if [ -d "$CMBASE/$PATCHTARGET" ]; then break; fi
done
echo applying $PATCHNAME to $PATCHTARGET
cd "$CMBASE/$PATCHTARGET" || exit 1
done
Click to expand...
Click to collapse
:good:

DjowBr said:
Since u put the specs for a build PC, im buying some hw and making my pc (sorry for por english). It will be like:
AMD FX6300
Corsair Vengance 8gb 1600
Corsair CX500 psu
And not sure about HD or SSD cause its costs here on Brazil, it will be a mid-top PC and thinking to build to 2 phones... I'll use it for personal and learning Android dev
Sent from my Xperia SP using XDA Free mobile app
Click to expand...
Click to collapse
Buy a 250++gb ssd, switch the corsair ram for something cheaper, switch and fx to Intel's i5-3570 and increase psu to 800watt if possible

Ok now it's good.
But when i want to get-prebuilds it said that :
bash: ./get-prebuilts: No files or folders of this type
Click to expand...
Click to collapse
and when i want to re-sync the source i have that :
fatal: duplicate path hardware/sony/DASH in /home/jerome/android/system/.repo/manifest.xml
Click to expand...
Click to collapse

Jermin94 said:
Ok now it's good.
But when i want to get-prebuilds it said that :
and when i want to re-sync the source i have that :
Click to expand...
Click to collapse
please check roomservice.xml

asanan1 said:
please check roomservice.xml
Click to expand...
Click to collapse
where is this file ?

Jermin94 said:
where is this file ?
Click to expand...
Click to collapse
~/android/.repo/local_manifests/room service.xml
It should be there if you're following my guide. Replace the unneeded repos from there

Ok now it's good it's re-sync the source !
---------- Post added at 05:49 PM ---------- Previous post was at 05:36 PM ----------
When i sync source or want to build a new rom, lines of roomservice.xml are add so I can't build the rom.

i found some fatal error

LBL support is patch or somethink more? @Furrydaus

asanan1 said:
i found some fatal error
Click to expand...
Click to collapse
You use CM source ?

asanan1 said:
i found some fatal error
Click to expand...
Click to collapse
Please check if all directories are there. For camera.h, you'll need to move the folder common from the directory it states and move copy it into another internal directory. Its huashan sources thats causing this sadly

DjowBr said:
Since u put the specs for a build PC, im buying some hw and making my pc (sorry for por english). It will be like:
AMD FX6300
Corsair Vengance 8gb 1600
Corsair CX500 psu
And not sure about HD or SSD cause its costs here on Brazil, it will be a mid-top PC and thinking to build to 2 phones... I'll use it for personal and learning Android dev
Sent from my Xperia SP using XDA Free mobile app
Click to expand...
Click to collapse
A better build under Budget :-
AMD FX6300
Kingston Hyper X 4GB*2 1600Mhz
Seasonic Eco 600W
Western Digital Blue Caviar 1TB or 500GB
ASUS M5A97 R2 Motherboard
Cooler Master Elite 311 or NZXT Gamma PC Case
AMD Radeon 270X GPU
Asus 24x Dual Layer Optical Drive

Gamer R said:
A better build under Budget :-
AMD FX6300
Kingston Hyper X 4GB*2 1600Mhz
Seasonic Eco 600W
Western Digital Blue Caviar 1TB or 500GB
ASUS M5A97 R2 Motherboard
Cooler Master Elite 311 or NZXT Gamma PC Case
AMD Radeon 270X GPU
Asus 24x Dual Layer Optical Drive
Click to expand...
Click to collapse
That too seems great for a budget build. Nice GamerR

Woow! Very nice Furrydaus
I want to try but my Internet Connection is only 1.5Mbps and my Laptop specs are poor: Intel Core i3 3120M, 2GB RAM LPDDR3, Intel Graphics HD 4000 and Dual Boot (Windows 8.1 / Xubuntu 14.04)
If i can find some decent PC i'll try

First of all thanks to Furrydaus for this guide will be helpful for those who want to start making ROMs.
I go to try translating this guide for HTCmania spanish community, with your permission obviously.
with all that said I have a question about this and that is if this guide is also to create ROMs in bootloader locked
Thewolfer22 said:
with all that said I have a question about this and that is if this guide is also to create ROMs in bootloader locked
Click to expand...
Click to collapse
Looking the guide and seeing on these part of repo "https://github.com/Ultrax5/local_manifests.git" i think i can answer my own question about if this guide serve to create ROMs for LBL, and i think yes, correct me if I'm wrong.

TheWolfer22 said:
First of all thanks to Furrydaus for this guide will be helpful for those who want to start making ROMs.
I go to try translating this guide for HTCmania spanish community, with your permission obviously.
with all that said I have a question about this and that is if this guide is also to create ROMs in bootloader locked
Looking the guide and seeing on these part of repo "https://github.com/Ultrax5/local_manifests.git" i think i can answer my own question about if this guide serve to create ROMs for LBL, and i think yes, correct me if I'm wrong.
Click to expand...
Click to collapse
1) There's no need for my permission to translate anything I do to the HTCMania community. I think you've earned my trust so far and I won't mind you modifying guides and such on my end. Just leave a credits and it will do
2) Locked-Bootloader yes. If you want to build for UBL, utilize the source found here: github.com/cyanogenmod
You'll have to fork the necessary repositories to your account for easy access.

One more thing Furrydaus
This is what my current pc has, i think is good to building
CPU: Intel® Core i5-2500 (With 4 cores)
RAM: 8GB RAM
Storage: 250GB HDD
OS: Any Ubuntu version or variant
Network Speed: 8-9 Mbps

Related

Yet another custom kernel thread (special toolchain included)

Hi hackers,
i know about the common method described by chulri, to compile custom kernels and it works well.
Anyway for kernel only experiments this way is little too bloated.
EDIT3:
So here's my standalone toolchain for archos (build with modified buildroot system for 32Bit linux OS):
arm-archos GCC4.4.1 for ARM uClinux (uClibc C library 0.9.30 with Archos specific tweaks and bugfixes)
http://dl.dropbox.com/u/8815400/arm-archos.tar.gz
EDIT5:
The toolchain does not work on a 64Bit OS.
I'll post a link for the 64Bit version soon.
Only for reference:
There are a lot of external solutions to be found in the web.
E.g. there are different flavoured toolchains based on gcc 4.4.1 from Mentor Graphics (formerly known as Codesourcery):
Sourcery G++ Lite 2010q1-188 for ARM EABI (Newlib C library 1.17.0)
Sourcery G++ Lite 2010q1-189 for ARM uClinux (uClibc C library 0.9.30)
Sourcery G++ Lite 2010q1-202 for ARM GNU/Linux (GNU C library 2.11)
So if i restrict my activities on kernel compilation all three should do the job.
I made a custom kernel using the above mentioned GNU C toolchain, all compiles fine, but did not test it yet.
This is next... i need to find an easy way to test my tweaked kernels.
So far i would recommend UrukDroid running and use the recovery menu to exchange the kernel & ramdisk.
Any comments are welcome.
Unfortunately our devices use also some binary only kernel modules which are not supported by this method:
hmditx.ko (though marked as GPL, we got no sources)
hdmicec.ko (same here)
UPDATE: Sources had been published by Archos at gitorious.
nwolc.ko (proprietary module from NXP)
BTW, someone should contact the author Andre Lepine to hand out the GPL'ed source code
If i got it right, all custom kernels had been build using the buildroot system because of these.
AFAIK using another toolchain would result in a completely different system map and prevent the modules to load.
Anyway if we exclude HDMI and tweak some start scripts to prevent the modules to get loaded, we'll be fine.
Would be nice to start some discussion up here or leave a comment.
I'd also like to get some tricks form the cracks
EDIT:
Sure there's also Ti's wireless driver package which has to be integrated to compile tiwlan_drv.ko.
Need to do some research to find the correct package.
Any hints are welcome!
EDIT2:
Anyone tried to compile a gen8 kernel using the new gen9 kernel source?
Everything seems to be there...
EDIT4:
See above! The toolchain works very nice.
It had been specially compiled for external use and in the meantime it was tested on many different hosts.
Instructions how to install and use it could be found here:
http://forum.xda-developers.com/showpost.php?p=19134490&postcount=8
Thanks a lot for your attention!
Regards,
scholbert
One question: What's so much better about that toolchain to throw away the Archos-compatible toolchain and deal with the hassle of excluding features to build compatible binaries? I guess I didn't get the point
chulri said:
One question: What's so much better about that toolchain to throw away the Archos-compatible toolchain and deal with the hassle of excluding features to build compatible binaries? I guess I didn't get the point
Click to expand...
Click to collapse
Like i tried to point out:
Anyway for kernel only experiments this way is little too bloated.
Click to expand...
Click to collapse
A neat little cross toolchain environment would be enough for kernel experiments.
I'm working on different platforms e.g. old Debian 4.0 workstation, Netbook with UNR 11 but limited space, other linux machines i don't like to run entire process.
You need a lot of disk space and time (at least first time to build the whole environment).
The other thing is that everything is built into the buildroot structure, you could barely locate the toolchain itself...
Sure your right, if you say everthing works out of the box, but i don't like all these automated procedures, to build my own kernel.
In fact that's just it and i wonder if there's another way.
Just kernel source + cross-toolchain...
Apart from that, the toolchain Sourcery G++ Lite 2010q1-189 for ARM uClinux (uClibc C library 0.9.30) is very close to the Archos one.
BTW, anyone tried to tweak the Archos build script to built the toolchain for external use?
Cheers,
scholbert
scholbert said:
So if i restrict my activities on kernel compilation all three should do the job.
I made a custom kernel using the above mentioned GNU C toolchain, all compiles fine, but did not test it yet.
Click to expand...
Click to collapse
Hi Scholbert!
I've been doing the same for my kernels, it compiles and runs fine, wifi loads without any particular tweak with the original Archos compiled module, but I didn't check hdmi as I don't have cable for it. I'm using a cm7 toolchain to build it (arm-eabi-4.4.3) though.
scholbert said:
This is next... i need to find an easy way to test my tweaked kernels.
So far i would recommend UrukDroid running and use the recovery menu to exchange the kernel & ramdisk.
Click to expand...
Click to collapse
My setup is a bit different since I patched bootloader: I have my "stable" build on normal boot (/rawfs/init) and my dev build on sde (/rawfs/custom), and I flash my kernel directly from my stable build without going through recovery.
I just do adb push kernel and initrd, then directly on device a "kd_flasher -k kernel -i initrd", and I reboot from normal to sde with a "reboot_into sde". It's really quick this way, I just have a script on my linux box to do all this.
I believe you can do the same without patched bootloader with a temproot on secure archos build.
scholbert said:
EDIT2:
Anyone tried to compile a gen8 kernel using the new gen9 kernel source?
Everything seems to be there...
Click to expand...
Click to collapse
Yes, I'm playing with it. I don't know what device you have, but mine (A70S) was not finished in Archos sources: board-archos-a70s is almost empty, panel wasn't finished... I add stuff slowly (still learning Omap, I know Qualcomm better), my kernel boots, I currently have framebuffer, internal mmc and usb working.
Hi letama!
letama said:
I've been doing the same for my kernels, it compiles and runs fine, wifi loads without any particular tweak with the original Archos compiled module, but I didn't check hdmi as I don't have cable for it. I'm using a cm7 toolchain to build it (arm-eabi-4.4.3) though.
Click to expand...
Click to collapse
Cool that's nice information.
Interesting that the tiwlan_drv.ko loads without problems.
Just to start an experiment, i started to shrink down the buildroot setup from Archos and built the gcc 4.4.1 toolchain only.
But it's not finished yet...
letama said:
My setup is a bit different since I patched bootloader: I have my "stable" build on normal boot (/rawfs/init) and my dev build on sde (/rawfs/custom), and I flash my kernel directly from my stable build without going through recovery.
Click to expand...
Click to collapse
O.k. i see, sounds like a clean environment this way.
In fact there's no need for this sqashfs thing anymore...
I already got the SDE's avboot version installed. This version is little bigger in size and obviously got some add-on's.
The same byte signature could be found here, so i guess the hack would match this avboot version as well.
Maybe i give it a try.
letama said:
I just do adb push kernel and initrd, then directly on device a "kd_flasher -k kernel -i initrd", and I reboot from normal to sde with a "reboot_into sde". It's really quick this way, I just have a script on my linux box to do all this.
Click to expand...
Click to collapse
Cool, sounds like a nice development platform this way.
letama said:
I believe you can do the same without patched bootloader with a temproot on secure archos build.
Click to expand...
Click to collapse
Mmmh i thought about using it from UrukDroid...
Anyway, the way you do it sounds more elegant.
letama said:
Yes, I'm playing with it. I don't know what device you have, but mine (A70S) was not finished in Archos sources: board-archos-a70s is almost empty, panel wasn't finished... I add stuff slowly (still learning Omap, I know Qualcomm better), my kernel boots, I currently have framebuffer, internal mmc and usb working.
Click to expand...
Click to collapse
I got an A101... looks little better here, but i did not compile the kernel yet.
Anyway, would be nice to have a complete kernel (incl. wireless and HDMI base code) in the end which compiles fine with latest gcc and runs out of the box
Thanks a lot for your extensive reply!!!
Regards,
scholbert
scholbert said:
I already good the SDE's avboot version installed. This version is little bigger in size and obviously got some add-on's.
The same byte signature could be found here, so i guess the hack would match this avboot version as well.
Maybe i give it a try.
Click to expand...
Click to collapse
Yes, it's the same signature, I verified it with IDA before installing sde, only location differs. You should be fine as long as you don't have multiple matches. If you want my code to patch it, let me know... You'd have to adapt the offsets but it would be probably safer than doing it manually.
Regarding kernel development, I forgot one big advantage to have patched bootloaders: ram_console! I built my "stable" and "dev" kernels with it, so I just have to make my dev kernel to crash to reboot and get the full dmesg with "cat /proc/last_kmsg" even if framebuffer or usb don't work .
scholbert said:
I got an A101... looks little better here, but i did not compile the kernel yet.
Anyway, would be nice to have a complete kernel (incl. wireless and HDMI base code) in the end which compiles fine with latest gcc and runs out of the box
Click to expand...
Click to collapse
Yes, gen9 sources look better for A101, I took them as base for my A70 and it's almost ok. I took away hdmi as it seems a bit too hackish, I'll see later . I also had some issue with gp timers that wouldn't use 32K clock, I'd be curious to see a dmesg on a gen9 tablet.
Right now I'm fighting with usb that kills video driver looonng way to go before having a fully functional kernel.
letama said:
Yes, it's the same signature, I verified it with IDA before installing sde, only location differs. You should be fine as long as you don't have multiple matches. If you want my code to patch it, let me know... You'd have to adapt the offsets but it would be probably safer than doing it manually.
Click to expand...
Click to collapse
Thanks for offering your tool.
Guess it's the same you once posted in that thread about changing bootlogo.
I had a look at the soruces once.
Anyway i already prepared a patched bootblock. Did not re-write it yet
Time is lacking...
letama said:
Regarding kernel development, I forgot one big advantage to have patched bootloaders: ram_console! I built my "stable" and "dev" kernels with it, so I just have to make my dev kernel to crash to reboot and get the full dmesg with "cat /proc/last_kmsg" even if framebuffer or usb don't work .
Click to expand...
Click to collapse
Yupp that's nice... have you seen my UART hack?
letama said:
Yes, gen9 sources look better for A101, I took them as base for my A70 and it's almost ok. I took away hdmi as it seems a bit too hackish, I'll see later . I also had some issue with gp timers that wouldn't use 32K clock, I'd be curious to see a dmesg on a gen9 tablet.
Right now I'm fighting with usb that kills video driver looonng way to go before having a fully functional kernel.
Click to expand...
Click to collapse
Guess i will try to compile this kernel soon.
No time for that right now.
Made some efforts to built special toolchain.
See the upcoming post...
Big thanks for participating!!!
Regards,
scholbert
Ready to use Archos specific toolchain
Hi again,
three simple steps to build UrukDroid custom kernel/modules:
1. Grab my customized toolchain and install it (see first post).
The toolchain is configured to work on mostly any 32Bit linux host (min. libc 2.3.6, should work down to Debian 4.0, Ubuntu 8.04 and similar).
The toolchain must be extracted and placed at /opt on your host machine (x86).
To run it as a user you might change the properties for /opt directory to match the user's rights.
You also could extract the archive as root and run:
chown -R 1000:1000 /opt/arm-archos
To make it more comfortable:
Modify user's .bashrc file to include the path to the toolchain:
export PATH=$PATH:/opt/arm-archos/usr/bin
2. Grab UrukDroid kernel sources and compile.
UrukDroid kernel sources could be found here:
http://sauron.pourix.com/UrukDroid/UrukDroid-1.5/UrukDroid-1.5.1-kernelsrc.tar.bz2
You might extract the sources anywhere you like.
After this has been done, step into the kernel source root directory.
Modify Makefile to use the Archos toolchain (line 199):
Code:
...
# Alternatively CROSS_COMPILE can be set in the environment.
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
export KBUILD_BUILDHOST := $(SUBARCH)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= arm-linux-uclibcgnueabi-
...
cp linux.config .config
make oldconfig
make zImage
make modules
make modules_install INSTALL_MOD_PATH=/my_kernel/modules/
3. Transfer the binaries to your Archos device.
Right now there's no need to exchange the kernel, because we use $auron's base setup for the kernel.
Place your custom modules at /lib/modules
TBC
scholbert
scholbert said:
Thanks for offering your tool.
Guess it's the same you once posted in that thread about changing bootlogo.
I had a look at the soruces once.
Anyway i already prepared a patched bootblock. Did not re-write it yet
Time is lacking...
Click to expand...
Click to collapse
Yes, it's roughly the same code. You did patch both location ?
scholbert said:
Yupp that's nice... have you seen my UART hack?
Click to expand...
Click to collapse
Yes, saw it, it would be very nice to have console on serial, but I don't want to open my A70 yet as it's still has warranty running. I may try that if I can find parts and if I get a gen9 as "main".
scholbert said:
Guess i will try to compile this kernel soon.
No time for that right now.
Click to expand...
Click to collapse
Great! Let me know if you have something, I'd be very interested in a dmesg.
I somehow "fixed" my video driver problem (well, not really fixed, adding traces made it go away ), now I'm trying to get SurfaceFlinger works. Sgx driver doesn't seem to play nice with .29 userspace binaries, I'm not sure I'd be able to go much further without new binaries.
scholbert said:
Made some efforts to built special toolchain.
See the upcoming post...
Click to expand...
Click to collapse
Nice! I'll try to take a look at it when I find some time.
Hey letama,
sorry for the delay...
letama said:
Yes, it's roughly the same code. You did patch both location ?
Click to expand...
Click to collapse
Yepp, both locations are patched.
As we already pointed out, there the rawfs header contains some checksums and avboot is the first file in there.
What do you think, if i manually change some bytes in avboot and leave the checksum untouched, will there be any problems?
letama said:
Yes, saw it, it would be very nice to have console on serial, but I don't want to open my A70 yet as it's still has warranty running. I may try that if I can find parts and if I get a gen9 as "main".
Click to expand...
Click to collapse
O.k. if there's warranty on your device, i totally agree.
letama said:
Great! Let me know if you have something, I'd be very interested in a dmesg.
Click to expand...
Click to collapse
Need more time
letama said:
I somehow "fixed" my video driver problem (well, not really fixed, adding traces made it go away ), now I'm trying to get SurfaceFlinger works. Sgx driver doesn't seem to play nice with .29 userspace binaries, I'm not sure I'd be able to go much further without new binaries.
Click to expand...
Click to collapse
Yeah guess there are some changes in the drivers API.
letama said:
Nice! I'll try to take a look at it when I find some time.
Click to expand...
Click to collapse
So far i tested it, the toolchain works out very nice.
Concerning kernel compilation:
It seems the binaries are quite well optimized in size. No problems so far.
I found out that in stock ROM they used some strip command to make the modules even smaller.
Anyway won't speed things up significantly i guess...
Concerning userland apps:
Though my genereated uClibc is little bigger in size, i noticed no problems so far. A binary comparison between the libaries (stock vs mine), shows little differences though.
Anyway, would be nice if people use it and report...
Have a nice day!
scholbert
Hi Scholbert!
scholbert said:
sorry for the delay...
Click to expand...
Click to collapse
No problem, I'm also busy as hell...
scholbert said:
Yepp, both locations are patched.
As we already pointed out, there the rawfs header contains some checksums and avboot is the first file in there.
What do you think, if i manually change some bytes in avboot and leave the checksum untouched, will there be any problems?
Click to expand...
Click to collapse
Well, I didn't touch checksums either, and it seems they're not checked anywhere else, so you should be good. As long as you patched both location before reboot, you should be ok.
scholbert said:
Yeah guess there are some changes in the drivers API.
Click to expand...
Click to collapse
I made some progress there, I took LG P970 3D binaries with driver source code from their cm7 kernel (they also have a 2.6.35) and I was able to boot up to launcher. I had to fiddle a bit with audio runtime as phone audio won't work, but low level audio driver is working too. Next step is touchscreen... And probably doing a proper cm7 build, I'm running a frankenstein mix of cm7 for nook tablet
scholbert said:
So far i tested it, the toolchain works out very nice.
Click to expand...
Click to collapse
I tried it briefly yesterday as I borked my kernel config at some point and it was crashing my usual toolchain, it doesn't run on my comp: "error while loading shared libraries: libmpfr.so.1: wrong ELF class: ELFCLASS64". Ubuntu 11.10 64 bits...
Best,
LeTama
letama said:
Well, I didn't touch checksums either, and it seems they're not checked anywhere else, so you should be good. As long as you patched both location before reboot, you should be ok.
Click to expand...
Click to collapse
Yeah guessed so... the russian guy who first tried this hack also never mentioned anything like this. So it'll be safe then.
letama said:
I made some progress there, I took LG P970 3D binaries with driver source code from their cm7 kernel (they also have a 2.6.35) and I was able to boot up to launcher. I had to fiddle a bit with audio runtime as phone audio won't work, but low level audio driver is working too. Next step is touchscreen... And probably doing a proper cm7 build, I'm running a frankenstein mix of cm7 for nook tablet
Click to expand...
Click to collapse
Wow sounds pretty like a "frankengenius" software design.
Good work!
Have you seen that Archos released part of the hdmi code as external driver code. So the kernel is even more open now (speaking of 2.6.29).
Sometimes their cooperation is very nice.
About two weeks ago i contact the author at NXP, then last week i wrote to Archos and on thursday they released it. Not bad...
Anyway they ought to release the source, even without mentioning it.
It's just GPL code.
letama said:
I tried it briefly yesterday as I borked my kernel config at some point and it was crashing my usual toolchain, it doesn't run on my comp: "error while loading shared libraries: libmpfr.so.1: wrong ELF class: ELFCLASS64". Ubuntu 11.10 64 bits...
Click to expand...
Click to collapse
Sure the toolchain is compiled for 32Bit systems, forgot to mention this.
So it will never work on a 64Bit system.... sorry
Cheers,
scholbert
scholbert said:
Have you seen that Archos released part of the hdmi code as external driver code. So the kernel is even more open now (speaking of 2.6.29).
Click to expand...
Click to collapse
Didn't see it, very nice! HDMI is a low on my priority list, but it's good to have source code, it will help porting it. Even though my efforts on this kernel will slow a bit as I purchased today a gen9 and ICS source code is out .
At first glance, boot process and layout looks very similar to our gen8, same rawfs, a custom file that would indicate that we should get SDE, so far so good. Need to spend some quality time with hex editor and IDA now .
Damn work, I need 72 hours days!
scholbert said:
Sure the toolchain is compiled for 32Bit systems, forgot to mention this.
So it will never work on a 64Bit system.... sorry
Click to expand...
Click to collapse
No problem, just wanted to give a bit of feedback.
@letama:
Wouldn't it be alot more productive for you and us if you would somehow join your affort with the guys from openaos?
cm7 and then cm9 would be here faster the more experienced devs are helping.
fzelle said:
@letama:
Wouldn't it be alot more productive for you and us if you would somehow join your affort with the guys from openaos?
cm7 and then cm9 would be here faster the more experienced devs are helping.
Click to expand...
Click to collapse
Hi fzelle,
Well, I'm only learning slowly, they're far more experienced than me on Archos. My main goal is to understand omap platform, that's why I'm toying with the 2.6.35 kernel. Cm7 is only a convenient for way me to make sure the kernel behaves well. I don't seek a perfect cm7/archos experience for all devices as they do, but if at some point I learned enough, I may try to help if I can.
LeTama
CM7 for Archos atm is based on the 2.6.29 kernel delivered from Archos, so your kernel is far more advanced.
And if you got 2.6.35 to work properly, the guys over at openaos would probably be happy to use that.
fzelle said:
CM7 for Archos atm is based on the 2.6.29 kernel delivered from Archos, so your kernel is far more advanced.
And if you got 2.6.35 to work properly, the guys over at openaos would probably be happy to use that.
Click to expand...
Click to collapse
Yes, 2.6.35 should match better gingerbread code. If I can go somewhere, I'll share it. Currently, I'm far from that, still having troubles with usb and a big piece will be power management. We'll see, but I'm a bit out of free time.
Hey letama,
i guess fzelle is right.
AFAIK, the openaos developers concentrate on the Android part for gen8. As stated they still use 2.6.29 and this no problem so far.
But a kernel project might run in parallel.
Would be nice to get the new kernel working at least for A70 and A101.
I started a build for A101 (...and still compiling), maybe we could share our .config file
EDIT: Aaaaaargh, still fighting with the kernel config/compile errors.
Wifi/BT framework issue.... RFKILL_STATE_UNBLOCKED etc. seems not to be implemented anymore...
letama said:
I made some progress there, I took LG P970 3D binaries with driver source code from their cm7 kernel (they also have a 2.6.35) and I was able to boot up to launcher. I had to fiddle a bit with audio runtime as phone audio won't work, but low level audio driver is working too. Next step is touchscreen... And probably doing a proper cm7 build, I'm running a frankenstein mix of cm7 for nook tablet
Click to expand...
Click to collapse
The SGX part is an open issue i guess, but there's some support form Ti as well. E.g.: https://gforge.ti.com/gf/project/openmax/frs/
Remember the Beagleboard-XM is very similar to what we got on our devices.
Also Zoom3 platform, so maybe their repository is a good starting point for these addon's as well.
In fact using the OMAP might be a benefit in general, because there are so many opensource projects covering this architecture
Happy hacking!
scholbert
Hi Scholbert,
scholbert said:
i guess fzelle is right.
AFAIK, the openaos developers concentrate on the Android part for gen8. As stated they still use 2.6.29 and this no problem so far.
But a kernel project might run in parallel.
Would be nice to get the new kernel working at least for A70 and A101.
Click to expand...
Click to collapse
Agreed! It would be nice if we could develop both A70 and A101 in parallel, sharing will speed things up.
scholbert said:
I started a build for A101 (...and still compiling), maybe we could share our .config file
Click to expand...
Click to collapse
I attached my current one, I added one config option that you don't have, CONFIG_MUSB_ERRATA_445, you can remove the line. I'm not sure I have the config right, but it boots and has quite a lot of stuff working. You need to re-add A10IT board though.
scholbert said:
The SGX part is an open issue i guess, but there's some support form Ti as well. E.g.: https://gforge.ti.com/gf/project/openmax/frs/
Click to expand...
Click to collapse
Well, for me it's no longer an issue, I think what I did is the best we can do until we can get a hand on Archos binaries for 3630. The issue is that you have to have proprietary binaries, they must match driver version, and the binaries I have from P920 works fine even though maybe not as recent as Archos ones. There is no open source implementation afaik. OpenMax is only for video codec, not 3D.
scholbert said:
Happy hacking!
Click to expand...
Click to collapse
Thanks, you too! You have a mission now! Let's get this kernel running on A101
Hi letama!
letama said:
Agreed! It would be nice if we could develop both A70 and A101 in parallel, sharing will speed things up.
Click to expand...
Click to collapse
To be honest i meant developing openaos and kernel in parallel. Who ever does it
Anyway, as i wrote it... i started to play around with the new kernel.
It's hard for me these days to find some time for hacking and i'm not a genius in modifying kernel drivers and stuff.
So in fact i don't know how far i will get things rollin'
letama said:
I attached my current one, I added one config option that you don't have, CONFIG_MUSB_ERRATA_445, you can remove the line. I'm not sure I have the config right, but it boots and has quite a lot of stuff working. You need to re-add A10IT board though.
Click to expand...
Click to collapse
Thanks a lot. I will compare your config with my setup.
Already found some missing parts in the board file...
letama said:
Well, for me it's no longer an issue, I think what I did is the best we can do until we can get a hand on Archos binaries for 3630. The issue is that you have to have proprietary binaries, they must match driver version, and the binaries I have from P920 works fine even though maybe not as recent as Archos ones. There is no open source implementation afaik. OpenMax is only for video codec, not 3D.
Click to expand...
Click to collapse
Ah i see, so i'll take a look at the binaries.
I guess you meant P970, as stated earlier.
letama said:
Thanks, you too! You have a mission now! Let's get this kernel running on A101
Click to expand...
Click to collapse
Haha, as stated above... nice mission anyway
BTW, did you see there are some nice projects at gitorious.
A 2.6.37 kernel port for A43 and A101 had also been started already.
I had a short look at some parts... don't know about the exact state of the code.
Let's stay in touch!
Best regards,
scholbert

Ubuntu Touch Xoom Port

Hi,
I've got Ubuntu Touch running on my Xoom, not perfectly. I have an LTE Xoom, but I'm building as if it is Wifi Only (I no longer have service on LTE).
Issues:
Font rendering in some places is unreadable.
Display settings have to be manually tweaked in /usr/bin/ubuntu-session to set GRID_UNIT_PX=10
Have not tested sound at all
Camera doesn't seem to work
Haven't tested GPS
Installation instructions:
reboot in recovery
wipe
install base Xoom (Wingray) Image: cm-10.1-20130228-UNOFFICIAL-wingray.zip md5: b1391ff076e67f68f89606c2ae349986
install the Ubuntu 12.10 Touch Preview, daily build quantal-preinstalled-phablet-armhf.zip*
reboot
use ubuntu_chroot to edit /usr/bin/ubuntu-session and set GRID_UNIT_PX=10
reboot
Fixed:
I'm able to connect to my wifi and use the internet via an adb (ubuntu_chroot shell), but apps including the browser used from the device don't seem to have connectivity.
*This download is a daily snapshot, the latest version may or may not work, I've only tested using the version from 20130228.
Reserve a spot for some more technical details.
Could i get a link? I would love to give this a try! :good:
mikedmor said:
Could i get a link? I would love to give this a try! :good:
Click to expand...
Click to collapse
PM with the link sent, when I get to 10 posts or get moderator approval, I'll edit the original post to include the download link.
Please keep me posted on how it goes. I'll try to document the steps I took to get it running soon (very minimal, just followed the official porting guide)
Just finished building it as I have seen Xoom support removed from the wiki yesterday. Did you unset CONFIG_ANDROID_PARANOID_NETWORKS to make apps work?
dreamcwli said:
Just finished building it as I have seen Xoom support removed from the wiki yesterday. Did you unset CONFIG_ANDROID_PARANOID_NETWORKS to make apps work?
Click to expand...
Click to collapse
I did not unset CONFIG_ANDROID_PARANOID_NETWORKS as it broke the build and I have not had time to investigate it further. Were you able to build with it unset? Is the networking in the apps working for you?
skippyishappy said:
I did not unset CONFIG_ANDROID_PARANOID_NETWORKS as it broke the build and I have not had time to investigate it further. Were you able to build with it unset? Is the networking in the apps working for you?
Click to expand...
Click to collapse
I comment several lines in the kernel source code so I can build it with the flag unset. I still can't fully boot Ubuntu Touch as the libraries used are not in the runtime path so I need to fix it. Will report here when I have time to work on it.
Good luck on the development
Sent from my GT-N7000 using Tapatalk 2
Thx dreamcwli and OP
This project sounds like it will be good for devs and enhanced users and it keeps the hopes of the xoom staying around for a few more years.
Keep up the work and give us hope.
Did you symlink libraries under /data/ubuntu/usr/lib/armeabihf to /system/lib to boot the system?
...
CBDSonline said:
Thx dreamcwli and OP
This project sounds like it will be good for devs and enhanced users and it keeps the hopes of the xoom staying around for a few more years.
Keep up the work and give us hope.
Click to expand...
Click to collapse
+1
dreamcwli said:
Did you symlink libraries under /data/ubuntu/usr/lib/armeabihf to /system/lib to boot the system?
Click to expand...
Click to collapse
I did no modifications to the ubuntu partition other than changing the GRID_UNIT_PX to make the layout fit the screen better. On my first attempt the screen was black, so I took a look using adb logcat and saw:
I/SurfaceFlinger( 1064): SurfaceFlinger is starting
I/SurfaceFlinger( 1064): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/libEGL ( 1064): eglGetDisplay:121 error 300c (EGL_BAD_PARAMETER)
E/libEGL ( 1064): eglInitialize:137 error 3008 (EGL_BAD_DISPLAY)
Click to expand...
Click to collapse
This made me suspect it was missing some binaries (the only ones I'm using are from the Google binaries page for the Wifi Xoom).
device/moto/wingray/device_base.mk is looking for the vendor directories which do not match the directories I had after extracting them.
mv vendor/moto/ vendor/motorola
mv vendor/motorola/stingray/ vendor/motorola/wingray
Click to expand...
Click to collapse
Then rebuild with brunch and the error was gone and the screen lit up with Ubuntu touch.
skippyishappy said:
I did no modifications to the ubuntu partition other than changing the GRID_UNIT_PX to make the layout fit the screen better. On my first attempt the screen was black, so I took a look using adb logcat and saw:
This made me suspect it was missing some binaries (the only ones I'm using are from the Google binaries page for the Wifi Xoom).
device/moto/wingray/device_base.mk is looking for the vendor directories which do not match the directories I had after extracting them.
Then rebuild with brunch and the error was gone and the screen lit up with Ubuntu touch.
Click to expand...
Click to collapse
I have updated the location path for proprietary blobs. What I got is linker.c can't load /system/lib/libubuntu_application_api.so. Did you use Ubuntu-specific tools to build it? I am on Arch Linux so I am thinking about it those tools make different result.
dreamcwli said:
I have updated the location path for proprietary blobs. What I got is linker.c can't load /system/lib/libubuntu_application_api.so. Did you use Ubuntu-specific tools to build it? I am on Arch Linux so I am thinking about it those tools make different result.
Click to expand...
Click to collapse
To setup my environment, I created a new VM using Ubuntu 12.04 LTS and followed the steps in "Set up your development environment" in the porting guide.
skippyishappy said:
To setup my environment, I created a new VM using Ubuntu 12.04 LTS and followed the steps in "Set up your development environment" in the porting guide.
Click to expand...
Click to collapse
Now this is interesting!!!! Xoom is not officially supported by canonical, a 14year old was trying to port it. Even if the device is not listed anymore you can send an email to canonical and tell that you will be the one to port it to xoom! Keep up the good work. i am willing to test your work! I have a UMTS_Everest xoom. If you are interested please PM the links to me
Cheers!
darksnoopy said:
Now this is interesting!!!! Xoom is not officially supported by canonical, a 14year old was trying to port it. Even if the device is not listed anymore you can send an email to canonical and tell that you will be the one to port it to xoom! Keep up the good work. i am willing to test your work! I have a UMTS_Everest xoom. If you are interested please PM the links to me
Cheers!
Click to expand...
Click to collapse
PM sent. The port itself has been trivial, at least getting it to boot. Easy to see why Canonical chose this path.
Very interested in this please pm me a link, I have a little knowledge of linux so I may be able to play around a bit.
slaming said:
Very interested in this please pm me a link, I have a little knowledge of linux so I may be able to play around a bit.
Click to expand...
Click to collapse
PM'd, I should be able to edit my original post with the download links now.
I can confirm developers have to use phablet-dev-bootstrap tools to build it now. With phablet-dev-bootstrap you will get additional components that are required for Ubuntu Touch. I will test how network going with my build.
Built it and working fine now. With CONFIG_ANDROID_PARANOID_NETWORK unset I can use browser and other network apps without problem. However the usability is not good at current stage.

[TUTORIAL][VIDEO]KernelANDROID[LINARO][SABERMOD][NDK]build from source

Here is a complete tutorial about:Android Kernel(compile)+ Linaro/Sabermod/NDK.​
//In the future I will add a tutorial related to undervolt., overclock, cpu governor, and others.(only Snapdragon CPU)
Kernel Features HERE
Youtube channel(if you have troubles).
Part 1: vmware+ubuntu+Installing the required files:
Linaro
Part 2: download kernel source files+ setup toolchain+jdk+abootimg
Part 3: kernel+ boot.img file
Part 4: test
Part 2/3 SABERMOD
Part 2/3 Android NDK
More:
extract .config via ADB:
compile-speed:
dump boot.img:
Change bootimg.cfg size-hex:
Create boot.img via script.sh. Much faster!!!
Linaro vs NDK:
I'll keep you updated, so stay tuned ​
Reserved
Thank you so much for this guide! before people had to learn from strictly written ones and it was difficult for a lot of us to pick up
oh and congrats on Portal feature!
Thank you for this guide . I can wait to try it .
Sent from my GT-I9100G using XDA Premium 4 mobile app
Sorry if its already been answered but can I use Ubuntu 14.04 to do this? what advantage does 12.04 have?
You can use either Ubuntu 14. However this does not affect anything(about kernel). But I preferred the version 12 because it is more popular, and if problems "arise", it's easier to find solutions.
!
great tutorials! any chnce of one compiling with GCC?
also man! YOUR COMPUTE IS ON STEROIDS!!!
Maybe, but in summer(I'm still busy with school). GCC needs to be changed in Part II.
also man! YOUR COMPUTE IS ON STEROIDS!!!
Click to expand...
Click to collapse
Configuration is:
Asus k53sv
-Intel Core I7 2630QM
-12 GB Ram (1333 mhz cl9)
-HDD: 750GB WD Black;
-GPU Intel HD 3000+Nvidia GT540M 2gb ddr3;
+1080p tv(monitor) but only for tutorials.
srsdani said:
Maybe, but in summer(I'm still busy with school). GCC needs to be changed in Part II.
Configuration is:
Asus k53sv
-Intel Core I7 2630QM
-12 GB Ram (1333 mhz cl9)
-HDD: 750GB WD Black;
-GPU Intel HD 3000+Nvidia GT540M 2gb ddr3;
+1080p tv(monitor) but only for tutorials.
Click to expand...
Click to collapse
yeah ive been having problems with GCC on ubuntu 14.04, on my last installation(also 14.04) all compiled fine, yet this fresh installation theres no errors but doesnt boot(stock unmodified sources) :/
What's your device? Some have a slightly different configuration(Samsung or Sony/Sony Ericsson etc.).
srsdani said:
What's your device? Some have a slightly different configuration(Samsung or Sony/Sony Ericsson etc.).
Click to expand...
Click to collapse
after days of troubleshooting i finally just found the problem..
i had exported PATH to JDK 8 in my .bashrc, i just compiled and it worked
thanks to your video making me look in .bashrc!
LEGEND!!!!
Ricky Divjakovski said:
after days of troubleshooting i finally just found the problem..
i had exported PATH to JDK 8 in my .bashrc, i just compiled and it worked
thanks to your video making me look in .bashrc!
LEGEND!!!!
Click to expand...
Click to collapse
Can this work for my s4 I9506 stock kernel
Kind of over complicated?
No need to modify .bashrc to build kernels, also nautilus-open-terminal, and synaptic arent needed in any way for kernel compilation and its kinda bad practice to auto accept with sudo apt-get install -y.
Also I dont think java is needed to build kernels (since they are mostly C and assembly code), but oracle java 6 is usually what is recommended for android builds.
Basically all you really need to do is install the required packages, download kernel source and desired toolchain, then run these lines in terminal to get your zImage-
export ARCH=arm
export CROSS_COMPILE= <directory to toolchain>
make <your kernel default config>
make -j<number of threads>
That way makes it much easier to try out different toolchains and toolchain versions
Buddy, mention clearly of which device u r using, n on which device it will work.:laugh: by the way nice work
Niku-Droid said:
Buddy, mention clearly of which device u r using, n on which device it will work.:laugh: by the way nice work
Click to expand...
Click to collapse
kernel building for different devices is pretty much all the same, all that differs is the kernel source, defconfig and sometimes a few extra commits to work with linaro toolchain. And if you use the arch specific toolchains you need to pick the right one for your device
metalspring said:
kernel building for different devices is pretty much all the same, all that differs is the kernel source, defconfig and sometimes a few extra commits to work with linaro toolchain. And if you use the arch specific toolchains you need to pick the right one for your device
Click to expand...
Click to collapse
Yea, buddy, but he should mention about which device is he using, so it would give us a brief idea, that what we have to do.
Niku-Droid said:
Yea, buddy, but he should mention about which device is he using, so it would give us a brief idea, that what we have to do.
Click to expand...
Click to collapse
Device: Acer Cloudmobile s500
Cpu snapdragon s4 krait dual—core 1.5 ghz
Gpu Adreno 225;
1gb ram
8 mp camera+1.9 mb front;
1460 mah battery
Hd 720p display
Very nice tutorial. I just got into building from source. Yesterday shortly before you posted this, I have successfully compiled a ROM for the first time. Also can you add the link to the other tutorial when it's done on this thread?
can anyone just post the video links they are not opening on my mobile , are they on YouTube so I can DL them for future reference
Thanks
Look great will be looking into tutorials

t230 kernel testing

I am looking for people that are willing to flash their t230 with my custom kernel.
The main goal is to achieve overclocking on the marvell pxa1088.
I can't promise that the kernel will ever work like it should since i am still a noob but i need someone to try it the roms so i can then promise a full working version to the community.
Requirements:
A tab 4 t230
Root
Flashing experience
I am not responsible for any damage dealt to the device (witch it shouldn't since i didn't even touch the bootloader) or SD carts, nor am i responsible for breakout of ww3 or a zombie Apocalypse
I will send you a pm to a download link if i find interesst in you.
You dont have to do it
CTXz said:
I am looking for people that are willing to flash their t230 with my custom kernel.
The main goal is to achieve overclocking on the marvell pxa1088.
I can't promise that the kernel will ever work like it should since i am still a noob but i need someone to try it the roms so i can then promise a full working version to the community.
Requirements:
A tab 4 t230
Root
Flashing experience
I am not responsible for any damage dealt to the device (witch it shouldn't since i didn't even touch the bootloader) or SD carts, nor am i responsible for breakout of ww3 or a zombie Apocalypse
I will send you a pm to a download link if i find interesst in you.
You dont have to do it
Click to expand...
Click to collapse
Hi! I am ready to test the core.
did you plan to add OTG support in future and kernel for 231?
-=AsteriX=- said:
did you plan to add OTG support in future and kernel for 231?
Click to expand...
Click to collapse
Hi I would love to add it but currently i am still learning allot about custimizing the kernel. So maybe in the future. A big help would be if anyome more experienced could join this project. I will add a gihub link once i achieve something with the kernel. Currently @moonbutt74 is teaching me and helping me as much as he can (thanks man )
EDIT : I am sorry to disappoint you that marvell chips can't have usb otg
Kasymov said:
Hi! I am ready to test the core.
Click to expand...
Click to collapse
I will send you a pm once a kernel is ready
CTXz said:
Hi I would love to add it but currently i am still learning allot about custimizing the kernel. So maybe in the future. A big help would be if anyome more experienced could join this project. I will add a gihub link once i achieve something with the kernel. Currently @moonbutt74 is teaching me and helping me as much as he can (thanks man )
EDIT : I am sorry to disappoint you that marvell chips can't have usb otg
Click to expand...
Click to collapse
tab 3 devs were able to get otg working on a marvell chip
phonetec said:
tab 3 devs were able to get otg working on a marvell chip
Click to expand...
Click to collapse
Could i get a link for the thread or where you see that? Thanks. If its possible i will try to get it working
CTXz said:
Could i get a libk for the thread or where you see that? Thanks. If its possible i will try to get it working
Click to expand...
Click to collapse
http://forum.xda-developers.com/gal.../sm-t110-andriva-custom-kernel-4-2-2-t3071180
phonetec said:
http://forum.xda-developers.com/gal.../sm-t110-andriva-custom-kernel-4-2-2-t3071180
Click to expand...
Click to collapse
The kernel doesn't work. The dev didn't even test it. And users said it doesn't work. btw a github page would be appriciated with the otg modification if you can find anotherone
@CTXz If you need a brave soul.....I'll test as well. PM me a download link when your kernel is available.
I tried flash in Odin - No boot animation, would no boot up (stayed on the splash screen......kernel wouldn't load)
I tried with a flashable zip - No boot animation, would no boot up (stayed on the splash screen......kernel wouldn't load)
I tried Flashify.....flashes recovery and boot imgs - No boot animation, would no boot up (stayed on the splash screen......kernel wouldn't load)
All three tests, Android would not boot up. It stayed on the splash screen. Round 1 - no go........but it's progress.
Kernel build script
C, hey hey i'm working a project right now but here is my "standard" go script for a kernel build. it goes at the top of the kernel source.
fix the script to match the location/version of your toolchain and set for the correct/current defconfig
then goto the top of your kernel source make the script executable
chmod 755 go
then execute the script
./go
the result of you build if sucessful will be in the directory named build, in the top of your kernel source
go script - name go
Code:
#!/bin/bash
rm -frv build
make clean && make mrproper
mkdir -pv build/out/modules build/out/dt_image
export ARCH=arm
export CROSS_COMPILE=/storage/toolchains/linaro-armeabi_4.9-a9/bin/arm-cortex_a9-linux-gnueabihf-
export STRIP=/storage/toolchains/linaro-armeabi_4.9-a9/bin/arm-cortex_a9-linux-gnueabihf-strip
make pxa1088_degaswifi_usa_defconfig
make menuconfig && wait
make CONFIG_NO_ERROR_ON_MISMATCH=y && make modules
./tools/dtbTool -o build/out/dt_image/boot.img-dt -p ./scripts/dtc/ ./arch/arm/boot/dts/
cp arch/arm/boot/*zImage build/out/boot.img-zImage
find -type f -name *.ko -exec cp {} build/out/modules/ \;
ls -al build/out/modules/
cd build/out/modules/
$STRIP --strip-unneeded *.ko
cd ../../../
ls -al build/out/modules/ build/out/dt_image/ build/out/
echo Done !
okay and here my clean script, just run ./clean
Code:
#!/bin/bash
rm -frv build
make clean && make mrproper
echo -en "\e[H\e[J\e[3J"
echo Ready !
m
Kernel Development up here http://forum.xda-developers.com/tab-4/orig-development/kernel-cpu-tweaks-tab-4-t230nu-t3101944
Im ready to flash it and test it Just send me the link
Sent from my SM-N910H using XDA Free mobile app
sirwanesmail said:
Im ready to flash it and test it Just send me the link
Sent from my SM-N910H using XDA Free mobile app
Click to expand...
Click to collapse
Its here : http://forum.xda-developers.com/showthread.php?p=60572872

Fire HD 10 (2019) which architecture APK's to use? Newbie

If I want to sideload an APK which version APK do I use for this tablet? I have gone to an APKmirror website and I see if i find an APK there are different types to download. I do not know which type architecture of APK I should download for this Fire tablet.
These are the types of APK architecture.
armeabi-v7a
arm64-v8a
x86
x86_64
Thanks for your help
83jsmkwKKKQWER said:
If I want to sideload an APK which version APK do I use for this tablet? I have gone to an APKmirror website and I see if i find an APK there are different types to download. I do not know which type architecture of APK I should download for this Fire tablet.
These are the types of APK architecture.
armeabi-v7a
arm64-v8a
x86
x86_64
Thanks for your help
Click to expand...
Click to collapse
I believe you should use armeabi-v7a
Sent from my Fire using Tapatalk
HD 10 2019 have 64-bit CPU, you may try to install arm64-v8a, if application does not work - install v7a version.
A53/A73 are V8 arch
83jsmkwKKKQWER said:
If I want to sideload an APK which version APK do I use for this tablet? I have gone to an APKmirror website and I see if i find an APK there are different types to download. I do not know which type architecture of APK I should download for this Fire tablet.
These are the types of APK architecture.
armeabi-v7a
arm64-v8a
x86
x86_64
Thanks for your help
Click to expand...
Click to collapse
In short: arm64-v8a. The 9th gen HD 10 uses a big.LITTLE 4+4 config of Cortex-A53 and Cortex-A57, both use Armv8A arch.
FYI:
armeabi-v7a: Arm's Armv7 arch, latest 32 bit arch.
arm64-v8a: Armv8 arch, 64 bit.
x86: Intel's 32 bit arch
x86_64: 64 bit x86
And the winner is?
I was just curious as to which version you got to work with your unit. Thank you.
Devcheck will show you which type
https://play.google.com/store/apps/details?id=flar2.devcheck
Sent from my mata using XDA Labs
sd_shadow said:
Devcheck will show you which type
https://play.google.com/store/apps/details?id=flar2.devcheck
Sent from my mata using XDA Labs
Click to expand...
Click to collapse
Ahh thats great info The_Shadow mine says
Architecture: armv8I (32-bit)
Instruction sets: armeabi-v7a armeabi
TheFool131 said:
Ahh thats great info The_Shadow mine says
Architecture: armv8I (32-bit)
Instruction sets: armeabi-v7a armeabi
Click to expand...
Click to collapse
I think i know how it works, just like with Fire HD8, the CPU is set to work in 32 bit only, that means we can't really use Armv8 apps and we have to use armeabi-v7a. That's my opinion which may be false considering that i don't really own HD10
Xinto said:
I think i know how it works, just like with Fire HD8, the CPU is set to work in 32 bit only, that means we can't really use Armv8 apps and we have to use armeabi-v7a. That's my opinion which may be false considering that i don't really own HD10
Click to expand...
Click to collapse
I can test it for you if you want.
TheFool131 said:
I can test it for you if you want.
Click to expand...
Click to collapse
Thanks, it's very simple to test, download any ARMv8 only app and see if it gives any errors during installation, if it will give somethin like this: "This app can not be installed on your Tablet", that means my thoughts are correct and we van only use armeabi-v7a apps
Xinto said:
Thanks, it's very simple to test, download any ARMv8 only app and see if it gives any errors during installation, if it will give somethin like this: "This app can not be installed on your Tablet", that means my thoughts are correct and we van only use armeabi-v7a apps
Click to expand...
Click to collapse
I know this sounds bad but... here goes... do you have an example app? Thank you for your patience
TheFool131 said:
I know this sounds bad but... here goes... do you have an example app? Thank you for your patience
Click to expand...
Click to collapse
Of course i have one, forgot to give an example, this one is the first that got in my mind
https://www.apkmirror.com/apk/squar...s-strange-1-00-296-android-apk-download/#file
Xinto said:
Of course i have one, forgot to give an example, this one is the first that got in my mind
https://www.apkmirror.com/apk/squar...s-strange-1-00-296-android-apk-download/#file
Click to expand...
Click to collapse
App not installed, that means it's not a 64bit device right?
TheFool131 said:
App not installed, that means it's not a 64bit device right?
Click to expand...
Click to collapse
It is a 64 bit device but with 32 bit instructions, A.K.A we can only run armeabi-v7a apps
Xinto said:
It is a 64 bit device but with 32 bit instructions, A.K.A we can only run armeabi-v7a apps
Click to expand...
Click to collapse
I see thank you for the guidance @Xinto
so whats the workaround or how do we go about installed 64bit apps because some dont have the 32bit variant
Per my earlier post - should the google service apk's be able to update themselves once installed or do they need to be manually updated via the tool? I get the notification on the tablet that they need to be updated or google services won't work. (essentially) If it matters, it's on a 10th gen HD 8.
Thx
blaze2051 said:
so whats the workaround or how do we go about installed 64bit apps because some dont have the 32bit variant
Click to expand...
Click to collapse
Hey, did you find a way to install 64 bit apps?
Kleriger said:
Hey, did you find a way to install 64 bit apps?
Click to expand...
Click to collapse
no i think it has to do with the OS and theres no way to replace the Os

Categories

Resources