[KERNEL-COMPILING], [M8], Can’t boot zImage - Android Q&A, Help & Troubleshooting

Hello guys ,
Thanks in advance for any help that I may receive.
Im trying to compile a kernel for my HTC One M8, based on the LineageOS-Kernel (from Github; android_kernel_htc_msm8974), with binfmt_misc support.
My approach:
1. Getting the Kernel Source with the git clone command and downloading+unzip the ndk toolset (r14b)
2. Moving both Extracted "Source Code" and "NDK Folders" to "Testing" folder
3. cd ~/Testing, then: export CROSS_COMPILE=/home/canberk/Testing/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
4. cd htc ( folder with kernel source)
5. make clean && make mrproper
6. export ARCH=arm
7. make msm8974_defconfig
8. make gconfig, in order to configure the kernel with a graphical menu
9. make –j4
But after starting the process, im getting this error.... (Error: arch/arm/boot/dts/msm8974-fluid.dtsi:721.2-3 label or path, 'dsi_tosh_720_vid', not found)
I have no idea, what that means or did i just forget a command ? I need your help :crying:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

UPDATE 16.01.2019:
By installing the device-tree-compiler (available in the ubuntu repos), my first problem was solved.
I did compile my kernel successfully (without any errors), but now i cant boot it, by typing : fastboot boot zImage.
I have no idea what to do now. My phone just simply restarts, but still uses the default kernel.

Related

[TOO] [SHARE] APK Java Viewer

