kernel development Xperia - Android

Xperia M2 D2306
Android: 4.2.2
Bootloader Unlocked: Yes
Development kernel with linux mint & Windows 8.1
I gained some knowledge about android much as modifications and scripts that perform specific actions
Using OS Linux Mint eh I could decompile the boot.img file
{
"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"
}
I had access to the script can be seen from root explorer in the path: /
But investigating more thoroughly about modifications cpu frequencies are situated on the zImage file
The question is how descompile the zImage?
some tutorial
Now as if there will be an issue that can continue to decompile the kernel when the same can now add the root with its binary respective
thank you for your help

Related

[Tool][Win] Tools to unpack and repack Kernel

I made an app to easily pack and unpack boot images.
Even though I made it while doing some work on Xperia Ultra GPE, it should work on any other phone if you know the command line arguments and other parameters.
How TO:
Extract the zip file and Run the exe file. Follow the GUI
Features:
Supports extraction from ELF file format and BootImage format
Shows checksum while building
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"
}
Thanks:
ypf For Icons : http://ypf.deviantart.com/
osm0sis for reference: https://github.com/osm0sis/mkbootimg/
Serge Lamikhov-Center for ELFIO
Please try out and let me know the comments/bugs.
Reserving for future use

error when Bumping boot.img using open_bump.py on windows

So after i made the necessary changes to the boot.img and repacked it. I installed python 3.4 for windows.
then when i ran
Code:
open_bump.py c:\boot.img
it created the boot_bumped.img
but I received this error in cmd
{
"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"
}
Any insight into why this happened? I am new to modifying boot.img and bumping
I really appreciate any help/insight into this issue.
What I was doing was adding the necessary line for XPrivacy to work on Illusion 6.5
Found Bump for Windows
So I found bump for windows and it seemed to run without issue. Still would like to know what I did wrong when using python script on Windows if you have an idea.

[Help] How to Fully Unpack Boot.img on Windows

So my emmc is dead and ai found a way to make the rom boot from the sdcard but i have to Edit The Boot.img ... I got the Boot.img from a custom Rom i have Downloaded and i followed the Instructions Up Here
http://forum.xda-developers.com/show...7&postcount=17
But Each Time I get This as The Output
Output
Code:
http://i.imgur.com/3JFuNrL.png
{
"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"
}
and i cant Find The initramfs.gz to edit macallan.fstab
so i want to know how to do that on windows as He is obviously is doing it on Linux !
ps :
I have tried to do it on linux but got no where as iam very noob at linux !
Do you have a professional enterprise or education version of Windows?
Sent from my Nexus 4 using Tapatalk

compile lineage0s 14.1 kernel from source

Hello,
i want to compile LineAgeOS 14.1 kernel from source for my old galaxy tab 2 10.1 (GT-P5110) but i encounter several difficulties! (especially heavy compile errors)
i have read two tutorial posted here but without success.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
https://forum.xda-developers.com/showthread.php?t=1748297
my problem is i don't understand in the two tutorials this code:
Code:
make <your_config_name>_defconfig
i tried to use this command:
Code:
make tegra_defconfig
but when i use make -j2, i see a lot of errors...
{
"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"
}
i read in this forum that is better to grab an existing .config file from an already running kernel... but where i can find this file lol
i'm a bit confused and i really appreciate any help.

Searching for Harmony SDK 6 deleted files

Hello!
Nowadays Huawei deleted some files from SDK 6: Java and JS. This way it is impossible to compile project without it.
Now I can see in SDK manager:
{
"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"
}
If I trying to compile project without them I am getting error:
SdkError: DOWNLOAD_SDK_ERROR
> Cause: Unable to find the following components:
java:6
js:6
Click to expand...
Click to collapse
Can please someone provide us this files? It should be located:
AppData\Local\Huawei\Sdk\hmscore\2.2.0
With this files, we should get some interesting features.
I finally found a repo with these libs, the problem was solved https://github.com/applibgroup/HarmonyOsSdk
Well, where the rock ANDROID reference is? Why do you move it without my permission?

Categories

Resources