[Help]Problems getting Proprietary Files/Binary/Blobs - Android Q&A, Help & Troubleshooting

Hello, my device is a Samsung Galaxy Music and I've been trying to make a device tree and needed to get the proprietary files. Using ADB in windows, I wanted to execute the extract-files.sh in my stock rom and if I'm correct it should be inside /vendor/samsung/ivoryss in my case, however, the vendor folder exists but inside there are only two files: a folder called pittpatt and a file named gfx.fw . Also used a command to search files and searched for extract-files.sh however it wasn't there. Do I'm doing something wrong? Should I do it from a linux OS like Ubuntu? Also I downloaded the source from the Samsung Open Source Release Center. Are there the proprietary files?
My phone is rooted and it has USB debugging activated.
Edit: Also I tried extracting boot.img and its files however it has exactly the same files of recovery.img so I'm completely lost...
Edit2: Oh I'm sorry, I should had post this on Android Q&A, Help & Troubleshooting, is there a way to move it without reposting it?

Related

[Q] aspiring developer

So i've compiled my first build from source (NS4G) and have a few questions.
1. after its completed compilation what is the directory/path that i can find the files i need. Ive uploaded a screenshot of the path i think it is however it doesnt contain a system.img file why is that and do i need it?
2.Once i have the correct files how to i place them for use in the emulator?
thank you for any help.

Backing up Android source code ??

I downloaded the Android 4.4.2 source code that turned out to be about 14GB with more than 4,00,000 files.
I want to back up the folder in some .tar or zip or similar archive so that I can start fresh if something goes wrong in the working copy. I tried making a .tar.gz archive but it gave file permission errors during extracting and won't extract anymore.
So, how do I go about this ??
pauldmps said:
I downloaded the Android 4.4.2 source code that turned out to be about 14GB with more than 4,00,000 files.
I want to back up the folder in some .tar or zip or similar archive so that I can start fresh if something goes wrong in the working copy. I tried making a .tar.gz archive but it gave file permission errors during extracting and won't extract anymore.
So, how do I go about this ??
Click to expand...
Click to collapse
This is what I did in my starting days
I copied all the folders from the source directory to another HDD which was just 80gb... I kept it permanently as my backup HDD...
But while copying don't copy everything at once... Copy in pieces... The 'external, framework n repo' folders are huge... So copy one by one... Or It'll take forever to copy....
But actually backups aren't required... You can always reset any changes you make to any file..!
But what's wrong with archiving ? I get multiple errors of "Cannot create symbolic link".
And how can reset the changes of the entire source code ??

[Q] Finding /proc/ and /sys/ Contents in ROM

Hello,
I want to determine the ROM of a phone I do not have, in particular the pseudo folder /proc and /sys/. Normally I used ADB shell in order to skim through the folders, but since I do not have the phone here now, I thought that I should be able to find these contents somewhere in the ROM. But I checked in several image parts of the ROM (boot.img, ramdisk.img, system.img e.g.), but the /proc/ as well as the /sys/ folder were always empty.
Can somebody help and tell where (or if?) these folders can be found in the ROM?
Greetings
these are runtime files in a tempfs .
Those folders are linked at runtime by the kernel. You wont find them in zip packages or anywhere else other than a running phone.
Anyways, this needs to be moved.

[Q] Extract Compressed File to SD Card Director on First Boot

Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
th3magpi3 said:
Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
Click to expand...
Click to collapse
see Introduction : How to build an Android ROM - XDA-University
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS] by lokeshsaini94
This thread will be moved to Android Q&A, Help & Troubleshooting

Extract vendor files

Hi all. I have a question regarding to the propietary files (vendor blobs source) of my device, which is a Huawei Mediapad T1 10 T1-A21w (codename "hwt1a21") with a msm8916 chipset and Android 4.4.2 (EMUI 3.0).
This device has absolutely zero development, so i had to create a (functional?) device tree, and fortunately i have the kernel source from the Huawei website but the only problem i'm facing now is related to the vendor blobs files, which i cannot get them.
I tried to follow many guides about this but i didn't find any of them that explain how to extract the propietary files from a device connected to adb and extract them with a script (extract-files.sh i think it was called) instead of download them from existing blobs files in a github repo.
I've being following the CM guide (this one) in order to create and extract the device tree and vendor files but i struggled in the vendor files process, in which supposedly i should have the extract-files.sh script and the most important, the propietary-files.txt which indicates which specific vendor files must be extracted by the extract-files.sh script. So that's the problem, i have no idea how i supposedly should get that txt file with the specific vendor files to be extracted from my device.
Hope someone can help with this, i've been months trying to bring development for this device.
Hello buddy i have the exact same situation as yours. Did you find a way out? My device has zero development. Made tree and kernel source. Could you please help?
Up ? need help too
Vendor files are located either in /system/vendor or /vendor. If location is /system/vendor then device must be rooted and /system/vendor must be mounted as read-write to access it's content via ADB.

Categories

Resources