[Gen9]Modified init for HDD and flash G9, 350MB & "no-busybox" archos.ext4

Search This thread

gen_scheisskopf

Senior Member
Feb 22, 2009
1,129
249
Poznań
Xiaomi Redmi Note 8 (2021)
[Gen9]Modified init for HDD and flash G9, 350MB & "no-busybox" archos.ext4

Updated version- should work on HDD models too

Disclaimer: use this at your own risk. I'm not responsible if your tablet wants to kill you.

Here's modified init for suduru_petru's rooted 3.2.80 firmware
Now also for HDD models
Tests were done by philmein


Before you start
-make sure that you have more than 512MB free space in internal memory (/data) or more than 350MB if you want to use attached system file

Features
-system image runs from /data partition (internal flash)
-dalvik-cache wipe is done for system updates, also can be triggered manually

Installation
1. Install SDE menu- INSTRUCTIONS
2. Prepare required files- copy archos.ext4.update file to the root of the card (if you have archos.ext4 just rename it to archos.ext4.update)
NOTE this MUST be archos.ext4.update file, zipped files will not work
3. Boot to Recovery (Volume+ and Power), then Developer Edition Menu -> Flash Kernel and Initramfs. New drive will popup on your pc, copy kernel_test_hdd7.zip contents on it
NOTE- you need zImage and initramfs.cpio.gz files, zip will not work
Click Ok to flash kernel.
4. Now boot to Special Developement Edition
NOTE- first boot will take longer (files must be copied) so don't panic
5. Do not delete archos.ext4.backup file from storage- this is a backup in case you have to do data wipe (Reset Android)
6. Enjoy

Usage:
To update system: copy archos.ext4.update file to storage and reboot
To wipe dalvik-cache: place an empty file wipe-dalvik.update in the storage and reboot- you can use djnilse's script
If you had to wipe data (Reset Android): don't worry, just reboot
If you had to format storage: make sure that when system boots

Download:
Kernel and initramfs
http://dl.dropbox.com/u/14106051/archos/kernel_hdd_test7.zip

smaller archos.ext4.update
This is shrinked suduru_petru's rooted firmware, now only 350MB
No other changes done
http://www.mediafire.com/?eqwlocit0nniw7k


"No busybox" archos.ext4
http://www.mediafire.com/?fzizmy60e769ow9
This is only rooted archos.ext4.update, custom busybox seems to make problems with USB host functions


Info for developers: http://xdaforums.com/showpost.php?p=22310057&postcount=13



Old version
What is changed
-dalvik-cache is wiped for every firmware update
-dalvik-cache wipe can be started manually

How does it work
Dalvik-cache wipe is higly recommended with every firmware update (or replacing stock with a modified one), also can help with app FC's.