Note : I am Sharing the work of forumber2.All the credits goes to him A little intoduction by him
forumber2 said:
APK to Java Viewer​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi all!
As you know, we can view and save java classes in classes.dex via some tools. And we have enough guides (like this; http://goo.gl/QkK6P7 ) but it requires effort so, I made this small tool for lazy people
This script will show the java files in your apk/jar (framework). Instructions as below:
1. Download the zip in Attachments.
2. Extract Java-Viewer.zip anywhere on your PC.
3. Put your an apk or jar (framework) in "Input".
4. Execute "Run_me_first.bat"
5. Follow Instructions (in tool)
**JRE is required
**IMPORTANT: DO NOT leave spaces when you name your apk files, e.g. "123 abc.zip" is a no go, "123abc.zip" is the correct way,
Bugs;
-After converting dex to jar, the script ends suddenly. Thats why you need execute View_Java.bat after finish Run_me_first.bat script
-jd-gui can't decompile all smali files.
Applications are used;
-JD-GUI 0.3.6
-7zip
-dex2jar-0.0.9.15
Credits;
@Ryuinferno for his "Sign-em!" thread style
@lickarock for his guide and his screenshot
Click to expand...
Click to collapse
Downloads Here
Orginal Threads

[TOOL] GetDump system dumper

Intro:
Today I present you with GetDump, a Windows batch file that is the simplest way to get a system dump from your phone. All its takes is 2 clicks. I might add Linux and Mac OS 10 support in the future, but if anybody wants to do it for me that would be great. The ADB files are included in the zip so you don't need to install them. I hope I posted this is the right place....
Requirements:
Your device drivers (The drivers from the manufacture)
Windows
Should have ADB installed
How to use:
Unzip the GetDump.zip file then once its unzipped double click on the GetDump.bat file. After that follow the onscreen instructions. Once its done a window will pop up with your system dump inside of it.
Download:
http://www.mediafire.com/download/sa7jy5s2frtzve1/GetDump.zip
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
Andy Huynh - For teaching me MS-DOS
My cat Chibbs - For testing
Hey cool, gonna DL for my Windows! Someone already beat ya to it in Linux tho
http://forum.xda-developers.com/showthread.php?p=62845957
Gratefully sent from my Rooted JollyRoger_B13
bcrichster said:
Hey cool, gonna DL for my Windows! Someone already beat ya to it in Linux tho
http://forum.xda-developers.com/showthread.php?p=62845957
Gratefully sent from my Rooted JollyRoger_B13
Click to expand...
Click to collapse
Tell Me how you like it. SuperRs does more then just a system dump, but I might make one that just does a system dump.

(Help!) Annoying notification: "The system..." (The link to new thread in this post)

(Help!) Annoying notification: "The system..." (The link to new thread in this post)
Note: English isn't my primary language and I'm only 14
The update thread: https://forum.xda-developers.com/android/help/help-annoying-notification-damaged-t3669238
Here is the problem:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, I had successfully add all of the Google Apps into the "non GApps" system.img (MediaTek rom), but after I booted up my phone, the annoying notification shown up. But this doesn't happend to the original rom
So this is what I did
1. I download the rom from NeedRom
2. I download the Google Apps from https://www.androidfilehost.com/?fid=24052804347821182
3. I unpack the system.img using this tool from the forum
4. I delete all of the "china parts" from the rom
5. I copy the GApps from step 2 to the system unpacked folder from step 3
6. I repack the system with the same tool from step 3 and apply the rom into the phone using SP Flash Tool
Finally the phone came up with the alert notification
BUT there is a small detail that I notice while I was playing around the Auto Tool v3
( This is the part when I unpack - repack - unpack the file :3 )
Is there anything that I can do to remove the annoying alert? Even if I have to apply the rom again.
P/s: this is the file_contexts I pulled out from the boot.img if someone wil going to unpack the system.img
https://drive.google.com/file/d/0B1RTsnBzcaa5UGNwSE1SRi1LRXc/view
The alert also shown up when I rooted my device and only when I unroot it (I use KingRoot)
Thanks to everyone is going to help me

HELPP! Can´t open my deivce firmware.zip file to extract boot.img.

Hi, so i got a simple tablet, Multilaser M7S Lite, and i want to root it, my main goal is to be able to edit System folder, i want to change the boot animation, mainly.
So , since there is no TWRP recovery for this brand, i decided that the only way, was with magisk patching boot.img. So i found my deivce firmware - https://www.stockrom.net/2021/04/multilaser-m7s-lite-so06-v7-20200509-8-1oreo.htmland download the .img file. So to extract the boot.img, i need to change it to .zip file and open. But when opening it it says the following:
And using 7-zip, it only extract this files :
What can i do?
The firmware-package file you linked to is a .RAR-formatted archive.
When you unpack this .RAR-file then you can see a ML***USER.img is housed therein what is tablet's Stock ROM.
To unpack this .IMG-file you may use sim2img provided here:
[DEV][Tools] simg2img for Windows
Hello, although I'm working in Linux (VM too) I rewrote the SIMG2IMG so far for Windows (PE32, x86) Usage: simg2img.exe -i -o Optional: -d for debugging messages, listing all chunks of the image...
forum.xda-developers.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Running sim2img, it says bad magic.
It's the full firmware but is it an allwinner or a rockchip or... These tabs can be like whatever. Check that first then google how to extract etc.
I found this: https://forum.xda-developers.com/t/...images-unpacker-packer.1753473/#post-28329544
SOO i manage to unpack it!!
Which file i use in magisk to patch?? boot.fex?
yep.

[Windows 11 w/ WSA][TOOL][ADB] GMS Installer

Hi all
I present you my Windows CMD script
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
what I wrote to add GMS apps to WSA.
If you're intetested in this script then feel free to download it from here
Usage:
1. Extract the downloaded .ZIP to any location of your Windows computer
2. Within the extracted package run WSA-GMS-Installer.bat
Disclaimer:
This software is "AS IS". It may contain bugs. If any noticed then please let me know it here.
Side remark:
The software provided here ( my Windows CMD script ) has a top-down approach, means it's broken down into smaller fragments, better known as modules:
check_internet_is_available
verify_wsa_installation
check_wsa_is_running
do_sanity_checks
setup_gapps_arrays
setup_workspaces
setup_gapps_distro
check_for_enough_diskspace_on_pc
download_gapps_distro
unpack_downloaded_gapps_distro
verify_download
make_room
extract_apk_files_from_gapps_distro
connect_with_wsa
copy_files_onto_wsa
set_android_cmdlets
verify_gms_core_already_installed
check_for_enough_available_disk_space_on_wsa
install_apk_files_on_wsa
clean_up
That link isn't workign for me.. it just takes me to a blank page labeled "here."
jwoegerbauer said:
Hi all
I present you my Windows CMD script
View attachment 5463597
what I wrote to add GMS apps to WSA.
If you're intetested in this script then feel free to download it from here
Usage:
1. Extract the downloaded .ZIP to any location of your Windows computer
2. Within the extracted package run WSA-GMS-Installer.bat
Disclaimer:
This software is "AS IS". It may contain bugs. If any noticed then please let me know it here.
Click to expand...
Click to collapse
non disponibile il download

Categories

Resources