[ROM] v.4 Simple Rom - Deodexed framework and apps Zipaligned (Updated All Working!) - Epic 4G Android Development

All issues fixed, new file has been uploaded and the link updated
Ok, I like you, am tired of not having anything at all out there to flash and screw around with. I put this together last night and now that we have a somewhat functional clockwork recovery I wanted to give people something to screw around with.
That said, I'm having a lot of issues getting clockwork to properly flash .zips but fortunately there is a ghetto work around until I can look into fixing the issue.
Framework and apps are all deodexed and zip aligned. This is virgin, you will have to enter all of your information again so keep a titanium or mybackup handy.
I advise against restoring any data from apps that were once .odex. So restore your previous information carefully.
Do a Clockwork backup prior to doing this. If you don't then that is your own problem.
What you need:
1. You should be rooted and have clockwork recovery installed.
2. Download this image
http://www.megaupload.com/?d=CEIZVMHK
3. Extract the folder to your desktop. DO NOT CHANGE THE NAME leave it in the format that it is in.
4. Mount your sd card and open it. You should have a folder clockworkmod > backup >
If you don't then you didn't do a backup. Go back and re read what I wrote from the top and do that first.
5. Open that backup folder and drop in the file you extracted
6. You should see
clockworkmod > backup > 2010-09-15.00.44.56 > with three files cache, data and system .img.
If there is an extra folder from extraction or your directory structure is different it won't work.
7. reboot to clockwork recovery (power off, wait, hold volume down, camera then power until you see it)
8. go to backup and restore
9. restore
10. Select 2010-09-15.00.44.56
The backup will process on your device, once finished hit reboot and you will have a fully deodexed, zip aligned stock rom that you can now customize.
I have done this multiple times without any issues. You can also try a selective backup of just the /system folder and try an retain your /data. This has worked in the past for me, however I did have one incident where it cause a lot of issues and I had to do a full restore to stop the force close.
What do you gain?
Well the rom is a little bit zippier with things optimized a bit and there is a little more RAM available. It is also easier to skin and do other things now that all those pesky .odex files are gone.
If you have a question or issue post it here. Don't send me PM's.
Troubleshooting
1. Can't download from market?
Make sure you are signed into Gtalk.

check your pm and respond

Thanks man. Im speeding home for you. I can't download it from the epic for dome reason. My hero or evo was fine downloading zip files.
Sent from my SPH-D700 using Tapatalk

Sir. Yes Sir!
J/K
Seriously though, noobnl, is there a problem with this? You shortness makes me think there may be some issue.

done12many2 said:
Sir. Yes Sir!
J/K
Seriously though, noobnl, is there a problem with this? You shortness makes me think there may be some issue.
Click to expand...
Click to collapse
nope no problem

I'm out right now so I don't have acess to anything. I'll take a look at my update script and files to make sure its not just a stupid mistake.
Until then this works fine for people looking for something to mess with.

Flashing right now.

I have to files in the "clockworkmod/backup" folder. On is my backup today, which is 2010-09-14.20.23.11 and the other is 2010-09-14.05.12.51 (3 files totalling 254 Mb).
When I attempt to restore the 2010-09-14.05.12.51 folder, I get the following.
Please advise if this is correct.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Make sure you don't have an extra folder. Sometimes depending on how you extract the files you will end up with an extra folder.
Clockworkmod - should have the backup folder among other things
backup folder -should have the 2010-09-14.05.12.51 folder and your other backups
2010-09-14.05.12.51 folder should have cache.img, data.img and system.img
There shouldn't be any extra folders, that will create an issue with the recovery seeing the files.

Aridon, bro. Just flashed. No problems what so ever.

Yeah, all three (cache.img, data.img and system.img) are in there. I have run the restore twice with the extact same results as the pictures I've posted.

Aridon, the phones feels Snappier by FAR. I'm gonna run Quadrant and Linpack.

done12many2 said:
Yeah, all three (cache.img, data.img and system.img) are in there. I have run the restore twice with the extact same results as the pictures I've posted.
Click to expand...
Click to collapse
Did you do the newer version of Clockwork recovery?
http://forum.xda-developers.com/showthread.php?t=782300
Make sure your directory structure is exactly as it needs to be. I have it bold in the first post. Under Step 6.
If so, try downloading it again maybe its corrupt. Make sure you use winrar or 7zip to open it. Windows built in depacker is ****.

Aridon said:
Did you do the newer version of Clockwork recovery?
http://forum.xda-developers.com/showthread.php?t=782300
Make sure your directory structure is exactly as it needs to be. I have it bold in the first post. Under Step 6.
Click to expand...
Click to collapse
I did that exact Clockwork recovery in your link. As far as the directory structure, I know nothing abou that stuff I do know that it did successfully restore my original back up just now, so at least that is working for me. I am more than confident I am not seeing something, but I have no idea what. It seems pretty straight forward.

