You mean bootloop?build finished, But after flashing mobile, My Device Can Not Start Boot Normally And reboots
You mean bootloop?build finished, But after flashing mobile, My Device Can Not Start Boot Normally And reboots
please post a link to your device sources (device, vendor, kernel)
please post a link to your device sources (device, vendor, kernel)
[ 52% 14718/28091] target C++: hwcomp...ay/msm8994/libhwcomposer/hwc_utils.cpp
FAILED: out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_utils.o
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-g++ -I hardware/qcom/display/msm8994/libhwcomposer/../libgralloc -I hardware/qcom/display/msm8994/libhwcomposer/../liboverlay -I hardware/qcom/display/msm8994/libhwcomposer/../libcopybit -I hardware/qcom/display/msm8994/libhwcomposer/../libqdutils -I hardware/qcom/display/msm8994/libhwcomposer/../libhwcomposer -I hardware/qcom/display/msm8994/libhwcomposer/../libhdmi -I hardware/qcom/display/msm8994/libhwcomposer/../libqservice -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display/msm8994/libhwcomposer -I out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I out/target/product/angler/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include_jni \$(cat out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem out/target/product/angler/obj/include -isystem device/huawei/angler/kernel-headers -isystem hardware/qcom/msm8994/kernel-headers -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -fdiagnostics-color -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -mcpu=cortex-a53 -Wsign-promo -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DANDROID_JELLYBEAN_MR1=1 -DLOG_TAG=\\\"qdhwcomposer\\\" -std=c++11 -fPIC -D_USING_LIBCXX -Wno-attributes -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -MD -MF out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_utils.d -o out/target/product/angler/obj/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_utils.o hardware/qcom/display/msm8994/libhwcomposer/hwc_utils.cpp"
In file included from frameworks/av/media/libmedia/include/media/IMediaPlayer.h:27:0,
from frameworks/av/media/libmedia/include/media/IMediaPlayerService.h:29,
from frameworks/av/media/libmedia/include/media/IMediaDeathNotifier.h:21,
from hardware/qcom/display/msm8994/libhwcomposer/hwc_qclient.h:37,
from hardware/qcom/display/msm8994/libhwcomposer/hwc_utils.cpp:41:
frameworks/av/include/media/VolumeShaper.h: In copy constructor 'android::media::VolumeShaper::Configuration::Configuration(const android::media::VolumeShaper::Configuration&)':
frameworks/av/include/media/VolumeShaper.h:135:18: error: base class 'class android::Parcelable' should be explicitly initialized in the copy constructor [-Werror=extra]
explicit Configuration(const Configuration &configuration)
^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
16:22:13 ninja failed with: exit status 1
#### failed to build some targets (04:36 (mm:ss)) ####
# DRK permission
mkdir /efs/prov 0770 radio system
chown radio system /efs/prov/libdevkm.lock
chmod 0660 /efs/prov/libdevkm.lock
Friends,
I'm in a making of an application that has to be running on a custom rom (this projects is running for 1,5 years now and I am nearly finished). Basically I am creating a tablet that is meant to be used for one thing only and that's it (purpose made machine). Have nearly finished my app and have built my ROM with most of the modifications I needed (cm14.1).
Few things I cannot figure out.
The goal is to avoid the "give permission" pop-up window to appear at the first run of the app.
1.: Is it achievable to have the required permissions already given to my application? Can I set this somewhere in the source files?
2.: Alternatively can I give all the required permissions to every app somehow?
3.: Is the above goal is achieveable at all?
This tablet will be used in schools by mentally low-skilled people and cannot rely on them reading and giving the permissions at the first run. I also dont want their teachers to do this at the first time after the tablets are delivered. I would like to have a ROM that I flash and will have everything ready to go.
Can anyone help?
Hi,
Where can I obtain proprietary files for my Wiko View? I'm trying to compile a 9.0 AOSP-based ROM, but I can't find anything online.
Aaand sorry for the dumb question
On GitHub there isn't nothing for my device. But there are 2 repos for another device, that for what I saw it's similar (or identical too) to mine. Tinno bought Wiko last year, so maybe they can be useful. Here are the links.
On GitHub there isn't nothing for my device. But there are 2 repos for another device, that for what I saw it's similar (or identical too) to mine. Tinno bought Wiko last year, so maybe they can be useful. Here are the links.
Device compared: https://www.devicespecifications.com/en/comparison/5e37d2e7f
Android device for similar device: https://github.com/TINNO-8937/android_device_micromax_hs2
Proprietary vendor for similar device:
https://github.com/TINNO-8937/proprietary_vendor_tinno
So can I use them for my device?
You can TRY. But always you can find any rom for this device Micromax Canvas Infinity and port them.
For the port: isn't port only possible between same version rom? ex. 7.1 to 7.1. What I am trying to achieve is to upgrade my device to 9.0. (From what I know)
For the compile: Now I only miss the kernel. Any advice? Do I need that for my device or the latest one?
Fitrst question, Porting is only rom 6.0 to 6.0 not from 6.0 to 9.0.
Second question, I didin't find any kernel repositories. As you can see on XDA there is 0 roms for Micromax Canvas Infinity - https://xdaforums.com/t/micromax-canvas-infinity
Also you cannot use this propert vendor (https://github.com/TINNO-8937/proprietary_vendor_tinno), there is msm8937 and you have msm8917. Addidtional there is only branch cm-14.1 - android 7.1.2.
https://www.devicespecifications.com/en/comparison/5e37d2e7f
You have to find device with same Processor - msm8917 snapdragon 425 and for better SAME RESOLUTION and same GB of RAM. Then this maybe something we can do.
So the device tree is correct or I need to change that too? Oh man, this is more complicated that I thought! (and I like it )
Anyway, for vendor and kernel is there a way to "get them from my current rom"? Any other way is accepted too.
To make it easier, you just need to find a device that is similar or nearly identical to yours. There is no need to complicate matters, just find a simple exit.
I find a HUGE list of smartphones who using Snapdragon 425 (msm8917) I pretty sure, you there find a similar device to your - https://www.kimovil.com/en/list-smartphones-by-processor/qualcomm-snapdragon-425-msm8917
If you've already found a device, I'd be happy to help you with the ROM porting for your Wiko View.
Oh yeah, thank you dude! Where can we talk?
I think the Xiaomi Redmi 5A can be a nice one to start with. It has got same Soc, but different RAM, and screen resolution. The reason I choosed this one is because someone already developed a 9.0 Rom (https://xdaforums.com/xiaomi-redmi-5a/development/rom-carbonbeta-cr-7-0-t3830374). I don't know if this can be useful.
The most similar to mine is the Huawei Y6 2018, with same Soc, RAM and screen resolution.
What should we use for porting? Thanks again for helping me.
[COLOR=#000000]sudo apt-get purge openjdk-\* icedtea-\* icedtea6[COLOR=#007700][COLOR=black]-\*[/COLOR] [/COLOR][/COLOR]
wget https://launchpad.net/~webupd8team/+archive/ubuntu/java/+files/oracle-java6-installer_6u45-0%7Ewebupd8%7E8_all.deb sudo dpkg -i oracle-java6-installer_6u45-0~webupd8~8_all.deb wget https://launchpad.net/~webupd8team/+archive/ubuntu/java/+files/oracle-java6-set-default_6u45-0%7Ewebupd8%7E8_all.deb sudo dpkg -i oracle-java6-set-default_6u45-0~webupd8~8_all.deb
[COLOR=#000000]java -[COLOR=#0000BB][COLOR=black]version [/COLOR] [/COLOR][/COLOR]
sudo apt-get update && sudo apt-get install openjdk-7-jdk
sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
sudo apt-get update
sudo apt-get upgrade
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
sudo nano ~/.bashrc
export PATH=~/bin:$PATH
source ~/.bashrc
mkdir cm11
cd cm11
[FONT=Arial][SIZE=4]repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0[/SIZE][/FONT]
[FONT=Arial][SIZE=4]git config --global user.email "you@example.com"
git config --global user.name "Your Name"[/SIZE][/FONT]
repo sync -j#
cd cm11/.repo
nano local_manifest.xml
[COLOR=#000000][COLOR=#0000BB]<?xml version[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"1.0" [/COLOR][COLOR=#0000BB]encoding[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"UTF-8"[/COLOR][COLOR=#0000BB]?>
[/COLOR]<manifest>
[/COLOR]<project path=" directory in work tree" name="name of the repository in remote" remote="name of remote defined earlier" revision="branch of the repository" />
[COLOR=#000000]</manifest>[/COLOR]
[COLOR=#000000][COLOR=#0000BB]<?xml version[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"1.0" [/COLOR][COLOR=#0000BB]encoding[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"UTF-8"[/COLOR][COLOR=#0000BB]?>
[/COLOR]<manifest>
<project path="device/samsung/i9082" name="pawitp/android_device_samsung_i9082" remote="github" revision="cm-11.0" />
<project path="vendor/samsung/i9082" name="k2wl/android_vendor_samsung_i9082" remote="github" revision="master" />
<project path="kernel/samsung/i9082" name="pawitp/android_kernel_samsung_i9082" remote="github" revision="cm-11.0" />
</manifest>[/COLOR]
cd cm11
[COLOR=#000000][COLOR=#007700]. [/COLOR][COLOR=#0000BB]build[/COLOR][COLOR=#007700]/[/COLOR][COLOR=#0000BB]envsetup[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]sh[/COLOR][/COLOR]
[COLOR=#262626]time brunch <codename>[/COLOR] [COLOR=#000000][COLOR=#007700]-[/COLOR][COLOR=#0000BB]j[/COLOR][COLOR=#FF8000]#[/COLOR][/COLOR]
ssh-keygen -t rsa -C "your_email@example.com"
# Creates a new ssh key, using the provided email as a label
[LEFT]# Generating public/private rsa key pair.
# Enter file in which to save the key (/home/you/.ssh/id_rsa):
# Enter passphrase (empty for no passphrase): [Type a passphrase] # Enter same passphrase again: [Type passphrase again]
Your identification has been saved in /home/you/.ssh/id_rsa.
[LEFT]# Your public key has been saved in /home/you/.ssh/id_rsa.pub.
# The key fingerprint is:
# 01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:db your_email@example.com
ssh -T git@github.com
The authenticity of host 'github.com (207.97.227.239)' can't be established.
# RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
# Are you sure you want to continue connecting (yes/no)?
Hi username! You've successfully authenticated, but GitHub does not
# provide shell access.
cd aogp/device/samsung/i9082
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/username/aogp_device_samsung_i9082.git
git push origin master