(Tip) Installing nookie with oc & gapps - Nook Color General

Here's a tip I've been doing since my early days of rooting and rom'ing. I didn't want to do all the dumb adb steps (they're needed sometimes I know) for getting gapps and oc and build.prop edits..
I did this for internal install, but I suspect you can work it for the SD card as well if you know how.. also please make sure you copy the Froyo uImage file for the OC.
1: Download nokie froyo. Leave it zipped or unzip, its your choice
2: unzip the oc file and drag the uImage file into the correct folder (sorry I can't remember, if someone could post the correct location, ill update)
3: drag and drop the system folder from the gapps download into your nookie. You want to drag it to the area where you see the /system folder but not actually in it. It will automaticly place the sub folders.
3A: (optional) if you have a edited build.prop, you can copy and replace now.
4: (optional if you unzipped) zip the folder using the 'store' option for compression
5: flash using the same method you usually would through CWR
I used winRAR and just dragged and dropped, and it worked great. It automaticly compressed the files to match the destination folder. I recommend drag and drop because winRAR doesn't have a paste option.
You can also place and remove any apps in the system folder at this time. You can make the folder as large as you want with whatever apps you feel should be in the folder.
I personally think its a great way to skip a number of steps. By putting in the files and stuff you want and then flash it saves time.
***** WARNING****** using a high overclock your nook can't support will result in the end of the world... misplacing files can and will result in a non-booting nook... USE AT OWN RISK IF YOU DON'T KNOW WHAT YOUR DOING.... DON'T DO IT
I won't post my file because of two reasons:
1: nookie froyo is not mine and I will not take credit for anything that those people spent hours finely crafting
2: I think distributing files with gapps installed is wrong or something, I'm not too sure
CREDIT: to all the fine developers who slave hours to create awesome roms... THANKS!!!
Sent from one of those missing Droids

If you have an internal eMMC installation of Froyo and want an overclocked kernel then I'd recommend using my Clockwork Mod zip to install.

That's good to use if you have out already installed, but if you are putting the new version on, this is a lot easier. Just put what you want, then flash once
Sent from one of those missing Droids

I was able to install all the gapps correctly. Unfortunately I can't seem to connect to the google servers. I cleared the data and cache from the google framework app but had no success any ideas?

Related

[Tool] Inject Apps to ROM for Installation

If you're like me, you probably have installed a new ROM at least once a week. I usually use Titanium Backup to restore all my Apps, but it takes quite a long time since I use a lot of Apps. Also, if you don't have the Pro version of Titanium Backup, you will need to click through the Install button for every App you want to install.
This program is a simple way to fix that. What it does is it injects you Apps as part of the ROM when you install a new ROM. This way, as soon as you install your ROM, your Apps will already be installed as part of the ROM.
I have only tried this with the latest Team Whiskey Onyx ROM, but it should work with most, if not all ROMs.
Also, not all Apps can be installed this way, especially if you try to include the data. YMMV.
INSTRUCTIONS
Prepare your computer
1. Install Java JRE and SDK.
2. Install 7-Zip. It can be found here: http://www.7-zip.org/
3. Download Testsign.jar. It can be found here: http://www.robmcghee.com/android/creating-an-android-update-zip-package/. Download the file "Testsign.zip" and extract it. Testsign.jar should be in there. You will need this later.
4. Set up your windows Path Environment.
a. Go to your Control Panel and open "System."
b. For Windows 7, you will need to click on "Advanced System Settings."
c. Go to the "Advanced" tab.
d. Click on the "Environment Variables" button.
e. Under "System Variables" find "Path." Select it and click on the "Edit" button.
f. A window should pop up a field for "Variable value." In there, you will want to add your 7-Zip and Java SDK bin path. At the end of "Variable value," add (without the quotes)
";C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\7-Zip"
It might be slightly different for you if you're not using a 64-bit Windows. Basically, this step is to allow you to run the Java and 7-Zip command-line tools from anywhere in your system.
5. Reboot your computer.
6. Test to make sure you can run the Java tools and 7-Zip tools. Do this by running "cmd." A command-line prompt should appear. In there, type "java" and hit enter. The usage info for running java should appear. Now type "7z" and hit enter. The usage info for 7-Zip should appear. Your computer is now set up to run my batch file.
Prepare your Apps
WARNING: Not all Apps work using this method, and not all data can be restored using this method. If it doesn't work, you can restore it using Titanium Backup and it should work fine. Once you find that a certain App doesn't work, you should probably remove it from your App/Data folder (read below) so it doesn't install next time using this method.
1. Get all your APKs and data. The easiest way I know how to do this is by using Titanium Backup to make a backup of all my Apps.
2. Use Titanium Backup and back up your Apps.
3. Inside your SD Card, you should have a TitaniumBackup folder. All your Apps and data are in here. Every App you have backed up in Titanium should have 3 files. A .properties file, a apk.gz file, and a tar.gz file. The apk.gz file will contain your APK. The tar.gz file will contain your data. You can extract these files using something like WinRAR.
4. Extract your APKs and put them in a folder called "data\app". Extract your App's data and put them in a folder called "data\data". Your "data\data" should look something like this "data\data\com.appname".
5. Once this is complete, you can use this APK/data set for any future ROMs.
Create your ROM with your Apps
1. Put AppToROM.bat, testsign.jar, your data folder, and your ROM's zip into the same folder.
2. Drag your ROM's zip onto AppToROM.bat.
3. The batch file will now start creating your new ROM for you. It will do the following steps:
a. Extract your ROM.
b. Copy your data to the extracted ROM folder.
c. Zip everything back up.
d. Sign the new Zip.
4. When everything is done, you should have a "NewROM.zip" file. Use this new Zip file to install your ROM like you normally would.
Disclaimer:
I take no responsibility for any harm that this may do to your device. All of the tools here, except the bat file, I did not write. I just created a bat file that puts all the tools together to make it easier to install your Apps after installing a new ROM.
or you could just open your update.zip and place your apks in system/app re-zip and flash. Done this multiple times and it works. just need to keep a copy of your apks on your computer. ill try this method tonight. thanks
If you put it into "system/app" it will install it as a System app, and I believe you can't uninstall it regularly (kind of like how you can't install the bloatware). You will need to use Titanium Backup to uninstall it.
Also, I remember reading that some people were not able to install the ROMs after zipping it up because it's not signed.
This script is very simple. It basically just unzips the ROM, copies over your apps, zips back the ROM, and then signs it. Once you have your Windows set up, you can just drag and drop the ROM to the .bat file and it'll do all that for you.
Is this useless? Maybe. But, the same could be said for something like RyanZA's OCLF. You can sit there, type in all the commands to convert to EXT2, wait for it to convert, and reboot, or you can just run OCLF (which is basically just running a script for the conversion, to put it simply).
blackerwater said:
or you could just open your update.zip and place your apks in system/app re-zip and flash.
Click to expand...
Click to collapse
Why not just put them into data/app instead?
or you could just...
Or you could just download a pro version of titanium backup so that it can restore all your apps without you needing to click. There are plenty to be found online. The latest version, the better, as it would be more stable with froyo
So doing things this way... since it will be signed, i can also take other things out form other roms that i like and toss them in this rom??
I have titanium paid version. Just run it and it does everything
Sent from my SGH-T959 using XDA App
Dude it's called WinRAR. Open up the zip. Drop your apps into the data/app folder.
Then flash it. Simple.
Want certain apps to stay even after hard resetting? put them in system/app
This tool is completely unnecessary.
That's really a good idea. I like the method very much, it give me more free time to do some other things when flashing...Thanks !
Anderdroid said:
Dude it's called WinRAR. Open up the zip. Drop your apps into the data/app folder.
Then flash it. Simple.
Want certain apps to stay even after hard resetting? put them in system/app
This tool is completely unnecessary.
Click to expand...
Click to collapse
Ditto. This seems way more complicated then the method I've been using. You say it's simple that there are like 20 steps.
yeah and CWM has the option to toggle signature verification.. so you can flash unsigned apps on the vibrant.. but if you use 7zip it doesnt mess with the sig...
epakrat75 said:
Why not just put them into data/app instead?
Click to expand...
Click to collapse
Or that should work. And as for signing problems I us ubuntu and ive never had that happen but I guess with windows anything is possible.
Sent from my vibrant
Etrnaly said:
If you put it into "system/app" it will install it as a System app, and I believe you can't uninstall it regularly (kind of like how you can't install the bloatware). You will need to use Titanium Backup to uninstall it.
Click to expand...
Click to collapse
$adb shell
$su
#rm /system/app/CrappyBloatwareAppOfChoice.apk
Done.
No need for titanium.
Sorry for the noob question
Anderdroid said:
Dude it's called WinRAR. Open up the zip. Drop your apps into the data/app folder.
Then flash it. Simple.
Want certain apps to stay even after hard resetting? put them in system/app
This tool is completely unnecessary.
Click to expand...
Click to collapse
When you say your apps do you mean your .apks thanks

