android emulate failed using AOSP source - General Questions and Answers

Hi, I downloaded android full sources 5.1, 6.0, 7.0 and i built them.
I tried to check operating using the android emulator in sdk, but it failed except 5.1.
I replaced original image file( system.img, ramdisk.img, userdata.img) to new built files. And then I run. But I can't see android logo and it didn't progress.
I chose mini-emulator-arm-debug and original emulator image same to version and AOSP.
I didn't know why android 5.1 is operated but android 6.0 and 7.0 didn't do it. Has the method of execution changed?
So please help me.
1. The source build is succeeded.
2.Emulator screen showed only black. I tried to connect using adb shell but failed.

Related

[Q] [Generic Device] Howto upgrade OS inside the img file

Recently i was given an android device by a friend.. once i got to looking around at it, it appears to be some generic device from china.
After searching for days, i found the maker as fugetek. I emailed them asking for a release date on OS upgrade (from 4.1.1 -> kitkat) and was informed that " Updates are needed, and won't be made. "
Emailed them again asking for the source / project files they used to build the android OS for this device so i could update it myself...
Here is what they sent me:
(image attached)
As you can see.. these are hardly project files / source files, but rather a flashing tool, a set of " how to " doc's for flashing the device, and a compiled *.img
My Question:
1) Is it possible to extract / mount the img file, and manually upgrade the OS to kitkat witout losing any hardware functionality
2) If it is indeed possible to upgrade the android OS version using the img file as src, does anyone know of a step-by-step guide / tutorial on how this is done.
[EDIT] UPDATE: Seems the PheonixUSBPro flashing utility links to an " Alwinner " PDF when you click help..
I am assuming this is pretty much the same image being passed around by the chinese for their generic 7" Android Devices
From what i'm reading.. this is going to a fun, and somewhat convoluted project
Device Details:
Manufacturer: Fugitek Technologies / Lonestar Group:
Model: OCOCCI_MID
Android: 4.1.1
Baseband: jellybean
Kernel Version:
308+
[email protected] #206
Mon Nov 4 14:17:42 CST 2013
Build Number:
nuclear_pfdq88d-eng 4.2.2 JRO03C 20130913 test-keys
Any help would be most appreciated
If anyone requires the " source " zip they sent me, let me know, and i'll upload it somewhere for you.

[GUIDE][NOOBS]All For Android👀 📱

