Jump to content


Photo

[Question] How do I flash to ext2/3/4 data partition using CWM?

- - - - -

  • Please log in to reply
14 replies to this topic

#1
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate
As the title states/requests, I would like to know how I can achieve this when flashing zips in CWM and how I can modify my zips to flash straight onto the ext partition instead of the devices internal data partition? Currently trying to flash the proxi2_mod.zip to my Skate and always forgetting that the data is now mounted on to the ext partition of my microsd card :P so really would like to learn how I can do this!

Thanks & much obliged with all the responses! ;)

Edited by trueno2k, 19 April 2013 - 08:06 AM.

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#2
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate
A cheeky bump! :P

So many views yet no reply!... Is it possible to flash onto the ext data partition instead of the internal data storage?

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#3
omegavesko

omegavesko

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,275 posts
  • Gender:Male
  • Location:Subotica, Serbia
  • Devices:ZTE Skate
  • Twitter:@omegavesko
I'm honestly not sure. At least via a zip file, anyway. I know you can mount it via USB storage if the host PC supports it, and you can back up/restore it, so it's obviously capable of editing the contents.

  • 0
Posted Image
ZTE Skate // CM7.2 // 2.3.7
ZTE Crescent (P736E) // CM9 // 4.0.4
Alcatel OT-990 // MIUI // 2.3.7 Sold!

#4
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate

I'm honestly not sure. At least via a zip file, anyway. I know you can mount it via USB storage if the host PC supports it, and you can back up/restore it, so it's obviously capable of editing the contents.

Can you explain a little more with host PC "supporting it"? Do you mean by using adb commands for installs, pushes and pulls? Yeah, I already know that as I tried adb via usb to install TB when I first flashed this script, but in CWM, it does not recognise the data being remounted directly onto the ext partition and so in my head it still thinks I'm using the internal data storage!...