Aridon, got an 8.113 on first try with Linpack and 965 on Quadrant.

Could having the Andromeda Galaxy Kernel v1.3.0 mess up this process at all?

done12many2 said:
Could having the Andromeda Galaxy Kernel v1.3.0 mess up this process at all?
Click to expand...
Click to collapse
I had it. No problems.

done12many2 said:
I did that exact Clockwork recovery in your link. As far as the directory structure, I know nothing abou that stuff I do know that it did successfully restore my original back up just now, so at least that is working for me. I am more than confident I am not seeing something, but I have no idea what. It seems pretty straight forward.
Click to expand...
Click to collapse
Directory structure is easy: Its a giant file cabinet with folders.
clockworkmod > backup > 2010-09-14.05.12.51 > with three files cache, data and system .img.
Open clockworkmod folder on your sd card:
Open backup
open 2010-09-14.05.12.51
You should see 3 files in there (cache.img, data.img and system.img). You shouldn't have to open anything else to see those files. Even an extra step like opening 2010-09-14.05.12.51 twice will mess up the process.(eg. you open it and see another one there and open it and then see the files, that would mess things up).
You should NOT have to open up any other folders, even if they have the same name, it will screw up the restore. So if you had to open 2010-09-14.05.12.51 (or any of the other folders twice or in a different order) that would be an issue.
done12many2 said:
Could having the Andromeda Galaxy Kernel v1.3.0 mess up this process at all?
Click to expand...
Click to collapse
No. This doesn't make any changes to that portion of the device.

Aridon said:
Directory structure is easy:
clockworkmod > backup > 2010-09-14.05.12.51 > with three files cache, data and system .img.
Open clockworkmod folder on your sd card:
Open backup
open 2010-09-14.05.12.51
You should see 3 files in there (cache.img, data.img and system.img). You shouldn't have to open anything else to see those files. Even an extra step like opening 2010-09-14.05.12.51 twice will mess up the process.
You should NOT have to open up any other folders, even if they have the same name, it will screw up the restore. So if you had to open 2010-09-14.05.12.51 (or any of the other folders twice or in a different order) that would be an issue.
Click to expand...
Click to collapse
Well sir, you are a great fellow! You hit the nail on the head with the structure as I had the three files within a folder named 2010-09-14.05.12.51, which was located within another folder named 2010-09-14.05.12.51.
Thanks for your patience with a new guy. This and my Evo are my first Android phones and guys like you are making the transition great!!
Let me know what the protocol is for giving credit for credit due around this forum!

So custom kernels stay? AWESOME!!!

Related

SOLVED - Theming HtcClockWidget.apk

