unfortunately the site speaks only Chinese....
I cant understand how to download from there.
Do you need the zimage without libs?
unfortunately the site speaks only Chinese....
I cant understand how to download from there.
yes please attach the zImage.
isn't there a xda thread for that ROM?
yes please attach the zImage.
isn't there a xda thread for that ROM?
The answer to your question "What can resize the Ext4" can be found by searching this thread for the word "resize" as I think you discovered.However Xylograph's solution uses Linux.What can resize the Ext4 from phone or from Windows?
I maid the Ext4 1GB, but want to increase it (32GB card) so I can try more roms!
I tried MiniTool but it just moves it and does not resize. I also tried Paragon, but no luck.
Any ideas?
----
Edit... OOOOpppps... tried GParted, but I got errors, so have started from scratch! Minor setback!
Hope this helpsThe answer to your question "What can resize the Ext4" can be found by searching this thread for the word "resize" as I think you discovered.However Xylograph's solution uses Linux.
Tytung's post immediately below yours gives a solution for us mere mortals who cannot get Gparted to work:
1) Backup all of your NativeSD ROMS to FAT32 using Tytung's NativeSD Touch Recovery see 4)
2) Use MiniTool Partition Wizard Home Edition 7.6 to
a) Delete 4EXT Partition3) Format the ext4 using 4ext recovery (i found the minitool format didn't quite do the job)
b) Shrink FAT32 to free up the new ext4 space
c) Create a new 4EXT partiton with the size you want
4) Restore your NativeSD ROMS to EXT4 using Tytung's NativeSD Touch Recovery i thought tytung's tool only backed up/restored single ROMs, for multiple ROMs use 4ext Recovery advanced menu
Let us know how this works as I will be adding it to my Wiki:
http://xdaforums.com/wiki/HTC_HD2/NativeSD
Cheers
Tom
the attached initrd.gz is working for me using MAGLDR
it boots and mounts:
/dev/block/mmcblk0p2 on /NativeSD
/NativeSD/Sense3.5/system bind on /system
/NativeSD/Sense3.5/data bind on /data
I used "Sense3.5" for the ROM NativeSD directory.
one question: which loader are you using? MAGLDR CLK or HaRET?
this is 2.6.35.14-marc1706s_desire_0.1.5+ kernel.
I think that it can't be booted from WM/HaRET......
---
I dont know if this help or need somebody or even if somebody got it before but i go...
i have got to share user app between diferents NativeSD roms.
This can work with update-script at installation, with terminal...but i will explain with Root Explorer and 2 NativeSD installed
Be sure you can install apps, install one app and unistall it.
1. Go first rom without apps installed (to get this put file explorer with root access on system app)
2. Go /NativeSD/
3. Create folder name "app". It must look like: /NativeSD/app
4. Give permissions rwxrwxrwx to this folder.
5. Long click in "app" folder and select: "Link to this folder"
6. Go to /data/
7. Click in "Create link". It will ask if you want to merge bla bla...Yes
8. If you are using Root Explorer you will see rwxrwxrwx -> app in /data/app folder
9. Now you can test if applications can be installed...
Go second rom, test if you can install apps, unistall all user apps, file explorer with root access in system...
1. Go /NativeSD/
2. Long click in "app" folder and select: "Link to this folder"
3. Go to /data/
4. Click in "Create link". It will ask if you want to merge bla bla...Yes
5. Reboot
And you are done. Now you can go first rom, install app, go second rom and you will have it there.
But only app...data, settings...not shared with this method. To share data you will have to do this process with /data/data but this can be dangerous due to diferent roms, android versions, system data apps....
Datagr thanks v10 looking good except first time I select Switch / Delete / Backup the first screen shows all the ROM names on top of one another - see screen shot.Hello all,
Here is the latest version 10 of the app.
Change log :
----------------------------------------------------------------------------------------------------------------------------------------
Version 10 :
Fixed : Small aesthetic changes
Added : Website button
Added : Backup nativeSD rom
Added : Restore nativeSD rom
To backup a rom, click [Backup rom] then click a rom that you wish to backup.
The app will create sdcard/RomBackups/toEXT4/rom_name/rom_name.ext4.tar
and sdcard/romBackups/toSD/rom_name.ext4.tar files.
These are your backup that you can save them anywhere before you do any tests.
To restore a backed up rom, click [Backup rom] then click [Restore].
You will see that the app is switched in [RESTORE MODE].
In [RESTORE MODE] click a rom that you see in the list.
(Note that you must NOT change anything in sdcard/RomBackups folder.
If you changed anything from there then you must put the files and folders as they were,
before you enter again in the app and restore or backup any rom.)
PLEASE READ THIS :
You must NOT touch the app while backup or restore operations.
It will be unresponsive during the operations
(You can use a debugger to see what is the app compressing or decompressing).
Datagr thanks v10 looking good except first time I select Switch / Delete / Backup the first screen shows all the ROM names on top of one another - see screen shot.
Appreciate the great job you are doing on this for us.
Cheers
Tom
Sent from my NexusHD2 using Tapatalk 2
i do not know if I'm doing anything wrong but I get this error message when trying to backup any rom.View attachment 1465844
Sorry for the bugs.
Please download again version 10 with fixed bugs.
ROM_NAME=NexusHD2-JellyBean
ROM_NAME=Whatever-the-folder-in-sdcard/NativeSD-is-named-by-the-rom-you-wish-to-add-system-files-to;)
- Contains 4EXT Recovery ported for SD users.
- Unpack to the root of your sdcard
- Set your SD Boot to the Recovery folder or use clcad/haret to boot
- Contains 4EXT Recovery for android NAND users
- Flash it using DAF.exe (Magldr) cLK users can flash it using the HD2 toolkit
- Contains an example (not flashable!) of how I use this for my roms.
- You can check all the stuff, folder structure and scripts.
- I've tried to make the updater-script and aroma-config 'easy to read'
- Placeholders with text on what to put where when porting stuff to NativeSD.
1. First make sure you have at least 1 Fat32 partition and 1 EXT4 partition on your sdcard
2. If you don't have these partitions ?? [B]backup your sdcard[/B][COLOR="Red"][B] , because everything will be wiped from your sdcard when you create partitions and format them ![/B][/COLOR]
3a Use the [URL="http://goo.im/devs/Xylograph/Various/Recoveries"]provided 4EXT recovery (NAND or SD version)[/URL] to create the partitions and format them.
3b If you rather use a computer for creating and formatting partitions keep in mind that both partitions [B]must[/B] be primary partitions (not logical)
4. The recommended size of your EXT4 partition is depending on how many roms and apps you are going to install.. 512M is the minimal size..
5. Restore/move the sdcard contents back to the Fat32 partition
6. (WP7 users) make sure the EXT4 partition is located @ /dev/block/mmcblk0p2
To check this mount your sd-ext partition in 4EXT recovery and use adb shell or QtADB shell and type [B]df[/B]
7. Your sdcard is now ready for NativeSD usage..
1. WP7 and SD users set your SD BOOT directory to the 'Recovery' folder by choosing '10.services' , '1. Bootsettings' , 3. AD SD Dir in the Magldr menu.
2. Boot into (NAND or SD) 4EXT recovery.
3. Flash the ROM.zip package and follow instructions
4. Set your SD BOOT directory to the 'NativeSD' folder after flashing the ROM (see step 1)
5. Boot into the ROM and have fun..
1. Copy the [URL="http://www.mediafire.com/?nhyausx0p5whu"]flash_bootv2.zip[/URL] to your sdcard.
2. Boot into cLK and make a sboot partition.Be aware that only clk from kokotas allows to make a sboot partition directly from device
3. Boot into recovery (4EXT recovery = recommended) and install rom by choosing sd-ext method
4. After installation finishes,dont reboot, but install flash_sbootv2.zip and then reboot to cLK
5. In cLK choose to boot from sboot and wait for the ROM to boot.
6. If you are stuck on the boot animation,try to wipe your ext partition and install the ROM again.
1. Boot into recovery by executing the usual clcad and haret stuff inside the Recovery folder.
2. Flash the ROM.zip package and follow instructions
3. Reboot and boot the ROM by executing the usual clcad and haret stuff inside the NativeSD folder.
- as of dual installer v2 you can choose your data connection during ROM installation
- For Magldr users I recommend using the RMNET connection
- For all other users I recommend using the PPP connection (default)
- PPP connection should work for all users !
- If you want to use a previously installed/other NativeSD ROM ?
- Copy the contents of that roms folder found inside the NativeSD folder to the root of the NativeSD folder (overwriting the kernel+ramdisk)
- Boot to sd and that ROM will boot !
- Repeat the above steps when you want to switch again
- In the future we want to make the above steps easier and possible with either a 'gscript' or an 'android app'
- [URL="http://d-h.st/pFR"]PA_v1.992se_dual_installer_v2.zip[/URL] - [B][URL="http://tinyw.in/Xhft"]mirror[/URL][/B] (Flash via recovery) - md5: ce2138748c6b2cbc62848272acf92600
- [URL="http://d-h.st/p33"]AOKP_N2408se_dual_installer.zip (Magldr only!)[/URL] - [B][URL="http://tinyw.in/clMS"]mirror[/URL][/B] (Flash via recovery) - md5: 6a116ad3eebb0f92729af6954f0a9217
echo "mount system and data partition on sdcard"
# change the rom_name TO PA MIUI CM7 will support
# to boot other system on SD/EXT4
# the system layout :
# /NativeSD/NexusHD2/
# /system
# /data
# /PA/
# /system
# /data
# /MIUI/
# /system
# /data
# /app
# the app dir is shared for all ROMs
#
# set the name of the rom to boot
rom_name="PA"
# mount the 1st (NativeSD) SD-EXT partition
mkdir -p /NativeSD
mount -t ext4 -o rw,noatime,nodiratime,barrier=0 /dev/block/mmcblk0p2 /NativeSD
# mount the system data app dir
mount --bind /NativeSD/$rom_name/system /system
mount --bind /NativeSD/$rom_name/data /data
# create app data/app dir
mkdir -p /NativeSD/app
mkdir -p /data/app
mount --bind /NativeSD/app /data/app
package_extract_file("install.sh", "/tmp/install.sh");
set_perm(0,0, 0777, "/tmp/install.sh");
run_program("/tmp/install.sh");
show_progress(0.8, 80);
if file_getprop("/tmp/nfo.prop","NativeSD") == "true"
then
package_extract_dir("kernel/boot", "/boot");
package_extract_dir("kernel/boot", "/boot_dir");
package_extract_dir("system", "/system");
......
else
ui_print("can't find ext4 partition on your SDcard");
ui_print("install failed");
endif;
#!/sbin/sh
# Set the ROM name
ROM_NAME=NexusHD2
export ROM_NAME
mmcblk0p2=`ls /dev/block/mmcblk0p2`
# Mount the ext4 partition
if [ $mmcblk0p2 == "/dev/block/mmcblk0p2" ]
then
mkdir -p /ext4p
mkdir -p /sdcard/NativeSD/$ROM_NAME
mkdir -p /boot /boot_dir
mount -t ext4 /dev/block/mmcblk0p2 /ext4p
mkdir -p /ext4p/$ROM_NAME/system /ext4p/$ROM_NAME/data
mount --bind /ext4p/$ROM_NAME/system /system
mount --bind /ext4p/$ROM_NAME/data /data
mount --bind /sdcard/NativeSD/$ROM_NAME /boot
mount --bind /sdcard/NativeSD /boot_dir
#delete the old system
rm -rf /system/*
#clean the dalvik-cache
rm -rf /data/dalvik-cache/*
#all the dir has ready write some info for updater-script
echo "NativeSD=true" >> /tmp/nfo.prop
else
#no ext4 partition found
echo "NativeSD=false" >> /tmp/nfo.prop
fi