So, I would like to know is how I can rewrite the updater-script in zips to instead flash to the ext partition where my data folder/partition is holding most of the contents ( after it has gone through it's first clean/factory reset boot up )? I might have to look into the int2ext script and see how it works in there, maybe.

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#5
omegavesko

omegavesko

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,275 posts
  • Gender:Male
  • Location:Subotica, Serbia
  • Devices:ZTE Skate
  • Twitter:@omegavesko

Can you explain a little more with host PC "supporting it"? Do you mean by using adb commands for installs, pushes and pulls? Yeah, I already know that as I tried adb via usb to install TB when I first flashed this script, but in CWM, it does not recognise the data being remounted directly onto the ext partition and so in my head it still thinks I'm using the internal data storage!...

So, I would like to know is how I can rewrite the updater-script in zips to instead flash to the ext partition where my data folder/partition is holding most of the contents ( after it has gone through it's first clean/factory reset boot up )? I might have to look into the int2ext script and see how it works in there, maybe.


I mean the OS itself having support for the file system. Try it - If you mount your phone on a PC running an OS that supports EXT (say, Linux), your data and EXT partitions will mount as two separate drives. This tells me that CWM does have the ability to access the contents of your EXT partition.

But, like I said, I have no idea if it's possible to flash a zip to the EXT partition.

  • 0
Posted Image
ZTE Skate // CM7.2 // 2.3.7
ZTE Crescent (P736E) // CM9 // 4.0.4
Alcatel OT-990 // MIUI // 2.3.7 Sold!

#6
hugobosslives

hugobosslives

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,108 posts
  • Gender:Male
  • Location:hampshire and birmingham (depending on whether at uni or not)
  • Devices:Nexus 4, Zte Skate and Blade
should defo be possible as things like nandroid backups will flash to the ext partition thought i have never tried to do its own so can't help you

either do some extensive researching (read trawl google) or hope that someone like C3C0 sees this thread :D

  • 0

#7
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate
Thanks all for your comments, but if no one knows how this can be done then there's no point in me using int2ext if I can't figure out a way to flash zips to data/* mounted on my ext partition!... It will take me forever to trawl through the internet/Google searches just to find something that might not have been done before, so I won't go there unless there's solid proof of people using int2ext scripts and flashing to their ext data partition on a regular basis using slightly modified commands in their updater-scripts' files!...

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#8
honigfisch

honigfisch

    Enthusiast

  • Members
  • PipPipPip
  • 166 posts
  • Devices:ZTE Skate
  • Twitter:@-
I dont get it why you want to flash to ext2. You dont need that^^

  • 1

#9
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate

I dont get it why you want to flash to ext2. You dont need that^^

I guess you don't really understand what I am trying to achieve here?!?... Well if you ever used int2ext scripts then you would!... I've configured my Skate to use 1GB ext4 partition as my main apps internal storage ( where only the data/data is stored on the actual device internal storage for faster i/o read & writes ) and so I can't flash to the /data which is mounted to /sdext/data which is on the ext partition, following with me here?...

Currently tried flashing a fixed version of proxi_update2.zip using CWM and finding out that the flash will not work due to CWM is flashing to /data/misc/ and not /sdext/data/misc/ ( of which is not really there in android via a file explorer app ), so, I need to know how I can change the coding in the updater-script file to accommodate for the ext partition mount!?

Hope you understand what I'm trying to achieve as this is the best way I can currently explain my reasons for this thread?!...

Still waiting on that command/codiing!?!

Thanks :P

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#10
honigfisch

honigfisch

    Enthusiast

  • Members
  • PipPipPip
  • 166 posts
  • Devices:ZTE Skate
  • Twitter:@-
I dont use int2ext
I am using nitroglass. More stable and better :P
Good luck with your project

Edited by honigfisch, 21 April 2013 - 12:44 PM.

  • 0

#11
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate

I dont use int2ext
I am using nitroglass. More stable and better :P
Good luck with your project

You saying that with nitroglass you can flash using CWM on to your skate and nitroglass accommodates for the flash updates?

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#12
honigfisch

honigfisch

    Enthusiast

  • Members
  • PipPipPip
  • 166 posts
  • Devices:ZTE Skate
  • Twitter:@-
Try it by yourself
Nitroglass is better

EDIT: Yes i can flash updates. For example adreno patch, gps retriever patch...etc. but i dont know if the updates are flashed to ext2

Edited by honigfisch, 21 April 2013 - 01:40 PM.

  • 0

#13
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate

Try it by yourself
Nitroglass is better

EDIT: Yes i can flash updates. For example adreno patch, gps retriever patch...etc. but i dont know if the updates are flashed to ext2

hmmm, will it work with ext4 partitions? I am going to try the original int2ext ( created on XDA by Croniccorey ) as this one I'm using modded by C3C0 is a little buggy with play store and CWM... I will give Nitroglass a go if int2ext+ isn't working out...

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )

#14
honigfisch

honigfisch

    Enthusiast

  • Members
  • PipPipPip
  • 166 posts
  • Devices:ZTE Skate
  • Twitter:@-
You will not regret it. Works like a charm on every GB Rom

  • 0

#15
trueno2k

trueno2k

    Diehard

  • Members
  • PipPipPipPip
  • 495 posts
  • Gender:Male
  • Location:UK
  • Devices:SGS3 I9300 + OMC/ZTE Skate

You will not regret it. Works like a charm on every GB Rom

Yeah, right!... Don't think I'll be going back to GB again ever!... I'll stick to JB, as I don't need to have complete compatibility access on my Skate!... As long as I can WiFi tether from it I be a happy bunny :P

And, in regards to the CronMod int2ext script, it still works with the Skate!... No needed to use C3C0 modified one as SlimBean is able to correctly init.d start CronMod int2ext script at boot up!... Currently using int2ext4+ and is running good so far ( touch wood though ), and it even help flashing zips correctly, is this because of zipalign method? Maybe so!...

Coincidentally I found that adb pushing the new dpi modded Play Store v4.0.26 actually helped me in getting more apps to install on to my Skate!!!... :P I am able to install Google Maps and TPT Helper, will be looking into other Play Store apps and check them out like games for example :P

I guess this thread can now come to a close and I thank you all that have contributed their comments to this thread...

Cheers all ;D

  • 0
main-logo.pngSamba_hi_res_normal.jpg02_96x31.png14.gifreferral-ad-120x60.pnglogo-colors1-vflhO4gIp.png
Current devices [ ROM ]: Samsung Galaxy SIII [ CM11 Nightly ], Motorola Moto G [ Stock JB ], & Google/Asus Nexus 7 2013 [ Stock KK ]
Previous devices: Sony Ericsson Xperia ARC ( Anzu ), Orange Monte Carlo ( ZTE Skate ), Orange San Francisco ( ZTE Blade ), & HTC Wildfire ( Buzz )




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users