Phone: Froyo 2.2 with root and S-OFF
I am trying to theme the clock widget with no luck. All I am trying to do is replace the flip digits, AM, PM, and background with identical sized graphics. I have tried replacing them with WinZip and 7Zip. I am signing them with the test signature which works with every other type of apk file.
I mount the system partition and push the new version with adb and when I restart all I get is a blank widget. It also shows up in the widgets list as something like 01db as the name.
So, I suspect the signing is the problem. Could be some signature check within the widget causing it to fail.
Any thoughts?
If anyone has this widget working with a black background and silver digits I would be just as happy.
I'm afraid I can't be much help at the moment, since I'm away from my computer, but here is a mod from the hero forums that I used to use on my eris. It'll be mdpi instead of hdpi, but taking a look at its files might help you out.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://forum.xda-developers.com/showpost.php?p=6270955
EDIT: You might also try making a metamorph or update.zip to apply the new widget. Sometimes that works better than an adb install.
mixedlemon said:
EDIT: You might also try making a metamorph or update.zip to apply the new widget. Sometimes that works better than an adb install.
Click to expand...
Click to collapse
Thanks. I will give the update.zip approach a shot.
Have you tried pushing the modified apk file without signing it first?
Oddity said:
Have you tried pushing the modified apk file without signing it first?
Click to expand...
Click to collapse
Actually no I haven't. Worth a shot Thanks
Well, that was weird... Pushing it unsigned worked. I never thought to try that since any add on apk's I have done needed to be signed.
Thank you
So, to summarize:
Code:
1) Open apk with 7zip and leave it open
2) Extract res folder to desktop
3) Modify graphics or whatever (I only did graphics)
4) Drag the res folder over the zip window and drop
5) Exit 7zip
6) Go into recovery mode and mount /system
7) Connect phone to pc
8) Open cmd and cd to your sdk folder where you put the apk
9) Push to original folder (in this case adb push HtcClockWidget.apk /system/app) on phone in recovery mode
Happiness
Awesome, glad you got it to work. The way I usually do it is to push any apk unsigned first, and if I have problems try it again but sign first.
Oddity said:
Awesome, glad you got it to work. The way I usually do it is to push any apk unsigned first, and if I have problems try it again but sign first.
Click to expand...
Click to collapse
I guess I just got hung up on signing since I have never had luck with unsigned. However, this was my first attempt at a built in apk.
Thanks again
Just incase anyone likes the silver on black numbers for their clock like I do I decided to post my mods to HtcClockWidget.apk
This is based on the stock 2.2 widget but may work on 2.1 ROM's
Requires being rooted so just use adb to push it to /system/app folder
Back up your original just incase you want to go back
NilsP said:
Just incase anyone likes the silver on black numbers for their clock like I do I decided to post my mods to HtcClockWidget.apk
This is based on the stock 2.2 widget but may work on 2.1 ROM's
Requires being rooted so just use adb to push it to /system/app folder
Back up your original just incase you want to go back
Click to expand...
Click to collapse
looks awesome thxs
tried pushing. but it doesnt seem to be going to the /systems/apps folder using the (adb push HtcClockWidget.apk /system/app)
RLKirk said:
tried pushing. but it doesnt seem to be going to the /systems/apps folder using the (adb push HtcClockWidget.apk /system/app)
Click to expand...
Click to collapse
Have you tried to push it in recovery mode with system mounted.
NilsP said:
Have you tried to push it in recovery mode with system mounted.
Click to expand...
Click to collapse
yeah i went to recovery checked to make sure it seen my device mounted system and pushed it done the size and time thing in dos as if it pushed the apk but then when i went and looked in the folder it was not there and i cant push the original clock back either lol... idk what it is
RLKirk said:
yeah i went to recovery checked to make sure it seen my device mounted system and pushed it done the size and time thing in dos as if it pushed the apk but then when i went and looked in the folder it was not there and i cant push the original clock back either lol... idk what it is
Click to expand...
Click to collapse
Not sure how to help. I just boot into hboot start, recovery mode, go to mount and mount system then open the cmd prompt and do the adb push HtcClockWidget.apk /system/app and all goes well. Have done it multiple times with changes
I am assuming you have the USB drivers installed and not HTC Sync.
When I ran SRS 2.5.2 it had the MOD for the silver clock widget, I now have 3.1 RC3 but when I try your method, "adb push HtcClockWidget.apk /system/app" it uninstalls the stock one but does not install the new one. I have to flash a Nandroid backup to restore it. What am I doing wrong? I really liked the one from 2.5.2 and want it again.
Update.zip
Sent from my ADR6300 using Tapatalk
Yeah, tried that. No good. I uninstalled the original and still no good. Now I have to reflash again. Any other ideas?
i pushed the file from post number 9 into system app and it shows up as being in system/app in root explorer but i no longer have it in my widgets list. i even tried pushing the old one back and i still have no clock in my widget list. what do i do?
jasonb1985 said:
i pushed the file from post number 9 into system app and it shows up as being in system/app in root explorer but i no longer have it in my widgets list. i even tried pushing the old one back and i still have no clock in my widget list. what do i do?
Click to expand...
Click to collapse
I can understand it not working if you are on other than a stock 2.2 ROM since it is from the stock. What I don't understand is why pushing you original backup back isn't working.
Can you reinstall it from your Nand backup?
NilsP said:
I can understand it not working if you are on other than a stock 2.2 ROM since it is from the stock. What I don't understand is why pushing you original backup back isn't working.
Can you reinstall it from your Nand backup?
Click to expand...
Click to collapse
i did a nandroid restore, back to where i was before. its just weird that its not working.

Problem porting Bionix