Hey , Guys this Thread Is Specially Made for Noobs. With All Info For Android.
So , Let's Directly go to Topic
Firstly What Is Android?
• a robot with a human appearance.
•an open-source operating system used for smartphones and tablet computers which is based on Linux Os.
Source- Google
_____________________________
Version Of Android
Cupcake:
Android 1.5
Donut:
Android 1.6
Eclair:
Android 2.0
Android 2.1
Froyo:*(short for "frozen yogurt") & The Most successor Veraion
Android 2.2
Gingerbread:
Android 2.3
Honeycomb:
Android 3.0
Android 3.1
Android 3.2
Ice Cream Sandwich:
Android 4.0
Jelly Bean:
Android 4.1
Android 4.2
Android 4.3
KitKat:
Android 4.4
Lollipop:
Android 5.0
Android 5.1
Source-android.stackexchange
______________________________
What is Root?
★In Simple Word Rooting Means gives Read-Write[RW] permission on System Dictionary.★
Rooting*is the Android*equivalent of jailbreaking, a means of unlocking the operating system so you can install unapproved (by Google) apps, update the OS, replace the firmware, overclock (or underclock) the processor, customize just about anything, and so on.
Source- Google
______________________________
What is Recovery?
A combination of key presses (or instructions from a*command line) will boot your phone to recovery, where you can find tools to help repair (recover) your installation as well as install*official OS updates.
Source-Android A to Z
_____________________________
What is Bootloader?
•Every Android phone has a bootloader that instructs the operating system kernel to boot normally. But you need to understand one thing here that as Android OS is an open source OS and is available on a variety of different hardware, every manufacturer has their own version of bootloader specific for the hardware present in it’s environment.
Source-addictivetips.com
____________________________
★Advance Section★
1. Bootloop - Bootloop means your phone doesn't but up right, it's just starting and starting and nothing happens, or it's starting and shutting down and starting again. It just means your phone makes a loop while booting.
2. Brick - Brick means your phone can't boot up and you can only recover it with for example flash the stock rom. But there are different bricks for example soft bricks (for example bootloops) and hard bricks (for example doing and over the air=ota update when bootloader is unlocked). There are some other bricks and examples as well.
There Are Two Types of Bricks
1.Soft Brick - you can still turn your phone on but it doesnt really start (bootloop i think is a kind of soft brick. )
this kind of brick can be fixed through softwares like flashtool.
2. Hard Brick - you can't turn your phone on and it doesnt really start, you don't get any response from it.
Click to expand...
Click to collapse
3. Fastboot - Fastboot mode is used to flash a kernel if the bootloader is unlocked. With fastboot you flash a boot.img for your device, for example a kernel for a specific rom
Source - from( XDA)
_____________________________
What is Nandroid?
the type of permanent storage memory that your device uses, and Android. A*Nandroid*backup is a de-facto (by the hacking community) standard directory structure for backing up a perfect mirror image of your Android device.
Source - Google
_____________________________
What is Kernel ?
is a “deeper” line of code that rests beneath the surface, so to speak. It tells the software how to interact with the hardware.
____________________________
What is Custom Rom?
A*custom ROM replaces your device's Android operating system — normally stored in read-only memory — with a new version of the Android operating system.
Some Famous Custom Roms Are
°Cyanogen Mod
° Pac-Man
etc...
___________________________
What is Flashing?
Flashing is a process in which system's update Any Kind of files like Apps , System file etc...
___________________________
This Things Might Confused Many People But for Development of Android.
You Have To Totally Know This Types Of Things.
Good info for noobs:thumbup:
suresh.anthati said:
Good info for noobs:thumbup:
Click to expand...
Click to collapse
Thanks Dude

AOSP Binaries for Nougat (7.0) posted. AOSP possible?

Sony uploaded the binaries for multiple Xperia devices, among others the Z3: http://developer.sonymobile.com/open-devices/list-of-devices-and-resources/
The build instructions can be found here: http://developer.sonymobile.com/ope...uild-aosp-nougat-for-unlocked-xperia-devices/
Does this mean, we can build AOSP now? I'd like to try out myself, but I won't have access to my PC for a couple of days. Has anyone else tried building and flashing it?
Edit: The Nougat binaries seem to point to the Marshmallow ones. Is this right? Pinging @jerpelea.
cypressious said:
Sony uploaded the binaries for multiple Xperia devices, among others the Z3: http://developer.sonymobile.com/open-devices/list-of-devices-and-resources/
The build instructions can be found here: http://developer.sonymobile.com/ope...uild-aosp-nougat-for-unlocked-xperia-devices/
Does this mean, we can build AOSP now? I'd like to try out myself, but I won't have access to my PC for a couple of days. Has anyone else tried building and flashing it?
Edit: The Nougat binaries seem to point to the Marshmallow ones. Is this right? Pinging @jerpelea.
Click to expand...
Click to collapse
I think that the good binaries, if you read, you can see that behind "Download AOSP Nougat (Android 7.0) binaries" it read please download Android 6.0.1.
Dumping insights as I try to build it myself.
If you get the error "unknown target -j", try setting the number of parallel processes via environment variable:
Code:
export MAKEFLAGS='-j8'
If you get Out of memory crashes with jack, try the tip from https://android.googlesource.com/platform/prebuilts/sdk/+/master/tools/README-jack-server.md:
Code:
jack-admin stop-server
export ANDROID_JACK_VM_ARGS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
Built the Rom, tried flashing it via fastboot which failed with "FAILED (remote: size too large)" and the phone was stuck on the Sony logo. I finally managed to boot into flash mode and reflash N Preview 4.
Next, I added
Code:
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2143289344
to the BoardConfig.mk in /device/sony/leo and built again. Now I was able to flash system.img.
cypressious said:
Built the Rom, tried flashing it via fastboot which failed with "FAILED (remote: size too large)" and the phone was stuck on the Sony logo. I finally managed to boot into flash mode and reflash N Preview 4.
Next, I added
Code:
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2143289344
to the BoardConfig.mk in /device/sony/leo and built again. Now I was able to flash system.img.
Click to expand...
Click to collapse
so, did it work? is the rom stable?
brenosabino said:
so, did it work? is the rom stable?
Click to expand...
Click to collapse
It's stable, but RIL and camera are mostly broken. The issues are discussed here: https://github.com/sonyxperiadev/camera/pull/20#issuecomment-244609398
Four days ago, Sony Developers posted the ZIP of Android 7.1 binaries for Xperia X devices. Knowing that X and Z devices shared the ZIP of Android 6.0.1 binaries, it will be possible to use this on our Z3 device? This is the link: http://developer.sonymobile.com/dow...oftware-binaries-for-aosp-nougat-android-7-1/
if there is interest I can make a build with GApps pre installed?
Would it be possible to build android 8.0 now for this?? Via the oreo build instructions?? https://developer.sonymobile.com/op...-build-aosp-oreo-for-unlocked-xperia-devices/
Edit: well just noticed kernel 4.4, so guess not, sad

