[Q] Extract android pkg files? - Nexus 7 Q&A, Help & Troubleshooting

How do you extract android pkg files because I want to convert it to apk so i can install it.

mgsstar said:
How do you extract android pkg files because I want to convert it to apk so i can install it.
Click to expand...
Click to collapse
bump

What pkg files?
As far as I know nothing exists like this on android
Sent from my HTC One XL using Tapatalk 2

Ok So that system isn't a android system based...
Thks for ur help!

Is there anyway to convert pkg files to apk files cause it says that the system is a modified android os?

pkg is apple archive but my hisense google tvs firmware is a pkg so i need to extract it to patch the boot.img and recompile so I can flash the firmware and have root access.

Related

[Q] How to make system.img from extracted system folder?

I've been working on a custom rom with android kitchen and I want to get the system.img and boot.img.But the system.img seems to be extracted and the boot.img isn't.How do I get the system.img?Can I make .img file with power archiver or something?
fdespotovski said:
I've been working on a custom rom with android kitchen and I want to get the system.img and boot.img.But the system.img seems to be extracted and the boot.img isn't.How do I get the system.img?Can I make .img file with power archiver or something?
Click to expand...
Click to collapse
If your PC using linux system,I recommend you to use Virtual Box.
If U using windows system,you must configuration Java environment first,and then install a software who name is Cygwin,You can use it to extract the system.img and boot.img.

zipping a rom[QQ]

when zipping a rom in 7zip can you set it to ultra,if not what is the best setting to use?
Thanks for the help
I don't think your suppose to compress it at all but I could be wrong
I was going to say the same thing as Deuce - in this situation, the zip file is just a container to hold it all together in one file
Sent from my SPH-D700 using XDA App
blspyro said:
when zipping a rom in 7zip can you set it to ultra,if not what is the best setting to use?
Thanks for the help
Click to expand...
Click to collapse
I don't think the zip itself can be compressed, but you can put the system package into a tar, then compress it into a LZMA file within the zip. Any kernel/modem update folders would still be in the root of the zip with the META-INF and tools as well. Obviously the updater script would have to be changed to unzip the system package during install.
Bonsai started using this method with 4.1.3. For comparison, the 4.1.3 ROM package is about 20 MB smaller than the 4.1.1 package.

[q] extract a rom

Hello
can any one tell me how i can extract a rom so i can gate some apk that my original rom use to have.
thank you
unzip with winrar
system>app> apk files here
Questions to general section please. Written in forum rules.
Sent from my u8800 using XDA App
Thank you oguzhan mobile
How to extract the update.app (stock rom file)?
andreasha said:
How to extract the update.app (stock rom file)?
Click to expand...
Click to collapse
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
dzo said:
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
Click to expand...
Click to collapse
Thanks mate, really nice instructions!

How to convert kdz rom to zip rom

Hi, Can anyone tell me how to convert kdz rom to zip ROM?
Sent from my LG-P700 using xda premium
Firstly u need to extract KDZ file with LGExtract. It will extract cab file and dz file within. Then u needs to extract boot.img and system.img with DZDecrypt, but to get boot.img u need to use 0.5 version. For system.img use 1.0 version. If u have that 2 files, download dsixda kitchen and follow what screen says
mrjabol61 said:
Firstly u need to extract KDZ file with LGExtract. It will extract cab file and dz file within. Then u needs to extract boot.img and system.img with DZDecrypt, but to get boot.img u need to use 0.5 version. For system.img use 1.0 version. If u have that 2 files, download dsixda kitchen and follow what screen says
Click to expand...
Click to collapse
please help me! I extracted .kdz to .cab. But i can't extract to .dz file with 7zip. Error:Can not open file as archive.
How to fjx it?
Deleted.
Sry, you meant you can't extract cabinet file? Remove cab file integration in 7zip and it will open in windows explorer.
Sent from my HTC Sensation using xda app-developers app
mrjabol61 said:
Deleted.
Sry, you meant you can't extract cabinet file? Remove cab file integration in 7zip and it will open in windows explorer.
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Yes. I have done so, but I still do not unzip the file. cab. I have tried the following in cmd:
D: \ LG \ lgextract-KDZ F180K20K_00.kdz
after it is completed, I get the file F180K20K_00.cab
Next, I used the command:
D: \ LG \ 7z x (or e) F180K20K_00.cab
and I get the error message: Error: Can not open file as archive
After all, I've tried many versions and 7z LGExtract but they all failed. So what is the reason? Does windows version?
p / s: sorry for my english is very bad.
phamluong92 said:
please help me! I extracted .kdz to .cab. But i can't extract to .dz file with 7zip. Error:Can not open file as archive.
How to fjx it?
Click to expand...
Click to collapse
see post #2. use dzdecrypt to extract the .dz file.
andwie said:
see post #2. use dzdecrypt to extract the .dz file.
Click to expand...
Click to collapse
I can't extract file .cab and I tried UpTestEX.exe to extract the file .kdz. After i have 2file .dz and .dll. Next, I used DZDecrypt to extract .dz file but display:
Code:
D:\LG>DZExtract -x F180K20K_00.dz
DZExtract v0.2 by jp
Extracting subfiles...
--------------------------------------------------------------------------------
Reading sub-header @0x13c
Checking magic number...........................invalid (found 0xffffffff, exp
ecting subfile, or offset table)
D:\LG>
v0.2? you're using old version, it's for older phone. it has been stated to use v1.0 so grab it from dev section
andwie said:
v0.2? you're using old version, it's for older phone. it has been stated to use v1.0 so grab it from dev section
Click to expand...
Click to collapse
pls sent me link. I know only DZDecrypt is version 1b.
does anyone know how to do the same thing, but from zip to kdz?
as i said, it's all in dev section
phamluong92 said:
pls sent me link. I know only DZDecrypt is version 1b.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2180586
mircea89fzr said:
does anyone know how to do the same thing, but from zip to kdz?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2179431
andwie said:
as i said, it's all in dev section
http://forum.xda-developers.com/showthread.php?t=2180586
Click to expand...
Click to collapse
I've read that thread before. But I can not unzip the file. Cab with 7zip or winrar.
In case 2, used to extract UpTestEX.exe. KDZ ->. dz, I can not unzip it. 2 dz by DZextract and DZDecrypt tool.
The reason is that the OS version or ROM version?
Sorry, I just recently see that you're trying to extract F180 (Optimus G)'s firmware. These methods are only for first generation of L series (L3, L5, L7). It certainly won't work on newer phones. (Yes, although the format is still kdz, the extracting method will differ between devices).
if i extract/ convert a kdz file to a zip zom can i install it in virtualbox
i installed android 4.3 on virtualbox so can i use my phone firmware on my pc??
another method for use my phone firmware on my pc?
thanks bro!
AXD96 said:
if i extract/ convert a kdz file to a zip zom can i install it in virtualbox
i installed android 4.3 on virtualbox so can i use my phone firmware on my pc??
another method for use my phone firmware on my pc?
thanks bro!
Click to expand...
Click to collapse
No. You don't use anyone ROM in computer. You only can mod, cook it. Demo just on the phone. The dev-app can use Android Studio/eclipse.
phamluong92 said:
No. You don't use anyone ROM in computer. You only can mod, cook it. Demo just on the phone. The dev-app can use Android Studio/eclipse.
Click to expand...
Click to collapse
help! notice the img
ATTACH FILES
Guys, I said earlier - open cabinet file with Windows Explorer, NOT WINRAR OR 7ZIP!
nice i would also want it
Can i use this guide to convert a stock LG kdz into a zip?
which is your phone model?
Sent from my LG-P700 using xda app-developers app

HTC Desire 820s

Is that phone totally abandoned by htc ? i just baught it 2 days ago
if saw i would replace it with other phone
can any one just answer it simply
thats what i gues : no software , kernel source downloads available for this device . i even tried to contact htc about lp update and the Simply don't know
I think the lollipop firmware is here
http://ir-file.com/portal/index.php?dir=Firmware/HTC/HTC_Android/A50ML_DTUL/
We shouldn't expect any lollipop firmware unless maybe we flash it.
My phone had lollipop out of the box but I flashed kitkat so that I could root it and modify it, but I found it to be too boring, I'm looking to revert to lollipop
You try and tell me if it worked
Mohamed Yaser said:
You try and tell me if it worked
Click to expand...
Click to collapse
Ok
So I downloaded the zip file sized about 1.8gb.
On extracting the zip file, I only get three files:
Android - info. txt - 92B
Userdata.img - 136034KB
Cache.img - 6972KB
I don't know where the other files have disappeared to
Gibz97 said:
So I downloaded the zip file sized about 1.8gb.
On extracting the zip file, I only get three files:
Android - info. txt - 92B
Userdata.img - 136034KB
Cache.img - 6972KB
I don't know where the other files have disappeared to
Click to expand...
Click to collapse
i want to download it but i cant ,, give me a direct link for it or the account used
ah,, can you delete the extracted folder or its stuck on your hard disk ??
Mohamed Yaser said:
i want to download it but i cant ,, give me a direct link for it or the account used
ah,, can you delete the extracted folder or its stuck on your hard disk ??
Click to expand...
Click to collapse
Yes I can delete them. I tried contacting them, they said it's an encrypted zip file couldn't be extracted. Don't know how it's going to be flashed
Here
Extracted
can you provide me the download link directly , i don't have to make an account ,,,,, whatever it is i will start porting sense 7 form desire820 lolipop , i will see if i can
but i need to make sure that htc has forgot about us
Deleted
So when I repaired the zip file with winrar, I was able to recover these files.
Scatter file shows HTC_A50ML which is the D820ys, it comes with Lollipop out of the box.
This zip file is encrypted, only if one could find a password to crack it, or if someone has the knowhow to extract this kind of files
d820ts
is this update available for d820ts???

Categories

Resources