Guys I tried this without any success
Vibrant ROM = Bionix
Galaxy S 4G ROM = KD1 Deodexed (CWM Ready)
1. I decompiled, swapped many lines in Environment.smali (only file where I saw differences)
2. Re-compiled them into new classes.dex files
3. Removed old classes.dex file from each of the four files (services.jar, framework.jar, settings.apk and android_policy.jar)
Note on step 3 - I don't know why I had to do this for the other 3 files if the Environment.smali in framework.jar was the only file that apparently needed modification...but I moved on
4. Moved over (copy and paste) all the wifi files, modem & kernel
5. Finally, compiled the updated Vibrant ROM into a new ZIP file
6. Used Amend2Edify to sign the zip
Now, when I tried to flash this, it hangs at "Mounting mount point" for a minute or two, then it goes through a flash process...it eventually finishes with no errors, I clear cache and reboot the phone....the phone loops at the "Samsung Galaxy S 4G" screen (initial screen when powering on device).........and it sits there forever, never boots into anything.
Now when I was making edits in the Environment.smali, there were some entries for the sd card with subdirectory attached (otg_disk)...I changed from /mnt/sdcard/otg_disk to /mnt/sd/external_sd/otg_disk
I followed through each step carefully, I even downloaded an app that scans files within a provided directory for certain text, I scanned all the other files besides framework.jar for "INTERNAL" and it did not find anything pertaining to INTERNAL_STORAGE.....
Here is a screenshot of some more "INTERNAL" stuff I found..particularly in MediaScanner.smali
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Would we be changing language such as this also?
i hope Krylon,DrHonk, or robbbbit can chime in. Which version of Bionix you trying to port?
Beefvvl said:
i hope Krylon,DrHonk, or robbbbit can chime in. Which version of Bionix you trying to port?
Click to expand...
Click to collapse
It is the 1.3.1 Touchwiz version..
mikeDCMDVA said:
Guys I tried this without any success
Vibrant ROM = Bionix
Galaxy S 4G ROM = KD1 Deodexed (CWM Ready)
1. I decompiled, swapped many lines in Environment.smali (only file where I saw differences)
2. Re-compiled them into new classes.dex files
3. Removed old classes.dex file from each of the four files (services.jar, framework.jar, settings.apk and android_policy.jar)
Note on step 3 - I don't know why I had to do this for the other 3 files if the Environment.smali in framework.jar was the only file that apparently needed modification...but I moved on
4. Moved over (copy and paste) all the wifi files, modem & kernel
5. Finally, compiled the updated Vibrant ROM into a new ZIP file
6. Used Amend2Edify to sign the zip
Now, when I tried to flash this, it hangs at "Mounting mount point" for a minute or two, then it goes through a flash process...it eventually finishes with no errors, I clear cache and reboot the phone....the phone loops at the "Samsung Galaxy S 4G" screen (initial screen when powering on device).........and it sits there forever, never boots into anything.
Now when I was making edits in the Environment.smali, there were some entries for the sd card with subdirectory attached (otg_disk)...I changed from /mnt/sdcard/otg_disk to /mnt/sd/external_sd/otg_disk
I followed through each step carefully, I even downloaded an app that scans files within a provided directory for certain text, I scanned all the other files besides framework.jar for "INTERNAL" and it did not find anything pertaining to INTERNAL_STORAGE.....
Click to expand...
Click to collapse
the .smali given.in the op completed the framework.jar classes.dex. if u dont see any differences in the other two .jar files, great! changes have to be made in settings. apk, tho... our you wont be able to mount.
Sent from my SGH-T959V using XDA Premium App
mikeDCMDVA said:
It is the 1.3.1 Touchwiz version..
Click to expand...
Click to collapse
People actually like TW?
robbbbit said:
the .smali given.in the op completed the framework.jar classes.dex. if u dont see any differences in the other two .jar files, great! changes have to be made in settings. apk, tho... our you wont be able to mount.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
What changes in Settings.apk? I searched that for the INTERNAL string...I did not find anything partaining to INTERNAL_STORAGE like in the OP, but I'll screenshot what the search application found below for Settings.apk:
How do you think this should be handled?
mikeDCMDVA said:
What changes in Settings.apk? I searched that for the INTERNAL string...I did not find anything partaining to INTERNAL_STORAGE like in the OP, but I'll screenshot what the search application found below for Settings.apk:
How do you think this should be handled?
Click to expand...
Click to collapse
switch to external. everything.
Sent from my SGH-T959V using XDA Premium App
Damn.... Getting close, mikes way further than i got,
sent from my not so stock SGS4G
dude id test flash after that, btw... after you boot up (hopefully...) check your memory in settings. see if everything adds up.
Sent from my SGH-T959V using XDA Premium App
if it does work after that will you be uploading to this site?
Of course. Just re-compiled everything and swapping some necessary files, then I will sign the zip and try again. I really hope this works guys.....
Me too bro im starting to sweat!!! Ur getting so close dude!!! Thanks for stickin with it!!!!!!!!!!!!
mikeDCMDVA said:
Of course. Just re-compiled everything and swapping some necessary files, then I will sign the zip and try again. I really hope this works guys.....
Click to expand...
Click to collapse
hey, just to make, "extra-sure" you're up do date on cwm and able to restore, right?
Sent from my SGH-T959V using XDA Premium App
Yeah bro, I been up to date on CWM for sure. Hmm, I have used CWM to restore on this phone before...haven't tried on the CWM final yet..we'll see
Well, after the additional edits, still getting frozen at the initial "Galaxy S 4G" screen.
I don't know why, but it really hangs for awhile at "Mounting mount points..." during the beginning of the flash in CWM. Could this be a mount issue still??
Ugh...glad I did a nandroid backup this time..
Also, when I pop the battery and boot back into Android Recovery, I get a mounting issue:
Install default apk-files, please wait
E:Can't mount /dev/block/mmcblk0p2
(No such file or directory)
E:copy_data_default_apk:Can't mount DATA:
your storage is not prepared yet, please use UI menu for format and reboot actions
Cannot restore either..
" E:format_volume failed to unmount "/system" "
SOAB!!
***EDIT***
Actually just turned the phone completely off, and then booted into CWM again... /system is no longer mounted....so it is restoring now
mikeDCMDVA said:
Here is a screenshot of some more "INTERNAL" stuff I found..particularly in MediaScanner.smali
Would we be changing language such as this also?
Click to expand...
Click to collapse
I honestly don't remember if I change that or not .. lol .. I think I did.
mikeDCMDVA said:
Cannot restore either..
" E:format_volume failed to unmount "/system" "
SOAB!!
***EDIT***
Actually just turned the phone completely off, and then booted into CWM again... /system is no longer mounted....so it is restoring now
Click to expand...
Click to collapse
You're not using kernel and modem from the original Bionix right?
Well, I tried flashing again and then it boots up, but no picture on screen, keeps vibrating FC's every few seconds...and the key lights are on...going back to restore..

