[Q] Extracting .apk from nandroid backup? - HTC Wildfire S

Ok so I've cooked my own ROM using dsixda's kitchen based on the stock euro 2.13.401.3 RUU.
I added apps2sd functionality and got it all working lovely, but have added a few apps after first boot - so there is data and SD cards ext2 partition.
I want to update the ROM to include as standard these .apk's so I followed the guide in the kitchen thread to unpack system.img and boot.img using the kitchen from a nandroid backup (CWM latest version)
My question is to pull the additional apps into my working ROM do I just copy and paste from the sd-ext.ext2.tar and place in /system/app or are there other files I need to copy over from the unpacked system.img?
Or is this just a complicated/convoluted way of doing things and is it better to rebuild my ROM from scratch before I flash to the phone and instigate apps2sd?
Many thanks
BT

Anyone shed any light please???
BT

Related

[Q] How to extract files from a Nandroid Backup

Hi,
I just installed a custom ROM on my phone and it's working very well.
The question is that I made a nandroid backup and want to copy some files from the backup. So how can I open the system.img and data.img files on my windows machine in order to copy the desired files?
Thanks in advance.
Explore2fs

[Q] My modified custom ROM

Being a newbie that is learning A LOT, my most recent question is:
If I have flashed a BYOR (midnight rom) then added the apk files that I wanted, is there a way of saving my modified ROM so that if I try something else and need to flash back, I can without reloading all of the apps from the zip files?
Make a backup in CWM before wiping, then restore it later when you want to switch back. That's all you can do as far as I know.
notmyepic said:
Being a newbie that is learning A LOT, my most recent question is:
If I have flashed a BYOR (midnight rom) then added the apk files that I wanted, is there a way of saving my modified ROM so that if I try something else and need to flash back, I can without reloading all of the apps from the zip files?
Click to expand...
Click to collapse
1st download Titanium Backup and save all your files on your and window information email etc etc . u hit menu then BATCH then back up all files and data ......
CWM ... got to restore n backup then select back up and let it work ..........
now after u check out the other Rom u go back into CWM .... RESTORE UR OLD FILE .... then download TITANIUM BACKUP and restore everything or just choose what you want NOTE: YOU CAN DO TITANIUM w the ROm IF U CHOOSE TO KEEP IT
Also, you can take applications from say the midNight v5 upgrade zip(use 7zip to open the zip file) navigate to system/app folder. Copy the apks from the upgrade zip to the same folder in the BYOR zip file; same for files in system/lib.
You can repeat that step for other apps you like from the midNight Extras folder.
If you ever have to flash fresh; then you'll have a rom zip pre-built with your apps and you wont have to flash each zip.
Absolutely utilize the backup in CWM .. that can save you butt ... before any theme, kernel or ROM install. That way if you hit a boot loop or freeze .. simply boot to recovery and restore your phone back to before that flash attempt.
Thanks everyone. When I get a chance I may try something different
I would download and install 7zip. make a backup copy of your midnight 5.0 byor zip incase you mess something up but not likely. right click on one of the rom zips and 7zip open archive. in that archive you opened there should be an sd card folder. open that and extract the midnight extras folder to your desktop (drag it to the desktop). open that archive up again and navigate to system/app. go into your midnight extras folder and copy all the apk's you want on your phone and paste them in the system/app folder. After this any time you flash this zip you will have all the apps you put in the system/apps folder and wont have to flash multiple zips for apps. this can be done for themes, boot animations, shutdown animations, fonts, pretty much anything you can flash as long as you know where to put them. ps always backup before flashing
I thought I read somewhere installing zip file with CWM, it needed the apk and another file (believe it was meta file)
Is this the case, or is the zip files with meta also for something bigger than just apks?

[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

[Q] UOT Kitchen Some Features didn't work

Hi,
just tried to make some changes with the UOT Kitchen but some features didn't work.
About my Device: HTC Desire PVT4 S-Off, Root, Runnymede 6.0.4.3
Features didn't work:
Header Text
Disable Carrier
New Bootanimation
can someone pls explain to me, why these features didn't work, and how i can fix them?
Thx much
The rom you are using probably moved the files you edited somewhere else in the system directory upon installation. This means that the flashable zip you got after theming is pushing the files to the wrong location.
What you can do is load those files manually by using adb or putting the said modified files on the rom zip prior to flashing.
Yes but what file is it? some features work. So i uploaded com.htc.resources.apk; resources-res.apk; SystemUI.apk.
but in the flashable zip are only 2 apks. the resources-res und the SystemUi. I found the folder for the bootanimation too. for me it has an other name, and boot and downanimation are in in file (or the downloaded is in one file, the othre has two)
If you have the file, boot into recovery, make backup, flash the cooked file and then see if it worked.
Sent from my HTC Desire using Tapatalk
So you can see in my first post, that i exactly did this, and some features didn't work!!!

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--

Categories

Resources