How to port libs to Android x86

Hi! Take a look at this situation: I have an Android x86 tablet (model Multilaser M7i Nb190) Intel, Android 4.4, but the internal emmc memory i'snt working anymore, but the rest of the device still 'works', Generic Android x86 boot up, even Ubuntu n' ZorinOS Lite, but I can go after setup screen because there's no touchscreen support for my device, I have the original rom, but the structure of the device rom and of the Android x86.iso seems to be different. How to port the device drivers (libs) to the Android x86 generic.iso rom? I have version of Android x86 4.4, its better to use it because it is the same version of the device rom (in general)? Thanks for any help. ... And why xda app still giving network error after trying to upload an image?!

Toshido T12-EEA, HowTo root it?

Hi Everyone, I hope somebody can help me I've a Toshido Android tablet with mainly these specifications below:
- OS: Android 10;
- RAM 4GB;
- STORAGE: 64GB.
I own this tablet from several time, and now I'd like to root it, but it does not seem to be a widespread model. Could somebody help?...
Thanks in advance for any help, please sorry for my english and my poor experience too, let me know if I forgot something
Look inside here ( note: the method suggested is generic )
[ GUIDE ] [ ANDROID 10 ROOT ] [ HOW TO ] Patching Boot.img with Magisk
Here's how to root the Pixel 3 running on official and stock Android 10 release, step by step : (not tested on Pixel 3 XL but it might work the same, just use the right firmware for your device) What do you need : > Pixel 3 phone with Android...
forum.xda-developers.com
xXx yYy said:
Look inside here ( note: the method suggested is generic )
[ GUIDE ] [ ANDROID 10 ROOT ] [ HOW TO ] Patching Boot.img with Magisk
Here's how to root the Pixel 3 running on official and stock Android 10 release, step by step : (not tested on Pixel 3 XL but it might work the same, just use the right firmware for your device) What do you need : > Pixel 3 phone with Android...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you, I downloaded and installed Magisk on the tablet and yet downloaded the link of the described "Android 10 factory image" (it's valid for my Toshido tablet too, right?.. ), then I extracted all into my pc, and copied a file named "boot.img" into my tablet as described on the thread (as I understood..)...for now I wished ask you if till now I did right.. (I didn't install the "Boot.img" file yet, because I still have to install ADB and FASTBOOT tools because I tried but my Linux OS is giving me some problems w repository 'n I'm trying to solve hoping soon...)
I'd like if someone can follow me in these steps... I hope to not annoy you I'd be very gratefull if you can do, 'cause I still have very little experience...
The latest ADB / Fastboot drivers you can obtain here:
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
Sorry, I looked for the 32-bit version I supposed it was available on any architecture, but it doesn't seem to exist for me... I have a laptop with Linux OS on 32-bit Hardware, then I can not do anything? Thank you anyway

Categories

Resources