My phone's rooted, but I can't get a rom installed?

I've done tons of research... I just can't seem to get cm7 on my phone. I have rom manager and bootstrap recovery already... but I can't for the life of me get the proper files onto my sd card in the right spot (I have no idea what it means when they say put it to the "root" of the sd card).... and plus, the files I'm downloading such as cm7 itself and gapps don't even appear to be .zip when i download them... isn't that what I want it to be? (I use WinRAR by the way.. not sure if that makes a difference) but ive tried over and over again to extract the files i download onto the sd card (again, no clue where on it but ive tried many different locations) and I never get a cm7 .zip, all i get is some META-INF folder and stuff... so when i put the phone into recovery i dont know what to use!!!! im sooooo confused, please help! my phone is a droid x2 and yes, it is rooted. Thanks!!!
Moved to General Q&A.
Johnnymaaaac said:
I've done tons of research... I just can't seem to get cm7 on my phone. I have rom manager and bootstrap recovery already... but I can't for the life of me get the proper files onto my sd card in the right spot (I have no idea what it means when they say put it to the "root" of the sd card).... and plus, the files I'm downloading such as cm7 itself and gapps don't even appear to be .zip when i download them... isn't that what I want it to be? (I use WinRAR by the way.. not sure if that makes a difference) but ive tried over and over again to extract the files i download onto the sd card (again, no clue where on it but ive tried many different locations) and I never get a cm7 .zip, all i get is some META-INF folder and stuff... so when i put the phone into recovery i dont know what to use!!!! im sooooo confused, please help! my phone is a droid x2 and yes, it is rooted. Thanks!!!
Click to expand...
Click to collapse
I believe when they say put it in the "root of the SD card" it means don't put it in any folder on your SD card. So you know how right when you plug in your card a window pops up to the main directory? Open that and put the files there. Like for instance in this image
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
you see all the folders and stuff on your removable storage, put the file here in this directory.
You aren't suppose to unzip those files at all (I did the same mistake too when I first started flashing lol). You suppose to leave them in the zip form, put them in the main directory hopefully they should pop up. If all else fails ask the developer personally and what you're doing wrong, and give clear instruction on what you did. Hope this helps
Johnnymaaaac said:
I've done tons of research... I just can't seem to get cm7 on my phone. I have rom manager and bootstrap recovery already... but I can't for the life of me get the proper files onto my sd card in the right spot (I have no idea what it means when they say put it to the "root" of the sd card).... and plus, the files I'm downloading such as cm7 itself and gapps don't even appear to be .zip when i download them... isn't that what I want it to be? (I use WinRAR by the way.. not sure if that makes a difference) but ive tried over and over again to extract the files i download onto the sd card (again, no clue where on it but ive tried many different locations) and I never get a cm7 .zip, all i get is some META-INF folder and stuff... so when i put the phone into recovery i dont know what to use!!!! im sooooo confused, please help! my phone is a droid x2 and yes, it is rooted. Thanks!!!
Click to expand...
Click to collapse
It means to simply place the file on your SD card (not in any folder). They need to be .zip files. If you have a different file extension, just change it to ".zip". Never extract the ROMs when sending them to be flashed. Only do that if you know what you're doing (e.g. removing apps to free up space, etc.).
This guy needs to learn A LOT before flashing a ROM. If he doesn't even know what the root of the SD card is, he has no business in rooting an Android device.
Sent from my MB508 using xda premium
be careful bro!, you might end up bricking your phone!, read more!
bro try to have a clear idea before go for flashing...this l help you to produce some confidence on you.:good::good::good::good::good::good:
1. Paste the zip file of the ROM in the root folder of your SD card
2. Boot into Clockword Mod
3. Select install from zip
4. It should be done in 2 minutes.
If you don't have Clockwork Mod installed, follow a flashboot or fastboot guide. The Cyanogenmod wiki is quite good at this.
Johnnymaaaac said:
the files I'm downloading such as cm7 itself and gapps don't even appear to be .zip when i download them... isn't that what I want it to be?
Click to expand...
Click to collapse
Please link us to these files. Also, link us to the threads you're getting it from.

