Modified .img files from stock system zip pack. - G3 Q&A, Help & Troubleshooting

I need unpack the .img system flie to modified apps, and compilate it back. What should I need to do it? Every programs on windows/linux like ext4unpacker or something can't do this ... so can anyone help me? I have build custom rom based on stock G3 V20F.

Related

[Q] How to integrate a custom kernel in a custom rom?

Hey Rom chiefs
With Dsixda`s kitchen I`ve created a lot of roms for myself with some apps added or removed, integrate the Theme which I made with UOT kitchen, changed the camera app, the launcher, and so on
My two problems:
1.How do I integrate the google apps in Cyanogen mod?
2. How do I change the kernel?
->How I tried it in 2 different Roms:
Extract the Rom using the kitchen\extract the Zimage from the Kernel\rename it to boot.img and changed it with the boot.img from the rom
BUT. After I flashed the Rom(without errors) I had bootloops. What did I do wrong?
Thanks in advance
Using the kitchen extract the boot image.
Then take the zImage of the kernel you wish to use and replace the original zImage. Remember to copy any modules from the custom kernel to there respective folders in /system.
Then build your boot image. That's your kernel sorted.
For GAPPs, its similar. Unzip the archive and copy everything from \system\app into \system\app in your working folder.
Rinse & repeat this for everything in the unzipped GAPPs package.
Now you can build your ROM.
Big THX
Will try it this weekend
Thanks
:good: Thanks ! for the superb guide .
TY
Andy said:
Using the kitchen extract the boot image.
Then take the zImage of the kernel you wish to use and replace the original zImage. Remember to copy any modules from the custom kernel to there respective folders in /system.
Then build your boot image. That's your kernel sorted.
For GAPPs, its similar. Unzip the archive and copy everything from \system\app into \system\app in your working folder.
Rinse & repeat this for everything in the unzipped GAPPs package.
Now you can build your ROM.
Click to expand...
Click to collapse
Thank you very much.
Helped alot when making my rom.:highfive:
Gapps on almost uneaque device
Andy said:
Using the kitchen extract the boot image.
Then take the zImage of the kernel you wish to use and replace the original zImage. Remember to copy any modules from the custom kernel to there respective folders in /system.
Then build your boot image. That's your kernel sorted.
For GAPPs, its similar. Unzip the archive and copy everything from \system\app into \system\app in your working folder.
Rinse & repeat this for everything in the unzipped GAPPs package.
Now you can build your ROM.
Click to expand...
Click to collapse
Im trying to get gapps on the moverio BT-300. (Google app support ecosystem specifically i can side load some apps) I have root via magisk but all the code is so exclusive to this device im looking for pointers on where to begin. All installers ive tried so far cause bootloops. I think its due to the aditional moverio sdk on top of android 5.1. Im only an amateur and im probably the closest thing to a dev working on the device for like the 6 of us on my thread so any advice as to where to start is really appreciated!! Thank you xda community

Aroma Installer and some question