Temporary Fun (:

Seeing as some of the framework needs to be modded for a pre-rooted version of the 1.2 ROM I figured I would throw a little zip together with some stuff to play with. Its nothing special. Instructions:
1. Download the attached zip file to your computer and extract it onto your desktop, your documents, your "taxes 1993" folder, "kittens folder", or wherever you want for that matter.
NOTE: THIS IS NOT CWM FLASHABLE, DON'T EVEN THINK ABOUT IT.
2. Download one of Nemith's ROMs from here.
3. Use winrar, archive manager or any other software you have that can open up zip files and open the rom you downloaded in step 2. Once thats open, click on "system", then "bin".
4. Go back to the files you downloaded and extracted in step 1 and you will see something called 'su' simply drag and drop the 'su' file into that "bin" folder you opened in step 3. It might take a minute to add it to the zip archive so be patient.
5. Once that is done, click the back button in winrar or whatever your using so you will now be in the "system" folder and no longer in /system/bin. You should see a folder called "app", click on it. Once thats open, drag and drop the apks that were included in the zip into there and give them a second to be added in.
6. Once that is done, your free to add any additional apks that you either downloaded or have backed up from a previous setup. (extract some from root explorer before flashing the update if you would like, then copy those on there.)
7. Now that you have all the apks you want added in there, close the zip, put it on your sdcard and flash that bad boy up.
Note: I included 2 launchers in there, VTL and ADW free. You can add both of them if you want and try them out or just pick one or the other. The apk that says something about gojimi is the VTL launcher. Also, feel free to add apps that require root since you have root access thanks to that business with su earlier. This doesnt have the market because BN is gay and their custom framework needs to be hacked, (thank you for the Nook though. ) also, youll need to select one of the custom launchers if you wanna use all of the apps you added. Superuser.apk and the nookcolor tools utility are included in the zip.
I believe this is not considered warez since all the files included are free, mods feel free to correct me if I'm wrong. Once again, this doesnt have market, just a guide to adding apps and being able to use root.
Hit thanks if I helped you.
RileyGrant said:
Seeing as some of the framework needs to be modded for a pre-rooted version of the 1.2 ROM I figured I would throw a little zip together with some stuff to play with. Its nothing special. Instructions:
1. Download the attached zip file to your computer and extract it onto your desktop, your documents, your "taxes 1993" folder, "kittens folder", or wherever you want for that matter.
NOTE: THIS IS NOT CWM FLASHABLE, DON'T EVEN THINK ABOUT IT.
2. Download one of Nemith's ROMs from here.
3. Use winrar, archive manager or any other software you have that can open up zip files and open the rom you downloaded in step 2. Once thats open, click on "system", then "bin".
4. Go back to the files you downloaded and extracted in step 1 and you will see something called 'su' simply drag and drop the 'su' file into that "bin" folder you opened in step 3. It might take a minute to add it to the zip archive so be patient.
5. Once that is done, click the back button in winrar or whatever your using so you will now be in the "system" folder and no longer in /system/bin. You should see a folder called "app", click on it. Once thats open, drag and drop the apks that were included in the zip into there and give them a second to be added in.
6. Once that is done, your free to add any additional apks that you either downloaded or have backed up from a previous setup. (extract some from root explorer before flashing the update if you would like, then copy those on there.)
7. Now that you have all the apks you want added in there, close the zip, put it on your sdcard and flash that bad boy up.
Note: I included 2 launchers in there, VTL and ADW free. You can add both of them if you want and try them out or just pick one or the other. The apk that says something about gojimi is the VTL launcher. Also, feel free to add apps that require root since you have root access thanks to that business with su earlier. This doesnt have the market because BN is gay and their custom framework needs to be hacked, (thank you for the Nook though. ) also, youll need to select one of the custom launchers if you wanna use all of the apps you added. Superuser.apk and the nookcolor tools utility are included in the zip.
I believe this is not considered warez since all the files included are free, mods feel free to correct me if I'm wrong. Once again, this doesnt have market, just a guide to adding apps and being able to use root.
Hit thanks if I helped you.
Click to expand...
Click to collapse
awesome!!!
so no market means no gapps either?
what about amazon appstore?
This is great. I already have it up and running with a bunch of other apks and a third party launcher using this same method, but the nook color tools and root will be helpful too (enabling the installation of "unknown apps" will be very good).
Canadoc said:
awesome!!!
so no market means no gapps either?
what about amazon appstore?
Click to expand...
Click to collapse
Amazon App store should work now that you mention it. Just download the apk online and put it in there. Hahah Im working on a full rooted rom but I figured Id give you all something easy to do for now.
do all apk have to into system app as i think amazon installs to data folder
You can sideload the Amazon app (or download it through the browser) after you do the steps in the OP. After it boots, open Nook Color Utils (tools?) and then uncheck and check the unknown apps option at the top. After that you should be able to download and install or sideload anything into data/app.
Canadoc said:
do all apk have to into system app as i think amazon installs to data folder
Click to expand...
Click to collapse
You can push to /data/app also.
Sent from my PC36100 using Tapatalk
elessarelfstar said:
You can sideload the Amazon app (or download it through the browser) after you do the steps in the OP. After it boots, open Nook Color Utils (tools?) and then uncheck and check the unknown apps option at the top. After that you should be able to download and install or sideload anything into data/app.
Click to expand...
Click to collapse
doesnt work. won'tinstall from a web download
also titanium backup cant find root so this doesn't work. not sure what value su has
In the stock 1.2 zip thread here
http://forum.xda-developers.com/showthread.php?t=1050520&page=5
I suggested loading one of the one-click root apps into the ROM? Does that work?
I did try installing with z4root in system/apps and it didn't work. Though that may have been because it needs to run from data/app (maybe?). Don't know. Haven't tried it that way yet.
RileyGrant said:
Seeing as some of the framework needs to be modded for a pre-rooted version of the 1.2 ROM I figured I would throw a little zip together with some stuff to play with. Its nothing special. Instructions:
1. Download the attached zip file to your computer and extract it onto your desktop, your documents, your "taxes 1993" folder, "kittens folder", or wherever you want for that matter.
NOTE: THIS IS NOT CWM FLASHABLE, DON'T EVEN THINK ABOUT IT.
2. Download one of Nemith's ROMs from here.
3. Use winrar, archive manager or any other software you have that can open up zip files and open the rom you downloaded in step 2. Once thats open, click on "system", then "bin".
4. Go back to the files you downloaded and extracted in step 1 and you will see something called 'su' simply drag and drop the 'su' file into that "bin" folder you opened in step 3. It might take a minute to add it to the zip archive so be patient.
5. Once that is done, click the back button in winrar or whatever your using so you will now be in the "system" folder and no longer in /system/bin. You should see a folder called "app", click on it. Once thats open, drag and drop the apks that were included in the zip into there and give them a second to be added in.
6. Once that is done, your free to add any additional apks that you either downloaded or have backed up from a previous setup. (extract some from root explorer before flashing the update if you would like, then copy those on there.)
7. Now that you have all the apks you want added in there, close the zip, put it on your sdcard and flash that bad boy up.
Note: I included 2 launchers in there, VTL and ADW free. You can add both of them if you want and try them out or just pick one or the other. The apk that says something about gojimi is the VTL launcher. Also, feel free to add apps that require root since you have root access thanks to that business with su earlier. This doesnt have the market because BN is gay and their custom framework needs to be hacked, (thank you for the Nook though. ) also, youll need to select one of the custom launchers if you wanna use all of the apps you added. Superuser.apk and the nookcolor tools utility are included in the zip.
I believe this is not considered warez since all the files included are free, mods feel free to correct me if I'm wrong. Once again, this doesnt have market, just a guide to adding apps and being able to use root.
Hit thanks if I helped you.
Click to expand...
Click to collapse
This is unbelievable! Thanks so much for this.
I use my nook for 70% reading + 30 % for emailing and web browsing.
I installed CM7 on emmc, but the battery sleep issue is killing (goes from 100 to 0% in a day) + I cannot use the stock Nook reading App. The Nook market app sucks compared to the stock nook app.
I was ideally looking for a solution which would allow me to use the stock nook reader + email + good web browser.
So can I sideload apps such as Dolphin HD browser and Any email client, using this method? Is there any limit to sideloading apps in the system/app folder? I do have a bunch of apk's that I would love to use.
Thanks in advance!
Canadoc said:
doesnt work. won'tinstall from a web download
also titanium backup cant find root so this doesn't work. not sure what value su has
Click to expand...
Click to collapse
Works for me, try adb shell
Cd /system/app
Chmod su 4755
imjimmy said:
This is unbelievable! Thanks so much for this.
I use my nook for 70% reading + 30 % for emailing and web browsing.
I installed CM7 on emmc, but the battery sleep issue is killing (goes from 100 to 0% in a day) + I cannot use the stock Nook reading App. The Nook market app sucks compared to the stock nook app.
I was ideally looking for a solution which would allow me to use the stock nook reader + email + good web browser.
So can I sideload apps such as Dolphin HD browser and Any email client, using this method? Is there any limit to sideloading apps in the system/app folder? I do have a bunch of apk's that I would love to use.
Thanks in advance!
Click to expand...
Click to collapse
Yes you can do all of that! And I dot think you'll run into any problems unless you have like 600 Mbs of apps. Hahaha
How to flash this?
Please excuse the Noob questions.
How do I go about flashing this? Do I just insert the sd card and boot? Do I hold the n and power buttons? Some other way?
Also, will this all be wiped out if B&N force-upgrades over wifi?
Thanks in advance.

without odex

I am using the GT540 with 2.1 rom
i want delete in the system/app-> odex files
but when i delete any odex files
app does not work
examples
delete system/app-> music.odex... music does not work
There are some applications run with odex
some applications run without odex (example lgecamera.apk)
I would like in working without odex every app on 2.1
how do I
please help
Thank you for answers
I'm sorry for my English
I think first you need to understand the concept of ODEXing. In stock LG roms the system applications are Odexed. "ODEX" stands for Optimized DEX - Classes.dex is usually a file that stands inside the apk file of any application. When a program is odexed the file is extracted from the apk, optimized, and saved alongside the application in the odex format. However, since the apk no longer contains its (albeit optimized) classes, deleting the odex file leaves the application broken and unusable, until you reinstall it again. Now, I can think of only one way to deodex right now, but I really don't think it's a good idea(The rom i'm using was deodexed, yet I odexed it intentionally). What you need to do is:
1. Make a backup of your phone using clockworkmod recovery
2. From that backup take system.img and boot.img
3. You will need to download and run Android Kitchen. Since it's a Linux program, you'll need that as well. Look into it.
4. Insert the 'boot' and 'system' img files into the kitchen, and use the deodex option, then export the rom as update.zip
5. Put the file in your sdcard, boot into recovery, and format system
6. Choose 'install update.zip', and install the one you've created
7. From 'Advanced' menu clean Dalvik-Cache, and see if the phone works now.
While this *should* work *in theory*, as far as I know using a backup to modify it in the kitchen doesn't always work. Also, since I imagine some of your system apps are now broken, what I told you to do should be done after first reinstalling the rom in some way, in order to get your apps straight.
Well, I hope I've been helpful. Good luck.
if I'm not wrong there should be a script somewhere i the forum
bs828 said:
if I'm not wrong there should be a script somewhere i the forum
Click to expand...
Click to collapse
For deodexing? There's one for odexing, but I'm not sure about the opposite one. I'll do a search. Besides, some of his system apps are already screwed up, so I doubt that will help.
This kitchen can run on Cygwin (author mentioned it)
nutterbg said:
I think first you need to understand the concept of ODEXing. In stock LG roms the system applications are Odexed. "ODEX" stands for Optimized DEX - Classes.dex is usually a file that stands inside the apk file of any application. When a program is odexed the file is extracted from the apk, optimized, and saved alongside the application in the odex format. However, since the apk no longer contains its (albeit optimized) classes, deleting the odex file leaves the application broken and unusable, until you reinstall it again. Now, I can think of only one way to deodex right now, but I really don't think it's a good idea(The rom i'm using was deodexed, yet I odexed it intentionally). What you need to do is:
1. Make a backup of your phone using clockworkmod recovery
2. From that backup take system.img and boot.img
3. You will need to download and run Android Kitchen. Since it's a Linux program, you'll need that as well. Look into it.
4. Insert the 'boot' and 'system' img files into the kitchen, and use the deodex option, then export the rom as update.zip
5. Put the file in your sdcard, boot into recovery, and format system
6. Choose 'install update.zip', and install the one you've created
7. From 'Advanced' menu clean Dalvik-Cache, and see if the phone works now.
While this *should* work *in theory*, as far as I know using a backup to modify it in the kitchen doesn't always work. Also, since I imagine some of your system apps are now broken, what I told you to do should be done after first reinstalling the rom in some way, in order to get your apps straight.
Well, I hope I've been helpful. Good luck.
Click to expand...
Click to collapse
Thank you for your excellent explanation
definitely going to try them
but where do I find Android kitchen for the GT540
and the running xp or win7?
Can you give the web address?
thanks a lot.
Here you are
http://forum.xda-developers.com/showthread.php?t=633246
You can use kitchen on Windows thanks to Cygwin .
Wystukane z mojego Swifta przy użyciu Tapatalk.

[Q] how to create cm7.2 odin flash fw

hi guys i am running cm7.2 nightly on my captivate and i want to create an odin flashable firmware of cm7.2 rom on windows xp for backup purpose please give me a full tutorial on doing this
I believe it isn't possible. I was asking around for ICS and from what i gathered it isn't.
Two things you could do.
1.download the newest nightly that you want to base it on.
2. Use Root Explorer and EXTRACT ALL.
3. Then go to the extracted folder for the nightly, and delete out the SYSTEM folder.
4.Now MAKE SURE you have your phone set up EXACTLY how you want it to look like. Reboot the phone once that is done.
5. Now with root explorer navigate to /system and long press on the system folder. Choose COPY
6. Navigate to the extracted folder (which should be like sdcard/speedsoftware/extracted OR something like that) and go into the folder where you deleted out SYSTEM folder earlier. Now long press and choose PASTE.
7. Back out until your back at the extracted folder name, long press on it and choose RENAME. Pick the name you want it to be. (I usually use something like: CM7.2RockRattRedRemixThemed02-10-2012).
8.Long press on the name again and choose ZIP THIS FOLDER.
9. GO TO ZIPPED FOLDER.
10. Move the zipped folder to your sdcard, reboot to recovery and flash it to make sure it works.
11. If it worked just copy or or move that .zip file to your computer for backup.
Or I can upload the one I have created so you can see it and test it out. I have made some other changes so it is partially already themed, has the theme chooser. apk File I use instead of the stock theme chooser .apks that come with the original cm7. I use zip themer to set up certain things so they are automatically themed when just flashing the build i created. Hope this helps you get an idea of a pretty bazsic way of making your own cwm flashable cm7 rom already personalized. Oh I also delete of some of the apps that come in cm7 and just put my own personal apps into the system folder so I already have them built in.
Sent From My KickAss ATT SGS2 SPORTING CM7
RockRatt said:
Two things you could do.
1.download the newest nightly that you want to base it on.
2. Use Root Explorer and EXTRACT ALL.
3. Then go to the extracted folder for the nightly, and delete out the SYSTEM folder.
4.Now MAKE SURE you have your phone set up EXACTLY how you want it to look like. Reboot the phone once that is done.
5. Now with root explorer navigate to /system and long press on the system folder. Choose COPY
6. Navigate to the extracted folder (which should be like sdcard/speedsoftware/extracted OR something like that) and go into the folder where you deleted out SYSTEM folder earlier. Now long press and choose PASTE.
7. Back out until your back at the extracted folder name, long press on it and choose RENAME. Pick the name you want it to be. (I usually use something like: CM7.2RockRattRedRemixThemed02-10-2012).
8.Long press on the name again and choose ZIP THIS FOLDER.
9. GO TO ZIPPED FOLDER.
10. Move the zipped folder to your sdcard, reboot to recovery and flash it to make sure it works.
11. If it worked just copy or or move that .zip file to your computer for backup
Click to expand...
Click to collapse
thanks for your effort and reply but i want to create odin flashable fw not cwm, i know how to create cwm flashable rom, but anyway thanks for your reply
You could DD'ing a back up of all partitions and then tar'ing it, then flashing it in ODIN
Aren't the partition blocks different on AOSP?
Yess, but you can look them up then dd them, and DL the pit with heimdall, and create an ODIN FW flasher
Boot.img vs zImage. Way around?
decompile the boot.img and grab the zImage from the decompiled boot.img
b-eock said:
You could DD'ing a back up of all partitions and then tar'ing it, then flashing it in ODIN
Click to expand...
Click to collapse
can you please tell me step by step tutorial, i also dont know about dd'ing and do not use heimdal so cannot create pit file

[Q] CWM Recovery: patching backups; updating CM

Some simple (I hope) questions. Let's say I do a full CWM backup and copy the complete backup directory to my desktop. If I now want to change something inside this backup can I simply change the relevant .tar.a file(s), write their new checksums into nandroid.md5, copy everything back to the sd card and expect the whole thing to work?
No 2: I have just let the HD+ update itself to cm-10.1.3-ovation (final) and all went swimmingly. However, I saw that the update is not done incrementally, instead the whole zip is downloaded and the /system tree simply overwritten with its contents. I had put some bits and pieces into /system/app and /system/bin and modified a few files inside of /system, all of which changes were of course gone. So a better update strategy might be to download any new version from the CM website to a desktop machine, patch the .zip file there and then have CWM install it. Can CWM install such an update file like any other .zip or is the update.zip route the correct way?
Or perhaps the best way to update in such a scenario is to download the .zip, sync it with an existing CWM backup (as in the first question) and restore the backup?!
If you get the md5 sum right editing the tar should work.
You can edit the downloaded zip before you flash it and it will still install. But editing after install is about the same amount of work.
What I used to do on the Nook Color was to modify the gapps zip to add the /system changes I wanted and then reflashed the gapps every time I flashed a new ROM. That way gapps were refreshed and the new changes were inserted in /system. Or, you could make your own zip to flash only your changes. The easiest way to make one is to edit the gapps zip to put your changes in and then delete the gapps files from the zip.
Do these zip changes with archive software without totally unzipping and rezipping.
Edit: Since some of my changes were modifications to build.prop, I developed a script to edit the new ROM's build.prop on the fly as part of the zip. That way build date, etc stayed right. If you want, I can use PM to send you a copy of my old edited gapps for you to study. However, since you are on CM10.1 stable, you will probably not be updating again.
Sent from my Nook HD+ running CM10.1 on emmc.
> If you get the md5 sum right editing the tar should work.
Okay, thanks for the confirmation.
> You can edit the downloaded zip before you flash it and it will still install.
But how do I trigger that install, once in CWM? That was my 2nd question.
> But editing after install is about the same amount of work.
Not in my case as I have a) no MTP and b) can easily auto-sync huge directory trees with a powerful command line tool.
I think the best way forward is to ignore the installing of new install .zips via CWM, however this is done. Instead I'll produce a nandroid-compatible backup directory and "restore" that.
Thanks again for your help.
TooMuchSloeGin said:
> If you get the md5 sum right editing the tar should work.
Okay, thanks for the confirmation.
> You can edit the downloaded zip before you flash it and it will still install.
But how do I trigger that install, once in CWM? That was my 2nd question.
> But editing after install is about the same amount of work.
Not in my case as I have a) no MTP and b) can easily auto-sync huge directory trees with a powerful command line tool.
I think the best way forward is to ignore the installing of new install .zips via CWM, however this is done. Instead I'll produce a nandroid-compatible backup directory and "restore" that.
Thanks again for your help.
Click to expand...
Click to collapse
You don't trigger it, you manually boot to CWM and manually install it. Go to install zip from SD and choose where you put it.
And by editing after install, I meant editing /system once it is installed on the Nook.
Sent from my Nook HD+ running CM10.1 on emmc.

Categories

Resources