RAM DUMP - ONE Q&A, Help & Troubleshooting

How to take RAM dump From One Plus One ...?

you will need
Android Kernel Source Code
Knowledge about cross compile kernel
LiME
Basic Linux and ADB knowledge

Related

Need Help To Configure Android Kernel For BA

I am trying to compile android from source and here's my setup : -
-> Ubuntu latest on VirtualBox With all latest updates required from compiling along with source and kernel.
I need to know how to configure android kernel menuconfig for Htc BlueAngel.
Can any one point out some good tutorials for it where I can learn how to compile and configure Android kernel ?

Some minor info on porting a custom ROM.

Hey devs. I've worked with some ROMs and now I'm willing to port Blisspop ROM for my device. And all I have is the official kernel source, AOSP device source codes and some vendor codes using scripts. Now my questions are:
1. Are these data enough to start building the ROM?
2. I tried it using AOSP and CyanogenMod 5.1.1r3. But I always keep getting some files missing or compiler issues.
3. How do I apply patches from a URL?(I'm not fond of git)
4. Any link to a tutorial can be provided.
Additional info:
I'm working on Ubuntu 14.04 x64 LTS in VirtualBox.
Allocated 4 cores and 4gb RAM.
I'm porting it to an x86 arch device.
VHD size is 400gb.
And the kernel source is said to work with AOSP 4.4.2 though it functioned will with AOSP 5.1.1r3.
Also I followed several guides but most of them are for arm devices. And did not workout for me.
Kindly help me out guys.

Develop custom rom from scratch (non-developing devices)

Can anyone help me find my device source tree.... I have "10.or G" i couldn't find it... I am confused now .... What should i do?
Kernel sourse for this device has been released for nougat.... How can i use it to build roms based on oreo... Or even recovery?
I am a noob in developing roms .... I have some knowledge of flashing and using them... Now i want to develop my own since this device has no developers . Also ,no information on github(device source tree )
Device info:
SoC: Snapdragon 626
Sources available : android nougat kernel source code
Current android os : android 8.1
Treble support : no
Any help will be appreciated

How do I build a kernel tree? Where do I start?

So I wanna compile a custom kernel for my device. For example, I want to make elementalX or maybe a hydra kernel for my device. But I need a kernel tree for my device, and due to my device being too unknown... nobody has made one. So could you link a guide of video showing step by step how to build a kernel tree?
A good reference can be found here:
[REFERENCE] How to compile an Android kernel
Introduction Hello everyone, I will be going over how to compile a kernel from beginning to end! Prerequisites: A Linux environment (preferably 64-bit) Knowledge of how to navigate the command line Common sense A learning spirit, there will be...
forum.xda-developers.com
And here:
Building Kernels | Android Open Source Project
source.android.com

Questions on Kernel compilation

I'm new to the android build system but have been running stripped kernels for years. I'm working on a custom rom for a TCL A30 (MT6762/MT6765).
I've looked at the AOSP code base and TCL source, for a similar device, and it looks like the TCL source generates the needed kernel .config file with scripts. There are multiple scripts for different archs and cellphone carriers. My TCL A30 has a Bangkok_CC (ConsumerCellular) tag and I found arch/arm64/configs/bangkok_TF_defconfig (TracFone). There do not appear to be any patches in the TCL source. The source I found:
TCL-Mobile on sourceforge
Has the Tracfone TCL A3:
Tracfone TCL A3x product link
That source contains Bangkok_TF_defconfig.
I was able to adb pull /proc/config.gz directly from the device and it's running 4.19.126+ released last month.
First question: Can I generate a bangkok_CC_defconfig from /proc/config.gz in the AOSP code base? It is mosttly monolithic
Code:
cat .config | grep =m > kernel_modules.txt
CONFIG_IKHEADERS=m
CONFIG_TCP_CONG_WESTWOOD=m
CONFIG_TCP_CONG_HTCP=m
CONFIG_SERIAL_OF_PLATFORM=m
CONFIG_BATTERY_MT6359=m
CONFIG_SND_SOC_MT6359_ACCDET=m
CONFIG_USB_DUMMY_HCD=m
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PLTFM=m
CONFIG_MMSTAT_TRACER=m
At the time of this post the latest upstream is 4.19.244
Second question: Are most Android projects like Debian/RHEL where they back patch kernel vulnerabilites? Would the most up-to-date kernel result from the latest AOSP source and would building it just be a matter of dropping in my /proc/config.gz and setting the build environment that I found in the TCL source?
I suspect that AOSP is contributing back to kernel.org. Third question: AOSP vs Kernel.org source? Does Google backport like RHEL/Debian? Or would I get a more recent,, secure kernel using upstream kernel.org source?.
Last question Clang vs GCC. I've just setup my Arch Linux build box w/ arm64_gcc. Speed is less important to me than stable builds. What are the arguments for one compiler over another?

Categories

Resources