Jump to content

[HELP][DEV] How to make an update-script copying files on EXT partition


Recommended Posts

Guest Dario93
Posted

Hi everyone,

I was porting right now (for personal use ATM) a Desire HD ROM,ported to Nexus One (evil's NXSense HD). This ROM has these lines in the update script:

delete_recursive SDEXT:system-app

delete_recursive SDEXT:system-customize

delete_recursive SDEXT:system-fonts

delete_recursive SDEXT:system-tts

delete_recursive SDEXT:system-VR

delete_recursive SDEXT:system-slideshow

delete_recursive SDEXT:system-soundimage

delete_recursive SDEXT:dalvik-cache

copy_dir PACKAGE:data DATA:

copy_dir PACKAGE:ext SDEXT:

copy_dir PACKAGE:system SYSTEM:

copy_dir PACKAGE:sdcard SDCARD:

The highlighted line is the one that stops the flashing process, Malez recovery says:

E:Can't mount SDEXT:

E:Failure at line 27:

copy_dir PACKAGE:ext SDEXT

Installation aborted... etc etc.

In the zip of the ROM there's a folder named ext as you can see with all the folders indicated in the first part of the script I pasted here.

So,Is there a way to get the recovery copying files to ext partition as the Nexus One does?

Thanks :D

Guest treyguitar
Posted

Maybe you can find a hint in malez recovery nandroid ext partition restore, doesn't he do a similar thing? Just my two cents :D

Guest HustlinDaily
Posted

Can somebody please help the man? I WANT SENSE.

Guest thepasto
Posted
Hi everyone,

I was porting right now (for personal use ATM) a Desire HD ROM,ported to Nexus One (evil's NXSense HD). This ROM has these lines in the update script:

delete_recursive SDEXT:system-app

delete_recursive SDEXT:system-customize

delete_recursive SDEXT:system-fonts

delete_recursive SDEXT:system-tts

delete_recursive SDEXT:system-VR

delete_recursive SDEXT:system-slideshow

delete_recursive SDEXT:system-soundimage

delete_recursive SDEXT:dalvik-cache

copy_dir PACKAGE:data DATA:

copy_dir PACKAGE:ext SDEXT:

copy_dir PACKAGE:system SYSTEM:

copy_dir PACKAGE:sdcard SDCARD:

The highlighted line is the one that stops the flashing process, Malez recovery says:

E:Can't mount SDEXT:

E:Failure at line 27:

copy_dir PACKAGE:ext SDEXT

Installation aborted... etc etc.

In the zip of the ROM there's a folder named ext as you can see with all the folders indicated in the first part of the script I pasted here.

So,Is there a way to get the recovery copying files to ext partition as the Nexus One does?

Thanks :D

i think you should mount sd-ext before copy something in it.. So the better way i know to do that is run a script from updater-scrpt ( run_program("/path/to/script.sh"); ). In it you can mount sdext partition and then you can copy your files :D

Good luck :(

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.