Hello guys.
Since it's my first post so i hope this's can usefull and can help my problem.
Did you all see thread this http://forum.xda-developers.com/showthread.php?t=1461712 It's aroma installer that can build custom rom with UI in recovery mode (if no mistake) and success in htc device. From this forum i know that sgy have dev and mod that success to build rom, recovery, and now MAROK kernel. It's sound good if we can build in with the installer to make our device more better.
So, is there any dev or mod try or start to this stuff to build our device?
You know that i'm newbie in android device, but i've start to learn the installer and make some modification (just a little part) and you know it's not easy to develop something if we are a newbie.
After i read about android i know that i must have tools to help us, so i've start to download any stuf to help me. Some of my tool that i have in my PC are cygwin, dsixda kitchen, apk manager, xUltimate, notepad++, 7zip, winrar, jre 6.22, jdk 6.20, microsoft.netframework 2 and 4 client user, and window xp sp2.
Is there any tools that i should have to help me playing with my device?
From all stuff that i have so far only xUltimate can give me best result for deodex. But to applied to my device in recovery mode i use tool that develop from other member like pratyuse, shuvit_kaskuser, skin, and the newest is marok. Thanks to you all guys and other that i've forget
Sory if this post is annoying you all and thanks to make me more better with this forum.
wow...you're so serious dude. I'm only using CWM, root explorer, titanium backup and a base custom ROM to make my own custom ROM (lol). btw, a deodex ROM will use a lot of internal memory. It isn't a mighty feature that every ROM must have. I thought we should use it wisely.
kurotsugi said:
wow...you're so serious dude. I'm only using CWM, root explorer, titanium backup and a base custom ROM to make my own custom ROM (lol). btw, a deodex ROM will use a lot of internal memory. It isn't a mighty feature that every ROM must have. I thought we should use it wisely.
Click to expand...
Click to collapse
I just read all bout android and don't know what should i do so i've try all of method for customize my device.
deodex In original stock of course it's will be more use internal memory but i've delete some app that i don't need. only some app can't deodex with xultimate.
I wanna make my device simple n fast. and of course wanna try aroma installer too.
well...this is what I do for compiling a new ROM. I'm definetely not a dev so I can't start with a raw project. I started from a custom ROM (in my case, its myss v.3.4. you may use other one. Repencis doesn't work in my test thought). we need these custom rom only to install our ROM in our device so basicly we can use any custom ROM. after that I customize my stock ROM with root explorer and titanium backup. I use root explorer to put some apps in /system/app and editing script. I like a light ROM which consume minimum internal memory so I use titanium backup to integrate dalvik cache into /system/app. after all customization on my stock ROM, I create a nandroid backup with CWM. extract it. then replace anything in my base custom ROM except /system/bin and /system/xbin. these two folder is related to kernel and the installer script so basicly I didn't do anything on them except removing any a2sd script. the last step, repack all the files into *zip file and flash it via cwm.
for customizing the theme, we can use UOT kitchen or recompile framework-res.apk and systemUI.apk manually via eclipse or just replacing the files inside with 7zip. we may also put another bootanimation.zip in /system/media to change the bootscreen and put bootsound.ogg in /system/etc for the bootsound.
for everything we do, we should make sure the size is fit with our system partition. thats the reason why I customize my stock ROM manually via rootexplorer. I just want to make sure that the my customization is fit with my system partition and work properly. I thought our system partition is 220 mb but make sure you give some space for later modification.
well...thats all. I'm not saying that I really make a new custom ROM. It's more like recompile another ROM with my personal taste. a fresh installation of mine is only use about 3.4 mb internal ROM.
kurotsugi said:
well...this is what I do for compiling a new ROM. I'm definetely not a dev so I can't start with a raw project. I started from a custom ROM (in my case, its myss v.3.4. you may use other one. Repencis doesn't work in my test thought). we need these custom rom only to install our ROM in our device so basicly we can use any custom ROM. after that I customize my stock ROM with root explorer and titanium backup. I use root explorer to put some apps in /system/app and editing script. I like a light ROM which consume minimum internal memory so I use titanium backup to integrate dalvik cache into /system/app. after all customization on my stock ROM, I create a nandroid backup with CWM. extract it. then replace anything in my base custom ROM except /system/bin and /system/xbin. these two folder is related to kernel and the installer script so basicly I didn't do anything on them except removing any a2sd script. the last step, repack all the files into *zip file and flash it via cwm.
for customizing the theme, we can use UOT kitchen or recompile framework-res.apk and systemUI.apk manually via eclipse or just replacing the files inside with 7zip. we may also put another bootanimation.zip in /system/media to change the bootscreen and put bootsound.ogg in /system/etc for the bootsound.
for everything we do, we should make sure the size is fit with our system partition. thats the reason why I customize my stock ROM manually via rootexplorer. I just want to make sure that the my customization is fit with my system partition and work properly. I thought our system partition is 220 mb but make sure you give some space for later modification.
well...thats all. I'm not saying that I really make a new custom ROM. It's more like recompile another ROM with my personal taste. a fresh installation of mine is only use about 3.4 mb internal ROM.
Click to expand...
Click to collapse
Same case with me, i'm not dev so i just compile any trick from other. But i always start from stock rom (i use dxlb1) then i modified as i like to make my device at least not brick. Anyway your method sound nice just 3.4MB fresh installation in internal and maybe sometime i will try.
I now there's many method to customize device but we (as newbie) still confuse with the step and tools are needed. Some method doesn't work even we doing step by step right because of different case or maybe some forget guide from the source.
In my opinon, can moderator give us guide or compilation how to customize device because i didn't see that thread in sgy forum (hope i'm not wrong) or maybe just link reference. Of course must put in faq or ultimate tutorial because this is just for newbie.
there's also a negatif effect of using full odexed ROM. it takes a lot of space in /system. in my case, I remove all bloatware and useless app and got only 20-15 mb free space in /system. btw, if you want to see which app is safe to removed, you may see hybrid ROM app list. he remove almost everything in this ROM (lol). I thought we can't put a tutorial for compiling a ROM. it would be huge and difficult to understand for a noob (just like me). you should PM'ed the dev to teach you how to make a custom ROM.
Aroma Installer can use on SGY..
--deleted--

create apk to edit system files

hi,
i want to know how do devs create an apk file that can edit files in system folder. for example sound files etc. generally a flashable zip is created which will replace the stock file with a modified one. The same thing, this time without going into recovery but being able to do it with an app itself.
Yes, ready to learn.

Framework-res.apk & lge-res.apk need

Someone could put me to spend or to link to a storage site or to my email address:
LG G4 - Framework-res.apk and lge-res.apk.
They are missing to me, thank you very much.
Email: [email protected]
I guess you have the H815?
Just download a system img of the H815 from here:
http://forum.xda-developers.com/g4/help/qa-tmo-vzw-intl-variants-soon-root-lg-t3164785
Mount it with linux or use a tool like "OFSMount" on windows to view the files.
Did you delete the apks or why do you need them?
Do you know that the stock rom use odex files?
I think you will find no source code inside the apks, if that is what you want.
dominik-p said:
I guess you have the H815?
Just download a system img of the H815 from here:
http://forum.xda-developers.com/g4/help/qa-tmo-vzw-intl-variants-soon-root-lg-t3164785
Mount it with linux or use a tool like "OFSMount" on windows to view the files.
Did you delete the apks or why do you need them?
Do you know that the stock rom use odex files?
I think you will find no source code inside the apks, if that is what you want.
Click to expand...
Click to collapse
Thanks for the tip. I will try the link & ofsmount. I edit & I develop apk files for 5.1 system, and this should be. Especially lg phones. apktool, etc... you know
Ok then I guess you know how to deodex the rom files.
But why do you just copy the files from your phone?
Don't you have a LG G4?
IMPORTANT:
I noticed that OFSMount doesn't show all files (maybe permission problem), but most of them. Don't use the program to edit the img file!
Only use it to copy the files you want from the imgae.
OFSMount doesn't support EXT4. Maybe another tool is able to do it.
I would recommend to use a linux system.
dominik-p said:
Ok then I guess you know how to deodex the rom files.
IMPORTANT:
I noticed that OFSMount doesn't show all files (maybe permission problem), but most of them. Don't use the program to edit the img file!
Only use it to copy the files you want from the imgae.
OFSMount doesn't support EXT4. Maybe another tool i able to do it.
I would recommend to use a linux system.
Click to expand...
Click to collapse
Yes, i know, and thank instructions :good: Thanks (has already downloaded the rom)
ok. no problem.
where do I find lge-res.apk ?
Goto /system/framework/lge-res
You will find the lge-res.apk

[QUESTION] Flash with boot + System app folder

Hello people.
So, I'm using Lineage, but want to go back to Marshmallow, with a ROM customized by me, to suit my needs.
I'm thinking to use this tool to make the ROM, but I have a doubt... This tool works with boot.img, recovery.img and system.img, basicly, to generate a zip file to be flashed in TWRP. As G3 can give a message about security when a boot.img is flashed, I want to know if it will happens if I use that tool.
Second... G3 have some folders storing apps, in special system\app and system\priv-app (there are some others, like 'vendor', but don't rementer now). What are the difference between them? Wich folder I have to use to put the apps I want? I noticied Titanium Backup have some issues with apps in priv-app, I'm asking bascly because this.
Thanks in advice

Categories

Resources