Hello there, noob here I am trying to compile/build a custom kernel for asus zenfone max pro m1 so i have downloaded the kernel source from the manufacturer website but i see that there is no defconfig file for X00T (my device code name) in the kernel/arch/arm64/configs folder so i tried different available config files but none of it is working... So can anybody please tell me how can i get that device specific defconfig file in order to build a custom kernel for the device?
xswapsx said:
Hello there, noob here [emoji14] I am trying to compile/build a custom kernel for asus zenfone max pro m1 so i have downloaded the kernel source from the manufacturer website but i see that there is no defconfig file for X00T (my device code name) in the kernel/arch/arm64/configs folder so i tried different available config files but none of it is working... So can anybody please tell me how can i get that device specific defconfig file in order to build a custom kernel for the device?
Click to expand...
Click to collapse
Have you tried finding the full stock firmware for the device also? If you have the stock firmware file, you might find the file you are looking for in the firmware file.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Have you tried finding the full stock firmware for the device also? If you have the stock firmware file, you might find the file you are looking for in the firmware file.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Thank you Sir for your kind reply!
Yes, I do have stock firmware but I don't know where is the config file located or where it should be located
xswapsx said:
Thank you Sir for your kind reply!
Yes, I do have stock firmware but I don't know where is the config file located or where it should be located
Click to expand...
Click to collapse
Extract the firmware to access the different parts of the firmware, you can manually search through every folder until you find it or you can use the Windows file explorer's search feature to search the extracted files.
It will take some time but if go through it piece by piece, you'll find it.
There is not always a simple, easy way to do things. Sometimes you have to be willing to put in the time and the work to make things happen. Don't be afraid to do some work to figure it out.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Extract the firmware to access the different parts of the firmware, you can manually search through every folder until you find it or you can use the Windows file explorer's search feature to search the extracted files.
It will take some time but if go through it piece by piece, you'll find it.
There is not always a simple, easy way to do things. Sometimes you have to be willing to put in the time and the work to make things happen. Don't be afraid to do some work to figure it out.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
OK Sir, I will try this!!!:fingers-crossed:
Related
Anyone here know how to open/browse/extract files from a .kdz file? I've spent the last hour or so searching via Google and can't come up with anything that works.
Did you try winrar?
Sent from my LG-P999 using XDA Premium App
KRAZYADROIDMASTER said:
Did you try winrar?
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
Yea it gives an error. Does it support that file type?
Have you tried 7zip? I've never seen an archive it couldn't open, it's like the VLC of compression.
Sent from my Nexus Prime using XDA Ultimate App
LordButtersI said:
Have you tried 7zip? I've never seen an archive it couldn't open, it's like the VLC of compression.
Sent from my Nexus Prime using XDA Ultimate App
Click to expand...
Click to collapse
I haven't tried that one. I'll try it as soon as I can convince my wife to stop shopping so we can go home ... lol ... Thanks for the suggestion.
LordButtersI said:
Have you tried 7zip? I've never seen an archive it couldn't open, it's like the VLC of compression.
Sent from my Nexus Prime using XDA Ultimate App
Click to expand...
Click to collapse
Just tried it and it wouldn't open it. Bummer.
Which file are you trying to extract?
FatalityBoyZahy said:
Which file are you trying to extract?
Click to expand...
Click to collapse
The GB update kdz file.
You need an LG Utilties program to extract the KDZ files. There are some out there for the KP500 and GW520 but not sure if the same utility will work for the G2X P999 files. After that you need a program called unyaffsmbn (zips on internet) to extract the files further. Here is a GW520 Utility zip (attached to post) that I haven't tried yet. I was trying to do the same stuff you've been playing with. I haven't tried to extract the files yet. Another way is to grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. If someone is updating a phone the files are there long enough to copy, but I am not going to update my phone again just to grab the files.
phburks said:
The GB update kdz file.
Click to expand...
Click to collapse
They already have the GB update in the Development section. You could also just download the source code from LG.
People are after the baseband. That's not included on the rom files you mentioned.
Sent from my LG-P999 using Tapatalk
jboxer said:
You need an LG Utilties program to extract the KDZ files. There are some out there for the KP500 and GW520 but not sure if the same utility will work for the G2X P999 files. After that you need a program called unyaffsmbn (zips on internet) to extract the files further. Here is a GW520 Utility zip (attached to post) that I haven't tried yet. I was trying to do the same stuff you've been playing with. I haven't tried to extract the files yet. Another way is to grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. If someone is updating a phone the files are there long enough to copy, but I am not going to update my phone again just to grab the files.
Click to expand...
Click to collapse
Thanks. Will play around with this.
Sorry for my response. I did a internet search and got a lot of weird results.
Sent from my LG-P999 using XDA Premium App
KRAZYADROIDMASTER said:
Sorry for my response. I did a internet search and got a lot of weird results.
Sent from my LG-P999 using XDA Premium App
Click to expand...
Click to collapse
Nah its cool. I was hoping I'd missed something and it would work. It didn't lol.
jboxer said:
Another way is to grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files.
Click to expand...
Click to collapse
This was my first approach but I didn't know where the files were extracted to so thanks. I managed to grab the extracted files by creating a symbolic link named Phone in that LGMOBILEAX directory. I pointed the symlink to another dierectory. I named it Test since I wasn't sure if this would work. I then ran the kdz updater (without my phone attached of course) and it extracted the kdz file to .\Phone which in turn saved them in my .\Test directory. The updater aborted when it detected there was no phone and the extracted files remained in the .\Test directory.
So now I have 2 files (it only extracted 2), Star_Model.dll and a .wdb file that is undoubtedly the firmware because its like a 180MB file. I tried extracting from the firmware using a couple different versions of LG utils that were floating around because they have an option to extract files from a wdb file, but they keep giving an error. I'll keep trying lol.
Any ideas?
jboxer said:
People are after the baseband. That's not included on the rom files you mentioned.
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
Exactly. I don't know why we don't have a flashable baseband yet and maybe my approach is going to be a dead end. Is a flashable baseband even possible on this phone? I dunno lol. Nobody seems to be paying it (the baseband) any attention.
I want to see a flasable baseband and other wind subscribers would as well because to get it we would have to flash the gb update. That changes the splashscreen to tmobile making it unable to change back since we don't have the stock rom that I know of.
I just can't find a way to extract what is in the .img files.
It's such a small file so shouldn't be hard to find.
Downloading it from the Play store does not resolve the issue
How can I re-acquire the needed .odex file and/or extract what I may need from the .img files?
Delirious17 said:
I just can't find a way to extract what is in the .img files.
It's such a small file so shouldn't be hard to find.
Downloading it from the Play store does not resolve the issue
How can I re-acquire the needed .odex file and/or extract what I may need from the .img files?
Click to expand...
Click to collapse
Do you have a Backup of your system - if so restore your backup. If not google extract .img files and look for software.
No backup...I just need to find a way to extract the files from the .img files of which I did google but nothing useful came up
Delirious17 said:
No backup...I just need to find a way to extract the files from the .img files of which I did google but nothing useful came up
Click to expand...
Click to collapse
Try magic iso -
http://www.free-news-release.com/Extract--IMG-files---MagicISO-Detail_14991.html
No luck
I have ISOBuster...extracted some files but it was unable to extract them all. It did find a number of android files but no .odex files
Delirious17 said:
No luck
I have ISOBuster...extracted some files but it was unable to extract them all. It did find a number of android files but no .odex files
Click to expand...
Click to collapse
Sorry Bro. Do full wipe and start over from scratch, reinstall. I Hope all works out for ya. Peace-
Why the hell is it impossible for someone to find a way to get such a small measly file to get this stupid update to go through!!
Which update are you trying to apply? You will need the pre-updated file. 4g updates were 3.2.4 and 3.2.6.
Sent from my Xoom
I'm on 3.2.4 and trying to update to whatever it's asking me to update it to.
Delirious17 said:
Why the hell is it impossible for someone to find a way to get such a small measly file to get this stupid update to go through!!
Click to expand...
Click to collapse
Well first, getting angry because others may not be interested in your issue is not the way to get help LOL. If you tried everything else, Why don't
you try flash the Stock 4G XOOM Firmware Download [4G|MZ602-HLK75D]
##PLEASE NOTE##
This file are from Motorola's Development site, I will not take liability with anything that happens with your device if something goes wrong.
DO NOT ATTEMPT TO FLASH THIS FILE ON ANYTHING BUT THE VERIZON WIRELESS MOTOROLA XOOM Z602 (4G MODEL) OR YOU WILL HAVE A SHINEY PAPER WEIGHT!!!!
dungeondefenders.odex anyone?
Such a small file to find yet only option seems to flash...
Make a nandroid backup of your current setup...restore stock, pull file, restore backup. Or try just opening the img file with winrar.
Sent from my Galaxy Nexus
bwcorvus said:
Make a nandroid backup of your current setup...restore stock, pull file, restore backup. Or try just opening the img file with winrar.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
What good would making a backup of something I don't even have in the current setup??
Delirious17 said:
What good would making a backup of something I don't even have in the current setup??
Click to expand...
Click to collapse
Because that's the first thing you do when you are going to flash stuff. If you had done this the first time you wouldn't be in this situation.
Sent from my Xoom using Tapatalk 2
testingchip said:
because that's the first thing you do when you are going to flash stuff. If you had done this the first time you wouldn't be in this situation.
Sent from my xoom using tapatalk 2
Click to expand...
Click to collapse
you are no help why even reply
Delirious17 said:
I just can't find a way to extract what is in the .img files.
It's such a small file so shouldn't be hard to find.
Downloading it from the Play store does not resolve the issue
How can I re-acquire the needed .odex file and/or extract what I may need from the .img files?
Click to expand...
Click to collapse
did u ever find the file? if so can you send it to me. i have a similar issue
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
gmx1994 said:
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
Click to expand...
Click to collapse
Try the tools in this thread . I used them last week to extract a build prop.
Just load up the system.IMG and drag the file from the system folder to your desktop.
gmx1994 said:
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
Click to expand...
Click to collapse
The tar file for Cricket has already been posted in the general section of ATT
Sent from my SAMSUNG-SM-G920AZ
daniel4653 said:
The tar file for Cricket has already been posted in the general section of ATT
Sent from my SAMSUNG-SM-G920AZ
Click to expand...
Click to collapse
I already downloaded that file.... I just need to extract the build.prop from the system.img which I already have. The thing is I am having trouble getting the build.prop
Sent from my SAMSUNG-SM-G920AZ
gmx1994 said:
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
Click to expand...
Click to collapse
I got your PM. Sorry for the late reply. I'm posting here in case someone else needs the info.
Download Ext2explore.
Extract to your PC.
Run as administrator.
In app: go to file - open image - (find your system image) and open
It will display your image in tree and folder view
Use either one (depending on your preference) (but your build.prop will be in the first view as its in the root of the system).
Right click the file/s you want to extract
Select save
Save your file.......profit
Hope this helps
tiboric said:
I got your PM. Sorry for the late reply. I'm posting here in case someone else needs the info.
Download Ext2explore.
Extract to your PC.
Run as administrator.
In app: go to file - open image - (find your system image) and open
It will display your image in tree and folder view
Use either one (depending on your preference) (but your build.prop will be in the first view as its in the root of the system).
Right click the file/s you want to extract
Select save
Save your file.......profit
Hope this helps
Click to expand...
Click to collapse
When I try to open the file the program just closes and i go to the log and this is what it says.
Error Opening \\.\PhysicalDrive1. Error Code 2
No of disks 1
Scanning \\.\PhysicalDrive0
index 0 ID 7 size 976769024
Partition Table Error on C:/Users/giovany/Desktop/New folder (2)/system.img
Invalid End of sector markerBad Super Block. The drive is not ext2 formatted.
Drive is not right formatted.
solution for img extraction/fix here
Greetings.
Need a Android 6 ELF file for :
makebootfs
mkbootimg
unmkbootimg
They must be Honor 8 compatible.
Can any1 help please.
StratOS_HTC said:
Greetings.
Need a Android 6 ELF file for :
makebootfs
mkbootimg
unmkbootimg
They must be Honor 8 compatible.
Can any1 help please.
Click to expand...
Click to collapse
What are you planning to use them for?
Sent from my honor 5X using XDA Labs
Disasemble and reasemble the images.
StratOS_HTC said:
Disasemble and reasemble the images.
Click to expand...
Click to collapse
Hey @StratOS_HTC nice to see you here (coming from the Galaxy Core 2 Forum )
Sent from my Honor 8 using XDA Labs
I don't think you need them. Unpacking and packing boot images is pretty straightforward since Huawei's boot images have the same format as stock Android AOSP boot images. You can use the utilities you mentioned to unpack without need of any ELF file.
disasm
hackslash said:
I don't think you need them. Unpacking and packing boot images is pretty straightforward since Huawei's boot images have the same format as stock Android AOSP boot images. You can use the utilities you mentioned to unpack without need of any ELF file.
Click to expand...
Click to collapse
Since i have soe experience on other phones and the best way is always with disasm and reasm of the files. Don't want to put the whole sdk or git files on my comp.
The best way I'm doing it is with phone throught adb bridge.
So I'm looking for the executable files for it (mkbootimg,unmkbootimg), have found only PIE version of Marshmallow for it.
Can any one please help.
Thx in advance.
StratOS_HTC said:
Since i have soe experience on other phones and the best way is always with disasm and reasm of the files. Don't want to put the whole sdk or git files on my comp.
The best way I'm doing it is with phone throught adb bridge.
So I'm looking for the executable files for it (mkbootimg,unmkbootimg), have found only PIE version of Marshmallow for it.
Can any one please help.
Thx in advance.
Click to expand...
Click to collapse
Look into the systemless root tools , those should do what you're looking for.
https://github.com/phhusson/super-bootimg
What's up with the stock roms for this device? I tried a multiple of them from different websites whenever i download the rom and try to open it i get a bad file error with different file managers. Anyone have a working stock rom for the SM-J330FN in here?
xda general said:
What's up with the stock roms for this device? I tried a multiple of them from different websites whenever i download the rom and try to open it i get a bad file error with different file managers. Anyone have a working stock rom for the SM-J330FN in here?
Click to expand...
Click to collapse
Doesn't make sense what you're doing.
Why try and open with a file manager?
ashyx said:
Doesn't make sense what you're doing.
Why try and open with a file manager?
Click to expand...
Click to collapse
To get the ap csc and other files for odin
xda general said:
To get the ap csc and other files for odin
Click to expand...
Click to collapse
You don't open anything. The firmware is in tar format, you load that straight into odin.
If it's in zip form extract it first.
xda general said:
What's up with the stock roms for this device? I tried a multiple of them from different websites whenever i download the rom and try to open it i get a bad file error with different file managers. Anyone have a working stock rom for the SM-J330FN in here?
Click to expand...
Click to collapse
https://www.sammobile.com/firmwares/galaxy-j3/SM-J330FN/