For every firmware update- archos.ext4/squashfs.update file- dalvik-cache is wiped automatically (and you can't do anything about it :p )
To trigger dalvik-cache wipe on your own place a file named wipe-dalvik.update in internal storage (/data/media) and reboot.
NOTE: first boot after wipe will take longer

Installtion
Zip contains both zImage and initramfs.cpio.gz, installation as usual: Developer Edition Menu -> Flash Kernel and Initramfs then copy zImage and initramfs.cpio.gz to the new drive that pops up on the pc and click OK on the tablet.

DOWNLOAD
http://dl.dropbox.com/u/14106051/archos/kernel.zip
MD5: 8EB000BC1105A3613B35C8F82F35EF41

Info for developers: http://xdaforums.com/showpost.php?p=22179468&postcount=8

EDIT:
Script for easy creating wipe-dalvik.update file by djnilse: HERE
 
Last edited:

hitman72

Senior Member
May 22, 2008
136
26
ortona
Xiaomi Redmi Note 4
hi, Let's see if I understand correctly. for updating is necessary first copy new firmaware and empty file called "wipe-dalvik.update" in /data/media. reboot table in sde and copy zImage and initramfs.cpio.gz. rebooting and delete "wipe-dalvik.update". is correct? thank you
 

gen_scheisskopf

Senior Member
Feb 22, 2009
1,129
249
Poznań
Xiaomi Redmi Note 8 (2021)
hi, Let's see if I understand correctly. for updating is necessary first copy new firmaware and empty file called "wipe-dalvik.update" in /data/media. reboot table in sde and copy zImage and initramfs.cpio.gz. rebooting and delete "wipe-dalvik.update". is correct? thank you
Not exactly.
When firmware is updated -archos.[...].update file- dalvik-cache is wiped anyway without any option not to wipe it.
Wipe-dalvik.update file is needed if you want to wipe dalvik-dache eg. when apps have a lot of FC's.

But in order to have possibility to wipe dalvik-cache you have to flash modified init posted here (for ease of use zImage is included in zip, flash it as usual)


tapatalked from Desire
 

nilse

Senior Member
Aug 14, 2011
193
580
Berlin
good work
this will be a better alternative for cleaning the system :p

i've made a script to write and remove the dalvik-wipe.update to storage :D

simply run it with ScriptManager or with a Terminal Emulator

this script doesnt need root rights

@gen_scheisskopf you could include a link to this in your post :p

and THIS IS NOT A test file
simply just rename it in dalvik.sh
run it with:
Code:
sh dalvik.sh

and dont forget to hit the thanks button :rolleyes:

------------------------EDIT--------------------------------------------

don't hit the thanks button, this was not difficult :p
try to make a shell script on your own :D Here a tutorial have fun

-----------------------EDIT:10.02.2012------------------------------------
i ve removed the option to wipe the dalvik-wipe.update because its not necessary
 

Attachments

  • dalvik.sh.txt
    527 bytes · Views: 56
Last edited:
  • Like
Reactions: PoorCollegeGuy

gen_scheisskopf

Senior Member
Feb 22, 2009
1,129
249
Poznań
Xiaomi Redmi Note 8 (2021)
good work
this will be a better alternative for cleaning the system :p
Dalvik-cache wipe is included in all "standard" recoveries and it really can help in various situations (sometimes for bootloop also)

i've made a script to write and remove the dalvik-wipe.update to storage :D

simply run it with ScriptManager or with a Terminal Emulator

this script doesnt need root rights

@gen_scheisskopf you could include a link to this in your post :p

and THIS IS NOT A test file
simply just rename it in dalvik.sh
run it with:
Code:
sh dalvik.sh
There is no need to remove wipe-dalvik.update, init does this just as with firmware .update files.

and dont forget to hit the thanks button :rolleyes:
Oh, c'mon...... ;)
 
  • Like
Reactions: ducatisto and nilse

nilse

Senior Member
Aug 14, 2011
193
580
Berlin
Dalvik-cache wipe is included in all "standard" recoveries and it really can help in various situations (sometimes for bootloop also)


There is no need to remove wipe-dalvik.update, init does this just as with firmware .update files.


Oh, c'mon...... ;)

:( i worked for that about an hour, now i know more about linux shell scripts :D

and for the changes in the init
can it be modified with all kind of linux shell commands ???
 

gen_scheisskopf

Senior Member
Feb 22, 2009
1,129
249
Poznań
Xiaomi Redmi Note 8 (2021)
I've checked supercharger script and honestly I'm not sure if it's absolutely safe to use:
-dalvik-cache wipe is done when Android does not run in every device I've layed my hands on (samsung i5700, htc desire, prestigio multipad 3384 and android hardware belonging to my friends)
-if dalvik-cache is not present system creates it during system boot
-supercharger wipes dalvik-cache also during system boot so there is a possibility of conflict between wiping and creating processes
Modified init wipes dalvik-cache before Android starts to boot so it is 100% safe, and djnilse created a nifty script to create wipe-dalvik.update file without pc access
 
  • Like
Reactions: nilse

thefunkaygibbon

Senior Member
Apr 9, 2010
291
7
Stafford
How long is a long time?
I have had mine on the Archos logo for around an hour now, and just a little worried that it is not going through.

EDIT: I use the HDD model
 

philmein

Senior Member
May 31, 2010
156
18
Oldham Lancashire
i seem to have the file ext4 on my hdd and somwhere in my internal storage my internal storage has dropped by500mb

i know i should keep the one on my hdd but how do i get rid of the one in my internal storgage i would like to reclaim that space

i think its here /data/local/archos.ext4 but i cannot see it in astro or file manager



250gb hdd model
 
Last edited:

gen_scheisskopf

Senior Member
Feb 22, 2009
1,129
249
Poznań
Xiaomi Redmi Note 8 (2021)
i seem to have the file ext4 on my hdd and somwhere in my internal storage my internal storage has dropped by500mb
It's normal (as expected)
i know i should keep the one on my hdd but how do i get rid of the one in my internal storgage i would like to reclaim that space

i think its here /data/local/archos.ext4 but i cannot see it in astro or file manager
The one on HDD is a backup file (in case of wiping data).
You can't delete the one from flash- that is system image.
I can try to modify init so system file runs from HDD (not internal flash) but this may deplete your battery very fast
 

philmein

Senior Member
May 31, 2010
156
18
Oldham Lancashire
if its normal thats fine i still have 500mb free
i have hdd test 3 on mine is that ok do i just updat to hdd test 7 when a new rom comes out?

regards phil
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    [Gen9]Modified init for HDD and flash G9, 350MB & "no-busybox" archos.ext4

    Updated version- should work on HDD models too

    Disclaimer: use this at your own risk. I'm not responsible if your tablet wants to kill you.

    Here's modified init for suduru_petru's rooted 3.2.80 firmware
    Now also for HDD models
    Tests were done by philmein


    Before you start
    -make sure that you have more than 512MB free space in internal memory (/data) or more than 350MB if you want to use attached system file

    Features
    -system image runs from /data partition (internal flash)
    -dalvik-cache wipe is done for system updates, also can be triggered manually

    Installation
    1. Install SDE menu- INSTRUCTIONS
    2. Prepare required files- copy archos.ext4.update file to the root of the card (if you have archos.ext4 just rename it to archos.ext4.update)
    NOTE this MUST be archos.ext4.update file, zipped files will not work
    3. Boot to Recovery (Volume+ and Power), then Developer Edition Menu -> Flash Kernel and Initramfs. New drive will popup on your pc, copy kernel_test_hdd7.zip contents on it
    NOTE- you need zImage and initramfs.cpio.gz files, zip will not work
    Click Ok to flash kernel.
    4. Now boot to Special Developement Edition
    NOTE- first boot will take longer (files must be copied) so don't panic
    5. Do not delete archos.ext4.backup file from storage- this is a backup in case you have to do data wipe (Reset Android)
    6. Enjoy

    Usage:
    To update system: copy archos.ext4.update file to storage and reboot
    To wipe dalvik-cache: place an empty file wipe-dalvik.update in the storage and reboot- you can use djnilse's script
    If you had to wipe data (Reset Android): don't worry, just reboot
    If you had to format storage: make sure that when system boots

    Download:
    Kernel and initramfs
    http://dl.dropbox.com/u/14106051/archos/kernel_hdd_test7.zip

    smaller archos.ext4.update
    This is shrinked suduru_petru's rooted firmware, now only 350MB
    No other changes done
    http://www.mediafire.com/?eqwlocit0nniw7k


    "No busybox" archos.ext4
    http://www.mediafire.com/?fzizmy60e769ow9
    This is only rooted archos.ext4.update, custom busybox seems to make problems with USB host functions


    Info for developers: http://xdaforums.com/showpost.php?p=22310057&postcount=13



    Old version
    What is changed
    -dalvik-cache is wiped for every firmware update
    -dalvik-cache wipe can be started manually

    How does it work
    Dalvik-cache wipe is higly recommended with every firmware update (or replacing stock with a modified one), also can help with app FC's.

    For every firmware update- archos.ext4/squashfs.update file- dalvik-cache is wiped automatically (and you can't do anything about it :p )
    To trigger dalvik-cache wipe on your own place a file named wipe-dalvik.update in internal storage (/data/media) and reboot.
    NOTE: first boot after wipe will take longer

    Installtion
    Zip contains both zImage and initramfs.cpio.gz, installation as usual: Developer Edition Menu -> Flash Kernel and Initramfs then copy zImage and initramfs.cpio.gz to the new drive that pops up on the pc and click OK on the tablet.

    DOWNLOAD
    http://dl.dropbox.com/u/14106051/archos/kernel.zip
    MD5: 8EB000BC1105A3613B35C8F82F35EF41

    Info for developers: http://xdaforums.com/showpost.php?p=22179468&postcount=8

    EDIT:
    Script for easy creating wipe-dalvik.update file by djnilse: HERE
    2
    good work
    this will be a better alternative for cleaning the system :p
    Dalvik-cache wipe is included in all "standard" recoveries and it really can help in various situations (sometimes for bootloop also)

    i've made a script to write and remove the dalvik-wipe.update to storage :D

    simply run it with ScriptManager or with a Terminal Emulator

    this script doesnt need root rights

    @gen_scheisskopf you could include a link to this in your post :p

    and THIS IS NOT A test file
    simply just rename it in dalvik.sh
    run it with:
    Code:
    sh dalvik.sh
    There is no need to remove wipe-dalvik.update, init does this just as with firmware .update files.

    and dont forget to hit the thanks button :rolleyes:
    Oh, c'mon...... ;)
    1
    good work
    this will be a better alternative for cleaning the system :p

    i've made a script to write and remove the dalvik-wipe.update to storage :D

    simply run it with ScriptManager or with a Terminal Emulator

    this script doesnt need root rights

    @gen_scheisskopf you could include a link to this in your post :p

    and THIS IS NOT A test file
    simply just rename it in dalvik.sh
    run it with:
    Code:
    sh dalvik.sh

    and dont forget to hit the thanks button :rolleyes:

    ------------------------EDIT--------------------------------------------

    don't hit the thanks button, this was not difficult :p
    try to make a shell script on your own :D Here a tutorial have fun

    -----------------------EDIT:10.02.2012------------------------------------
    i ve removed the option to wipe the dalvik-wipe.update because its not necessary
    1
    :( i worked for that about an hour, now i know more about linux shell scripts :D

    and for the changes in the init
    can it be modified with all kind of linux shell commands ???
    Ask letama, he knows initrd best


    tapatalked from Desire
    1
    I've checked supercharger script and honestly I'm not sure if it's absolutely safe to use:
    -dalvik-cache wipe is done when Android does not run in every device I've layed my hands on (samsung i5700, htc desire, prestigio multipad 3384 and android hardware belonging to my friends)
    -if dalvik-cache is not present system creates it during system boot
    -supercharger wipes dalvik-cache also during system boot so there is a possibility of conflict between wiping and creating processes
    Modified init wipes dalvik-cache before Android starts to boot so it is 100% safe, and djnilse created a nifty script to create wipe-dalvik.update file without pc access