[GUIDE] Alternative (.IMG) Backup Method (For Kitchen, Etc.)

NOTE: IF YOU HAVE NO CLUE WHAT THIS IS, THEN LEAVE IT BE
CAUTION: PLEASE READ THE FOLLOWING POSTS ABOUT BACKING UP "USERDATA".
CONFIRMED WORKING!!!
Thanks to then following for their feedback and testing:
open1your1eyes0
con247
scrosler
While playing around with my extra SCH-I535, I came across something very interesting.
I was having a lot of problems getting "full" backups of my larger .img's (ie. data, cache, etc.) I was told to try and mount my system as r/w and adb through my computer instead.
When i would try backing them up in a terminal emulator, I would always get an error about the file being too large...[\B]
I got too confused trying and got way too frustrated.
I found out that I could obtain these .img's just as easily as copy and pasting.
I was able to get the full backup sizes this way also.
Now this method does not have EVERYTHING worked out. If I could get some input and help on this, that would be greatly appreciated.
DIRECTIONS:
1. Take any rooted sgs3 and install ES File Explorer.
2. Setup ES with root (go into settings and click on the "root options" and allow ES to take advantage of root and go up to the "/" directory).
3. Also make sure to change your default home folder to "/" in settings.
4. Now exit out of ES and open it up again. You should be in the root directory (/).
5. Open up the folder marked "dev" (or the "/dev" folder) and locate the "block" folder (or the "/dev/block" folder).
6. Copy the folder named "block" (long-press and select "Copy").
7. Now move to your extSdCard (or you can stay in your internal card if you insist and have a lot of room to spare).
8. Create a folder and name it something you will remember.
9. Paste in that folder and go make yourself a bowl of oatmeal or whatever (you can see the process ongoing in your notification bar).
10. After they are done copying, you will be left with a lot of files (there will be a folder in the folder you created and then a few more folders you will have to open to get to the folder with all the goodies in it)(you'll understand when you see it). Most of them you will find familiar if you ever opened up a stock ODIN tar.md5 before.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---
11. Now you have all these files, but none of them have extensions. Transfer this folder to your Linux environment and go ahead and add the proper extensions to these files by renaming them.
Some of them should be .sbn, some should be .img or .ext4. The best thing to do is to download a stock ODIN img and add the file extensions that correspond with them to your copied files.
12. Now you can use the kitchen or any other method that would require these files.
I have only had time to test these files out in the kitchen and create a working folder for them (so I could remove unwanted things and bloat ware, etc.).
I used the system.img.ext4 and another boot.img to create a flashable ROM.
I didnt use the boot.img from the copy I made cause I didn't have time to play around at the moment. But I will be trying later tonight.
It would be cool if anyone else could help me out by testing this and letting me know what was up.
NOTE: I AM NOT RESPONSIBLE FOR ANYTHING YOU DO. PERIOD. BOOM.
IF I MADE YOUR LIFE ANY EASIER, HIT THE THANKS BUTTON
Sent from my SCH-I535 using Tapatalk 2
Interesting...
I will give it a shot tomorrow
Good method but essentially this is the same as this without creating an actual ODIN image: Link to thread
Minor word of caution, the "userdata" partition include all the contents of your /sdcard partition (meaning your internal storage). Basically if you're backing that up you have to have enough space to duplicate the contents of your internal storage your external SD card or the same internal SD card (whichever location you are copying to).
open1your1eyes0 said:
Good method but essentially this is the same as this without creating an actual ODIN image: Link to thread
Minor word of caution, the "userdata" partition include all the contents of your /sdcard partition (meaning your internal storage). Basically if you're backing that up you have to have enough space to duplicate the contents of your internal storage your external SD card or the same internal SD card (whichever location you are copying to).
Click to expand...
Click to collapse
This!
And, backing up userdata while it is being "used" can result in corruption. I wouldn't recommend this backup method for backing up userdata.
Thanks for the feedback brothers.
For the system partition and what not, its a much easier way for me. And it takes some confusion out of getting the errors (too large errors).
Its a bit faster too.
Just wanted to share it with y'all.
Sent from my SCH-I535 using Tapatalk 2
Have you noticed anything odd with the files you get using this method? I was just wondering about backing up partitions while the system is booted normally. To be honest I haven't noticed anything wrong with images that I pull from my device while its booted normally, but I was looking at this thread and the thought popped into my mind that maybe some files might be in use by the system? Probably not except for log files.
Anyway, I could write a script that would do this on your device without having to fiddle around with ES. The only difference would be that I use tar and excludes to get /data without pulling /data/media. I'd really like to get a /data img without having to resort to tar, but I haven't gotten around trying to dd mmcblk0p15 without getting the whole internal sdcard along with it. I have the 32gig SGS3 so its a big issue for me. I had an idea to unmount /mnt/sdcard, but I'd imagine its not as trivial as unmounting the internal sdcard while in recovery and I really don't want to destroy my phone.
Anyway, nice find mate.
Ta,
ALQI
I personally haven't had any problems when backing up my system.img. I always make sure to do a fast reboot and kill any tasks running with ES right before I do it.
I have taken the system.img and used it in the kitchen a few times andnnot had any problems.
This method works for the most part but shouldnt be something to mess around with unless you know what your doing. I am trying to work out a way so that I can get it to match 100% with a regular dump (MD5).
This is really just a kind if a shortcut for people already using ES on a rooted system.
If your already rooted and already have ES File Explorer installed, all you literally have to do is go into the /dev folder and copy the /block folder (or whatever you need from it) to your extSdCard. And then add ".img" or whatever the extension should be to the end of the file.
Just copy, paste and add extension.
I was having issues with the terminal kicking back at me with "file too large" errors when trying to get some of my backups.
I was fiddling around with ES and discovered this.
I was hoping someone might be able to use this. Or that maybe it was a missing piece to someone's puzzle or that someone could do something more with it.
When I discovered I could get a result from just copy and pasting, I thought I might be able to figure out another easy way that backup. In known there is a couple really good ones out there already, but having different options can sometimes benefit different situations, scenarios and whatnot.
If you wanna play around with this, feel free to brother.
:thumbup:
Sent from my SCH-I535 using Tapatalk 2

[GUIDE]How to extract nandroid backup and restore apps from it without pc.

Well you had downloaded a lot of apps via play store and you had no backup of these apps...
Then you came across a ROM or you decided to wipe out your data....
And the result...
You lost your apps!
Now you don't need to worry as I bring you the ultimate solution to extract and restore apps & other files from your backup!
So let's get started....
Things you will need:
A Good Advanced File Manager..
I suggest and strongly recommend you to use ROOT EXPLORER app.
I know you have it!
Now extracting of files depends upon which recovery you are using....
For TWRP users::
Go to the TWRP folder in your sdcard where the backup ie present..
Now if you want to extract downloaded apps n other files then Copy " data.ext4.emmc.win " don't take the md5 file! and paste it somewhere else...
Now rename the file by just adding " tar.gz " at the last ...
It should now look like this:
data.ext4.emmc.win.tar.gz
Now long press it and click "Extract All"
or simply extract it...
Now after the completion of extraction you will get all tha files from that backup...
Now to restore apps simply go to the " app " folder..
You will see all the apps in that...
Now to install them all at once just copy all the files and paste them here at the root
/data/app
Now reboot ...
It will show a message android is upgrading ..
Optimizing app 1 of 3X
Wait till it completes...
And guess what you got all your apps back....
To restore the settings of these apps copy their respective folder from tge extract to
/data/data
Similarly you can extract system partition too!
For CWM/philz touch users::
YOU TOO CAN USE THE ABOVE METHOD BUT IF IT FAILS THEN TRY THIS ONE..
Go to SD card/clockworkmod and copy your file according to your need what you want to extract..
To extract and restore apps copy:
"data.ext4.tar.a" to somewhere else
DO NOT COPY data.ext4.tar!!!!
Now rename the file by just adding " tar " at the last ...
It should now look like this:
data.ext4.tar.a.tar
Now long press it and click "Extract All"
or simply extract it...
Now after the completion of extraction you will get all tha files from that backup...
Now to restore apps simply go to the " app " folder..
You will see all the apps in that...
Now to install them all at once just copy all the files and paste them here at the root
/data/app
Now reboot ...
It will show a message android is upgrading ..
Optimizing app 1 of 3X
Wait till it completes...
And guess what you got all your apps back....
To restore the settings of these apps copy their respective folder from tge extract to
/data/data
Similarly you can extract system partition too!
Huh!*******
Hope it helps you....
Not asking for any donation or something just LIKE MY FACEBOOK PAGE for your own interest so as to not lose any update from me n my blog! And hit a thanks please!.
Credits:
Allah SWT for inspiring this idea in my mind..... (Alhamdulillah)
Thanks
Sent from my SM-G900F using Tapatalk
Welcome.....
If anyone experiences any problem then don't hesitate to ask me!
Thanks for your work !
Krystyna said:
Thanks for your work !
Click to expand...
Click to collapse
THANKS
Hi AlphaSoft, I'm trying to use your method on a TWRP data only backup. But apparently the backup was made in 5 parts each of close to 1.5GB. None of them are named data.ext4.emmc.win . Instead they are named data.ext4.win000 .... data.ext4.win004.
Must I extract them all?
Not working
AlphaSoft said:
If anyone experiences any problem then don't hesitate to ask me!
Click to expand...
Click to collapse
Doesn't seem to work for me. My backups have upto 6 files ...data.ext4.win000, data.ext4.win001, data.ext4.win002, ......data.ext4.win005 each around 1.5gb
I have question, can this work when there are data.ext4.a, data.ext4.tar.b, data.ext4.tar.c, data.ext4.tar.d, data.ext4.tar.e, data.ext4.tar.f, data.ext4.tar.g, data.ext4.tar.h, data.ext4.tar.i, data.ext4.tar.j, data.ext4.tar.k ?
thank you.
AlphaSoft said:
Well you had downloaded a lot of apps via play store and you had no backup of these apps...
Then you came across a ROM or you decided to wipe out your data....
And the result...
You lost your apps!
Now you don't need to worry as I bring you the ultimate solution to extract and restore apps & other files from your backup!
So let's get started....
Things you will need:
A Good Advanced File Manager..
I suggest and strongly recommend you to use ROOT EXPLORER app.
I know you have it!
Now extracting of files depends upon which recovery you are using....
For TWRP users::
Go to the TWRP folder in your sdcard where the backup ie present..
Now if you want to extract downloaded apps n other files then Copy " data.ext4.emmc.win " don't take the md5 file! and paste it somewhere else...
Now rename the file by just adding " tar.gz " at the last ...
It should now look like this:
data.ext4.emmc.win.tar.gz
Now long press it and click "Extract All"
or simply extract it...
Now after the completion of extraction you will get all tha files from that backup...
Now to restore apps simply go to the " app " folder..
You will see all the apps in that...
Now to install them all at once just copy all the files and paste them here at the root
/data/app
Now reboot ...
It will show a message android is upgrading ..
Optimizing app 1 of 3X
Wait till it completes...
And guess what you got all your apps back....
To restore the settings of these apps copy their respective folder from tge extract to
/data/data
Similarly you can extract system partition too!
For CWM/philz touch users::
YOU TOO CAN USE THE ABOVE METHOD BUT IF IT FAILS THEN TRY THIS ONE..
Go to SD card/clockworkmod and copy your file according to your need what you want to extract..
To extract and restore apps copy:
"data.ext4.tar.a" to somewhere else
DO NOT COPY data.ext4.tar!!!!
Now rename the file by just adding " tar " at the last ...
It should now look like this:
data.ext4.tar.a.tar
Now long press it and click "Extract All"
or simply extract it...
Now after the completion of extraction you will get all tha files from that backup...
Now to restore apps simply go to the " app " folder..
You will see all the apps in that...
Now to install them all at once just copy all the files and paste them here at the root
/data/app
Now reboot ...
It will show a message android is upgrading ..
Optimizing app 1 of 3X
Wait till it completes...
And guess what you got all your apps back....
To restore the settings of these apps copy their respective folder from tge extract to
/data/data
Similarly you can extract system partition too!
Huh!*******
Hope it helps you....
Not asking for any donation or something just LIKE MY FACEBOOK PAGE for your own interest so as to not lose any update from me n my blog! And hit a thanks please!.
Credits:
Allah SWT for inspiring this idea in my mind..... (Alhamdulillah)
Click to expand...
Click to collapse
xlamour said:
Doesn't seem to work for me. My backups have upto 6 files ...data.ext4.win000, data.ext4.win001, data.ext4.win002, ......data.ext4.win005 each around 1.5gb
Click to expand...
Click to collapse
I extracted the multi volumes data backup from a TWRP backup, after I extracted all of the files, I copied the data/app and the data/data contents into the respective folders of the new rom installation
But the booting process didnt show any upgrading message nor any of the apps detected by the new installation ?
Hi guys, I would like to know how I can extract these files and make the flash in sp flash tool, can someone help me please?
I have a backup of my Redmi 6 (Cereus) which has a briqued system, but before I did a full nandroid backup with twrp.
I can restore the stock rom and the phone goes back to normal but without imei, baseband, nvram or nvdata.
I would like to know how can I extract at least the nvram and nvdata file and flash it in sp flash tool.
That's my only difficulty.
I have an authorized Xiaomi account
Unlocked bootloader
Mediatek Drivers OK
EDL Mode Ok
USB Filters OK
Updated Win7 Operating System and no dependencies.
Stock Rom MIUI (Multiple Versions)
Flash MTK Tools
I thank you all!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources