Miui v4 ics
V1 Pre Alpha :
Bad:
Not rooted (V2)
Big size (it's a MIUI) its an ext4 take more place but faster then ext2
Good :
Faster
Mount internal and external in same time on usb storage
http://www.multiupload.nl/YOJJ6EGDTB
Need this Fota :
http://forum.xda-developers.com/attachment.php?attachmentid=1340004&d=1348112866
Can use this fota for Jb too
1634 Score Quadrant Bench
Update kernel lzo compression faster boot :
http://www.2shared.com/file/elX9vC8e/zImage.html
If you have some prob with lock tell me
Ps : MIUI better on Nand more place more faster
Do i just replace previous ?
basbulletje said:
Do i just replace previous ?
Click to expand...
Click to collapse
yes
so it's a beta... i'm just trying it!
Devriel said:
so it's a beta... i'm just trying it!
Click to expand...
Click to collapse
Just kernel for ICS now
I will try tomorrow with full version of this cfw
Very good job! I congratulate you!
This is one of the most complete truth Roms?.
Will you do a video to see the optimization?
Update :New kernel
Also for now i can upload Slim ICS with optimisation...
MIUI coming later not finished...
Tigrouzen said:
Incoming :
MIUI V4 ICS
Kernel :
Super optimised
Swap
Sd mount external USB storage
Boot on 39sec
Super Fast
....
For now you can test kernel and install SwapperApp test it with any ICS rom for wave of course
Or you can test it like this :
Before make a backup your sd :
You need have on your sd second parition swap
on android terminal or adb shell
fdisk /dev/block/mmcblk1
p
d
(delete all partition)
n
p (primary)
1 (first)
first sector : (enter)
last sector : +3400M (if your card are 4go)
t
b (fat32)
n
p
2
enter
enter
t
2
82
w
after :
mkswap -c /dev/block/mmcblk1p2
and:
mkfs.vfat -c /dev/block/mmcblk1p1
then :
vi /etc/fstab
write this :
/dev/block/mmcblk1p2 swap swap defaults 0 0
for save like this :
:z or :w (cause im on azerty keyboard)
then quit:
:q
Or other way in windows :
notepad
copy past line
and save file name fstab
with no extension
(you need to choice in option folder to see extension on file in windows for no mistake)
and adb push fstab /etc/
or copy it on sd and on terminal android if you dont have adb shell do this :
cp /emmc/fstab /etc/
then in terminal or shell :
chmod 0755 /etc/fstab
finaly reboot and on terminal android :
swapon /dev/block/mmcblk1p2
if you want all time swapon start you need to add on script in /etc/init.d/ folder
SlimFast with optimise and debug :
170Mo Free
TvOut
Rooted...
Upload
Click to expand...
Click to collapse
can you please add liveOC and voodo.colour support to your swap enabled kernal.
---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------
liveOC + swap enabled would be really.nice and smooth.
m90ultimate said:
can you please add liveOC and voodo.colour support to your swap enabled kernal.
---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------
liveOC + swap enabled would be really.nice and smooth.
Click to expand...
Click to collapse
LiveOC Rebellos can do it, need to be change on kernel
Tigrouzen said:
Incoming :
MIUI V4 ICS
Kernel :
Super optimised
Swap
Sd mount external USB storage
Boot on 39sec
Super Fast
....
For now you can test kernel and install SwapperApp test it with any ICS rom for wave of course
Or you can test it like this :
Before make a backup your sd :
You need have on your sd second parition swap
on android terminal or adb shell
fdisk /dev/block/mmcblk1
p
d
(delete all partition)
n
p (primary)
1 (first)
first sector : (enter)
last sector : +3400M (if your card are 4go)
t
b (fat32)
n
p
2
enter
enter
t
2
82
w
after :
mkswap -c /dev/block/mmcblk1p2
and:
mkfs.vfat -c /dev/block/mmcblk1p1
then :
vi /etc/fstab
write this :
/dev/block/mmcblk1p2 swap swap defaults 0 0
for save like this :
:z or :w (cause im on azerty keyboard)
then quit:
:q
Or other way in windows :
notepad
copy past line
and save file name fstab
with no extension
(you need to choice in option folder to see extension on file in windows for no mistake)
and adb push fstab /etc/
or copy it on sd and on terminal android if you dont have adb shell do this :
cp /emmc/fstab /etc/
then in terminal or shell :
chmod 0755 /etc/fstab
finaly reboot and on terminal android :
swapon /dev/block/mmcblk1p2
if you want all time swapon start you need to add on script in /etc/init.d/ folder
SlimFast with optimise and debug :
170Mo Free
TvOut
Rooted...
Upload
Click to expand...
Click to collapse
Dude, i'm not getting it will you put on a simple TUT please. or anyone
Thanks in advance
Update Slimfast for test use...
Tigrouzen said:
Update Slimfast for test use...
Click to expand...
Click to collapse
testing right now ..
Edit ; Just copied rom files to internal memory and booting to android after badadroid screen phone is turn off ? why ?
hero355 said:
testing right now ..
Edit ; Just copied rom files to internal memory and booting to android after badadroid screen phone is turn off ? why ?
Click to expand...
Click to collapse
Its difficult to find this bug o Wave II no lcd and ddms show me all time screen... I need Wave I...
Tigrouzen said:
Its difficult to find this bug o Wave II no lcd and ddms show me all time screen... I need Wave I...
Click to expand...
Click to collapse
after badadroid screen phone is turning off
hero355 said:
after badadroid screen phone is turning off
Click to expand...
Click to collapse
Did you see lockscreen ?
Tigrouzen said:
Did you see lockscreen ?
Click to expand...
Click to collapse
Nothing after first badadroid logo phone is turning off
hero355 said:
Nothing after first badadroid logo phone is turning off
Click to expand...
Click to collapse
Ok
Hello there!
Yep, he's right. I can't see anything after first "badadroid" logo.
Update
Its slim rom optimised ICS im working on MIUI more fatser JB but making mistake i lost all my work...
Sd working browser work....
coming later for MIUI
Related
TRADUCTION STOPED, WORK CONTINUE IN ORIGINAL POST (FRENCH)
Reason : NO USER FEED BACK
Thanks to the author of X10 mini Exploit : http://android.doshaska.net/x10miniroot
This script pack is wrote under WINDOWS CMD, then to use on Windows.
These scripts are writen to help to :
Root X10 under ROM 023 or upper
make an INDUSTRIAL APK install (NO APPS IS INCLUDED, Make your choise)
Clean up some Constructor's packages
Install a Theme (NO THEME IS INCLUDED, Make your choise)
Install a BootScreen (NO BootScreen IS INCLUDED, Make your choise)
My scripts are included all INSTRUCTIONS Step by Step
MUST HAVE BEFORE :
Have an X10i (Not tested with X10a)
ROM 023 upper (Tested on DeBranded 026 and 023 )
Be under Windows
Installed SEUS (for drivers)
Change the Screen Time out to 10Mins (or more)
(Param/Sound&Display/Screen Time Out)
For the root step, Use the SONY WITGET for WIFI...
DURING THE SCRIPT RUNNING, PLEASE BE IN DEBUG MODE ON YOUR X10...
YOU CAN DOWNLOAD MY EACH MODULE IN THE ATTACHED FILE ON EACH RELATED POST
/!\ EACH RAR FILE MUST BE EXTRACTED ON C:\ /!\
0)THE MUST HAVE FILE (CORE) : Adb (Without this package, none worked)
DOWNLOAD : 0_CORE Only
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
YOU NEED TO COMBINE IT WITH ONE OF THE OTHER MODULE (or ALL)
Step 0(adb) + (Rooter / APK Installer / Cleaner / Theme / Boot Screen)
Each RAR file contain his own files
You can say YES when winRAR ask you to overwrite
/!\ Please give me a feed back... worked or not /!\
Click to expand...
Click to collapse
PS : some steps are requiered an Humain action, because for the FW 026 users, the su is Unsecured (then block all batch request...) sorry.. I must to learn VBScrit to release a Full batched script...
STEP 1 : ROOTING THE X10 (026) by the X10 mini Explot Method
DOWNLOAD : 0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
I don't recommand to use the "1 Click" method, because, i want to test the peering of your X10 and your PC.. If your X10 is not detected and peered with your PC, step 2->5 can't be functional...
*********************************************************
Enable "USB Debugging" in "Settings/applications/developpement"
Put on the HOME the SONY's widget "Quick Settings" and enable the WiFi
Plug your phone to the PC
*********************************************************
Click to expand...
Click to collapse
-> Do that asked : Go to the USB DEBUGGING MODE
DISABLE WiFi from the SONY's widget SONY (onthe HOME)
HUMAIN ACTION : Type the command lines as requested
Click to expand...
Click to collapse
-> As wrote, YOU must type these command lines (Can't batch this step yet)
-> Copy/Past is allowed
rootshell
Click to expand...
Click to collapse
type this password : rootnow
cd /sqlite_stmt_journals/
./busybox cp /sdcard/bin/su /system/bin/
./busybox cp /sdcard/bin/busybox /system/bin/
chmod 6777 /system/bin/su
rm /system/bin/rootshell
exit
exit
Click to expand...
Click to collapse
At this step, your X10 is rooted... No need to reboot
STEP 2 : INDUSTRIAL APK INSTALL
DOWNLOAD : 0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Put your APK files in this folder : (press Any key)
Click to expand...
Click to collapse
-> an Explorer window will pop up with path C:\KitThol_ENG\InstallAPK\app
-> Fill it with ALL your APK that you want to install
-> Press any key in the script window
-> My script will install ALL your APKs by it shelf
STEP 3: CLEAN UP SOME CONTRUCTOR"S PACKAGES
DOWNLOAD : 0_CORE + Here (FR)
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Cleaner V2(FR) : Backup on local drive before delete + Face Book and You Tube are NOT deleted
+ Some more deleted apps..
Check the cleansony.sh file if you want to know what i delete
Click to expand...
Click to collapse
-> Check the cleansony.sh file in C:\KitThol_ENG\Cleaner\
-> Delete lines where there package you want to keep (like youtube or facebook)
-> and save it
HUMAIN ACTION : Type the command lines as requested :
Click to expand...
Click to collapse
-> You MUST type these command lines (Not Batchable yet)
-> Copy/Past is allowed
su
Click to expand...
Click to collapse
on the X10 : ALLOW SU request(check Memorise/remember)
echo #WAIT the prompt "#"
Click to expand...
Click to collapse
-> Do that asked
cd sdcard
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
sh cleansony.sh
exit
exit
Click to expand...
Click to collapse
-> You will see some Error messages (": Not found" )...
-> Don't worry.. it's only due to Windows text formated (^M for return)
-> Some apps will be on error (we delete it )
STEP 4 : INSTALL A THEME
DOWNLOAD :0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Fill this folder with your APK theme (WITHOUT Framework) : [Press ANY KEY]
Click to expand...
Click to collapse
-> A window will pop up with path C:\KitThol_ENG\Theme\APK
-> Fill it with APPS APK theme (not the Framwork)
Put your FRAMEWORK APK in this folder : [Press ANY KEY]
Click to expand...
Click to collapse
-> A window will pop up with path C:\KitThol_ENG\Theme
-> Fill it with FRAMEWORK APK theme
HUMAIN ACTION : Type the command lines as requested :
Click to expand...
Click to collapse
-> you MUST type these command lines (not Batchable yet)
-> Copy/Past is allowed
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
cd /sdcard/
sh applytheme.sh
exit
exit
Click to expand...
Click to collapse
-> Well done, your X10 will Rebooted (now or under few seconds )
STEP 5 : INSTALL A BOOT SCREEN
DOWNLOAD : 0_CORE + Here
Or FULL INSTALL (ENG) : FULL_INSTALL(All Packages)
Or FULL INSTALL (FRENCH) : FullInstall French
Fill here your PNG files :
Click to expand...
Click to collapse
-> A window will pop up with path C:\KitThol_ENG\BootScreen
-> Fill it with the PNG(only png, not directory) of your downloaded BootScreen File
HUMAIN ACTION : Type the command lines as requested :
Click to expand...
Click to collapse
-> you MUST type these command lines (not Batchable yet)
-> Copy/Past is allowed
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
cd /sdcard/Theme/BootScreen/
sh applyBootScreen.sh
exit
exit
Click to expand...
Click to collapse
-> Well done, your X10 will Rebooted (now or under few seconds )
Step 0 is the needed file for my all other modules...
If you want to do a full install, try to execute my scripts by order...
then else, if you need only ONE of theses module you MUST extract the module :
Step 0 + Step(s) needed...
Have fun.. i wait your feed back..
great post. thanks for all the info. can't wait to get started on all this stuff
Have you success what you need with my scripts ?
I fix an error of syntaxes, my Main folder name contain a space... and there no space in path used in scripts...
All must Running now...
I wait your feed back !
Nobody had tested my work ? :-(
It not helped you ?
is it useless ?
Please say something.. i have to continue to this way or i must stop now ?
My partner has an X10 that I would love to test this on but has recently been upgraded to the latest firmware. Sorry.
My worry would be not having tools like nandroid as a safety net.
Sent from my Nexus One using XDA App
First, Thank you for this reply...
my scripts aren't for UPGRADE FW, it goal is to
root (have an administrator access),
help to install MANY applications in one time
help to delete some constructor's applications (who get your device slowly)
Help to istall a theme (because it's a litle bit difficult on FW 026)
Help to istall a Bootscreen (because it's a litle bit difficult on FW 026)
Then you can test it... dont worry, i tested with my french testers...
I just want to help you... International users !!!
Debrand x10
wolf0491 said:
I would try but I'm still on 20 and I'm selling my x10 on 26 so not doing anything to it. I actually have no idea why mine has not updated to 26.
Sent from my X10a using XDA App
Click to expand...
Click to collapse
If you want to be on 026, try this method (Debrand) :
download the FW 026 here
unrar it, there 2 files..
launch SEUS, do a repair... SEUS will download the actual FW of your X10, flash it with it..
when done, go to C:/ProgramData/Sony Ericsson/SEMC OMSI Module/db/13740270/blob_fs (on Windows Vista/7 )
there 2 big files (16Mo and 130Mo)
copy the NAME of le 16mo's files in this directory (SEUS Directory).. past it on the 16Mo of the downloaded FW on my link. do the samething with the bigger file (130Mo)...
Replace the to files in SEUS directory with the 2 files downloaded...(overwrite)
launch SEUS and flash it again with the repair method...
It's done... your X10 will be on 026 after the flash...
Ok. You can use each functionality separately... try to change a theme or bootscreen ? There no danger..
It can be in both section... because it help to apply a theme AND to root a 02x fw.
It's not the probem.
I just want to know if there somebody has use my script ?
If not why you are afraid ?
I let my work here 1 month again... after, i delete it.. be cause i dont want to use this forum storage for something that nobody use it..
sorry double post
This new Turial is not from me credits go to tot31
I'm writing the how to my own way, hope this will more helpful..
How To : App2sd on Xperia X10i mini
Pre Installation.
I'm assuming that you have just fresh install 2.1/1.6 firmware and root your phone before you start the procedure. This is how I did with my phone.
1. Reinstall 2.1 firmware by using Sony Ericsson Update Service.
2. Root the phone by using SuperOneClick ( http://d01.megashares.com/dl/1xcuTic/Super...4-ShortFuse.zip ). More info on SuperOneClick, go here -> http://forum.xda-developers.com/showthread.php?t=803682
Note : Please disable any anti virus especially Kaspersky as it will give false virus alarm and will delete one of the file.
Step 1 : Preparing your micro SD Card.
Please refer to this link ( http://forum.xda-developers.com/wiki/index...rd_partitioning ) on how to prepare your micro sd card. For better performance I would advise that you use a Class 10 card instead of the original card that comes with the phone because the card is only Class 2 card. For more infomation on speed class rating of sd card please go here -> http://en.wikipedia.org/wiki/Secure_Digital
An excerpt taken from wikipedia :-
The following are the ratings of some currently available cards:
* Class 0 - These cards do not specify performance, which includes all legacy cards prior to class specifications.
* Class 2 - Minimum of 2 MB/s performance. Lowest speed for SDHC cards.
* Class 4 - Minimum of 4 MB/s performance.
* Class 6 - Minimum of 6 MB/s performance.
* Class 10 - Minimum of 10 MB/s performance.
Note : The recommended maximum size of ext2 partition is 1.4GB. I've tried 3GB before and ended up with unstable system and eventually crash the phone. So if you're really greedy since you've bought a 16GB or 32GB card to partition the ext2 more than the recommended size and if your phone is unstable, you've been warn.
Step 2 : Download the related files.
1. App2sd : see attachment
2. adb shell : see attachment
Step 3 : Enabling USB Debugging mode on you phone.
Go to Settings -> Applications -> Development -> USB Debugging (check this option).
Step 4 : Installing App2sd.
Create a folder name adb in your pc and extract all the files from adb.zip into this folder.
Connect your phone to your pc and mount the sd card. Extract all the file from app2sd2.1.zip to the root of your sd card. Make sure to unmount the sd card before continue the next step.
In your pc open up a dos terminal box by typing cmd in the Search programs and files box.
Type
cd /adb
then type
adb shell
then type
sh /sdcard/app2sd.sh
you'll be presented by this screen...
+________________________________+
|********************************|
|*Welcome To wolfilein's App2sd *|
|*installing script *|
|********************************|
+--------------------------------+
~this version should be go on any device ~
+___________________+
|********************|
|* Menu *|
|* *|
|*[0] install app2sd*|
|*[1] remove app2sd *|
|*[2] exit *|
|********************|
+--------------------+
[0]
now just press the enter key & wait.
Important : Make sure to set your phone screen timeout to the max because Superuser will ask for your permission to allow this script to run. If your screen goes blank, you can't see this prompt and the installation will fail.
after a while you'll get this..
busybox is /system/bin/busybox
rm failed for /etc/mount_sd.sh, No such file or directory
+________________________________+
|********************************|
| finished going reboot now |
|********************************|
+--------------------------------+
Don't worry, actually it does not fail. I also got the same message and I also thought it failed but when install all the apps and check using Minitool Partition Wizard and Linux Reader for windows, all my applications are installed into my card (see my previous post with screenshot).
The Explanation
If you look through the app2sd.sh script, command rm /etc/mount_sd.sh means remove/delete the mount_sd.sh file from /etc folder, since that file does not exist in the fresh install phone, it gives this error message but continue with other commands..
rm /etc/mount_sd.sh
mv /system/bin/sh /system/bin/sh_bak
cat /sdcard/sh.sh > /system/bin/sh
chmod 777 /system/bin/sh
busybox cp /sdcard/mount_sd.sh /etc/mount_sd.sh
echo "
+________________________________+
|********************************|
| finished going reboot now |
|********************************|
+--------------------------------+
"
sleep 1
reboot
Finally after a reboot, your phone is ready with app2sd. From now on when you install any applications it will save into your sd card.
Disclaimer : Do this at your own risk. I will not responsible if any injuries or damage occur to you or your phone
wolfilein said:
/!\Warning this is for testing only/!\
¯¯ ¯¯
here is the script that "should work on the x10 minni"
i hadn't one so i can't say if it works
install is verry easy just
first make a second ext2 fomratted patition on the sdcard
extract the zip in the root of your sd-card
open an adb shell
and type in
sh /sdcard/app2sd.sh
then press just enter and app2sd will be installed
yout phone will reboot and then say me if it give errors
wolfilein
Click to expand...
Click to collapse
it says the folder do not exist
when said it this??
does the actually work?
i have an idea
can anyone of you guys ceck out wat habens if you add a bootscript to
/system/drm/DxDrm/init_drm.rc
/system/etc/hw_config.sh
anyone check this please
just a question.... do it "should work on the x10 minni PRO" ?? ( device with phisycal qwerty) ?
Sorry for my bad english !!
init.rc
what if i enter contents of drm.sh to init.rc?
check please this out!!
in the init.rc it seems the pregram must be a service
wolfilein said:
i have an idea
can anyone of you guys ceck out wat habens if you add a bootscript to
/system/drm/DxDrm/init_drm.rc
/system/etc/hw_config.sh
anyone check this please
Click to expand...
Click to collapse
init.rc
i'm not comfy editing init.rc.
I'm gonna try Autostart application from market first.
are you ignoring me ??
and you the autostartapp can't start before it's loaded on boot that means that you must first load the apps
hwconfig.sh
there is no hwconfig.sh in etc folder.
2 thing create one
and check if it excuted
and
check this file
/system/drm/DxDrm/init_drm.rc
wolfilein said:
2 thing create one
and check if it excuted
and
check this file
/system/drm/DxDrm/init_drm.rc
Click to expand...
Click to collapse
added code to init_drm.rc
did not work.
trying hw_config.sh
i will try to edit the init.rc
if i succes i will say it
no luck with hw_config.sh
so ive edit my script and i will upload it now on both
x10 an x10 minni this script should work on every android phone
so now your script is good also for x10 mini pro ??
simple way apps2sd
First, you have to make two partitions on your sdcard - Fat32 and ext2 (ext3)
Second, Mount ext2(ext3) on your device
Third, ln -s /system/app/xxx.apk \sdcard\ ext partition\ way you want\xxx.apk
Caution - never try to remove sdcard after this operation - very dangerious for the health of your device.
your way is not so good
and yes it !should! work now buti cannot test it
garbage
MasterKira said:
so now your script is good also for x10 mini pro ??
Click to expand...
Click to collapse
not really, this time it froze my phone on bootup at the SE logo.
I fear i might have to reflash n lose all my settings!
install gscript
create a folder on your sdcard (example /sdcard/iso)
copy in /sdcard/iso *.iso files
create in gscript 2 scripts
mount_iso - to mount an image(NAME.iso - the name of your file)
Code:
echo "/sdcard/iso/NAME.iso" > /sys/devices/platform/msm_hsusb/gadget/lun1/file
umount_iso - to umount an image
Code:
echo "" > /sys/devices/platform/msm_hsusb/gadget/lun1/file
i assume this script assumes your first loop file is free
what if its already used example in case on a apps2sd application
I have so in MIUI
/sys/devices/platform/msm_hsusb/gadget/lun0 - sdcard
/sys/devices/platform/msm_hsusb/gadget/lun1 - sdrom
can create /sys/devices/platform/msm_hsusb/gadget/lun2 ??
But how? vold.fstab vold.conf ???
I do not use apps2sd, I do not know how it works
Code:
volume_cdrom {
media_path /sys/devices/platform/msm_hsusb/gadget/lun1/file
media_type cdrom
mount_point /system/etc/cdrom.iso
}
dik-m said:
I have so in MIUI
/sys/devices/platform/msm_hsusb/gadget/lun0 - sdcard
/sys/devices/platform/msm_hsusb/gadget/lun1 - sdrom
can create /sys/devices/platform/msm_hsusb/gadget/lun2 ??
But how? vold.fstab vold.conf ???
I do not use apps2sd, I do not know how it works
Code:
volume_cdrom {
media_path /sys/devices/platform/msm_hsusb/gadget/lun1/file
media_type cdrom
mount_point /system/etc/cdrom.iso
}
Click to expand...
Click to collapse
these are basically loop files when you do a loopmount using losetup i suppose you get that autocreated.
however i am no expert on MIUI ROM and hence will not comment any further on this.
anantshri said:
however i am no expert on MIUI ROM and hence will not comment any further on this.
Click to expand...
Click to collapse
it is not only MIUI, on the official firmware also
sorry for translation
very good
its possible make a apk for this?
monta990 said:
its possible make a apk for this?
Click to expand...
Click to collapse
Yeah a APK with auto mount would rock.
OmegaRED^ said:
Yeah a APK with auto mount would rock.
Click to expand...
Click to collapse
With a widget
Sent from my X10i using XDA App
guys i am not promising anything right now as currently i am still learning on how to create apps, i can may be make an app/widget for this... but this will be low priority as i already have some bigger projects that i am working on
max 700 mb
this mod only support 700 mb isos.
fack, to Gingerbread not work
doesn't mount have something like
mount -o loop -t iso9660 iso_file /path?
in the kernel does not support USB-CDROM
where to get path? can create using mknod? but how and whether to work?
This is an idea to make the HD2 faster and fancy, I worked with Xylograph to make it more usable and easy to implement by common users.
Index
Post 1 Introduction
Post 2 ROMs, Scripts, Installer template for Devs by Xylograph
Post 3 Q&A
Introduction
We have SD ROMs for very long time, but I think most of the people should agree with me that the SD ROMs are slower than NAND ROMs. because the SD ROMs use system.ext4 and data.ext4 files to store all the ROM contant on the FAT partition, the IO access is the bottleneck.
My Class10 SD card has 10MB/s R/W speed, but the NAND flash R/W speed is only about 4MB/s. so if we can directly install the ROMs to SDCARD and boot from SDCARD we will get lots of benifits:
Faster Read/Write speed than NAND ROMs
Bigger data partition for user space (depends on how big the ext4 partition on SDCARD)
Install servel ROMs at the same time. and each ROM share the same space
Muilt-boot support, easy to switch between the ROMs been installed.
The NativeSD Rom is a new kind of ROM it needs an ext4 partition on your SDCARD.
This thread will tell you how to install a ROM to SDCARD and give some script templates for ROM Devs to make the ROM installer which can support install the ROM to NAND flash or SD/EXT4.
Install the ROM to SD/EXT4 will not effact the ROM(WM or Android) on NAND flash, NativeSD should support run from MAGLDR CLK or WM6.5(need test).
Important Notes:
Backup all the SDCARD content to PC before you create the ext4 partition on SDCARD.
Change Log:
05-09-2012 @2nd Post [05-09-2012] NativeSD Dual Installer v2 [nand/sdext][wip]
10-09-2012 Add NativeSD CM7 script template
13-09-2012 nativeSDMultiBoot Version4 Credits to datagr
20-09-2012 nativeSDMultiBoot Version5 Credits to datagr
26-09-2012 nativeSDMultiBoot Version6 Credits to datagr
30-10-2012 nativeSDMultiBoot Version9 Credits to datagr
30-10-2012 New initrd mod for NativeSD Credits to marco.palumbi
[05-09-2012] NativeSD Dual Installer v2 [nand/sdext][wip]
{
"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"
}
NativeSD Dual Installer v2
Keep in mind that this is a work in progress featuring a possibility to run a full nand rom on a SD-EXT partition..
Please check my current AOKP & PA jellybean ROMS or CM9ight ICS ROM for some 'NativeSD functionality' in action
Features:
Compatible with every bootloader and stock OS
Recovery package for users without Android on nand
Pre-Installation Requirements and recommendations:
HTC HD2 Phone
Sdcard with enough free space (performance may differ based on the quality of your card)
4EXT Recovery (Highly recommended)
Primary Fat32 partition and Primary EXT4 partition
Downloads : (Please do not mirror stuff)
Download 4EXT Recovery from here.
Pick the SD version if you would like to boot 4EXT Recovery from SD (unpack to your sdcard)
Pick the NAND version if you would like to flash the 4EXT Recovery on your NAND (flashable via recovery)
Users with non-working hardware keys can try the various touch recoveries I've ported , though I highly recommend 4EXT recovery..
Dual_Installer_v2_example.zip (only for advanced users, unpack the contents to your computer)
Contents :
4EXTRecoverySD for users with no or a different recovery on nand:
Code:
- 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
4EXTRecoveryNAND for users who would like this recovery on nand:
Code:
- Contains 4EXT Recovery for android NAND users
- Flash it using DAF.exe (Magldr) cLK users can flash it using the HD2 toolkit
Dual Installer example Package (advanced users) :
Code:
- 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.
Installation Steps & Instructions:
Sdcard for NativeSD:
Code:
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..
NativeSD Installation for Magldr NAND Android & WP7 users :
Code:
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..
NativeSD Installation for cLK NAND Android users : (thanks clio94)
Code:
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.
NativeSD Installation for Windows Mobile and other OS users :
Code:
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.
RMNET or PPP ??? summary :
Code:
- 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 !
Switch between different NativeSD ROMS ?
Code:
- 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'
Previous Roms (Examples) featuring NativeSD and Dual Installer :
Code:
- [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
*** all flashing is at your own risk ! Always make backups in recovery and/or titanium backup ! ***
*** This is a NativeSD thread ! Please, Keep this thread NativeSD related and report issues with roms in the rom thread !!! ***
Thanks & Credits to : securecrt, Phoenix, clio94, LNE team and everybody I forgot !
Q&A
How is the NativeSD ROM work?
To boot the Android from SD card, the old SD ROMs mount the system.ext4 and data.ext4 before the init(rename to init.android) thread is start. I changed the initrd.gz to make it mount the ext4 partition before the android init.android start. here is the main code for the init script
Code:
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
So for the ROM Devs should create new initrd.gz which is different with the NAND version, use different rom_name distinguish with others the whole templete is in 2nd post by Xylograph
How is the multi-boot works on NativeSD ROM?
Set the SD boot dir /sdcard/NativeSD in Magldr or CLK,the dir structure is
/sdcard/NativeSD/NexusHD2/zImage
/sdcard/NativeSD/NexusHD2/initrd.gz
/sdcard/NativeSD/PA/zImage
/sdcard/NativeSD/PA/initrd.gz
/sdcard/NativeSD/zImage
/sdcard/NativeSD/initrd.gz
The Magldr& CLK always read the /sdcard/NativeSD/zImage /sdcard/NativeSD/initrd.gz files to boot, so if you want to switch from PA to NexusHD2 just only need to copy the zImage & initrd.gz to the up layer dir, use the NativeSD ROM switch app made by datagr
How to convert the NAND ROM to NativeSD ROM?
HOWTO port NAND ROM to NATIVESD STEP-BY-STEP Credits to c1cl0n
This is for Devs and advanced users only. For example if we got the NAND version of the NexusHD2 extract the zip file and replace 2 files and add 1 file will finish the convert.
/kernel/boot/initrd.gz
the initrd.gz is similar with the SD ROMs but need to change the init script to mount the ext4 partition
/META-INF/com/google/android/updater-script
the updater-script is used for CWM to execute the install process; execute install.sh before copy the system content to the ext4, here is the sample code
Code:
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;
/install.sh
Code:
#!/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
How to make ext4 partition on my SDCARD?
http://forum.xda-developers.com/showthread.php?p=31414628#post31414628
Spaqin said:
You just posted it, but I have a couple of questions - what is it really? How SD builds will be faster because of that? What can we expect? How will it work? Any details?
Click to expand...
Click to collapse
Securecrt will explain everything.. give the man some time to create the first post..
Expect the same/similar or even better performance compared to android on NAND with a descent SD card.
I will post an example ROM which I am working on so people can check it out @ 2nd post when I am done with it..
Spaqin said:
You just posted it, but I have a couple of questions - what is it really? How SD builds will be faster because of that? What can we expect? How will it work? Any details?
Click to expand...
Click to collapse
:laugh: Just be patient. I am updating the post.
Wow man! I can hardly wait!
securecrt said:
[coming soon] ...
This is an idea to make the HD2 more faster, I worked with Xylograph to make it more usable and easy to implement by common users.
Click to expand...
Click to collapse
Xylograph said:
Securecrt will explain everything.. give the man some time to create the first post..
Expect the same/similar or even better performance compared to android on NAND with a descent SD card.
I will post an example ROM which I am working on so people can check it out @ 2nd post when I am done with it..
Click to expand...
Click to collapse
Looking forward to trying this
Sent from my GT-I9100 using Tapatalk 2
Well everybody (especially sd rom users) waiting to test this stuff can already start by making sure they have an SD-EXT (EXT4 if possible) partition on their sd-card..
Make a big one for future use
Xylograph said:
Well everybody (especially sd rom users) waiting to test this stuff can already start by making sure they have an SD-EXT (EXT4 if possible) partition on their sd-card..
Make a big one for future use
Click to expand...
Click to collapse
ready - steady ...
dimdimdim said:
ready - steady ...
Click to expand...
Click to collapse
GO GO GO !!!
ext4 partition can be made from windows using minitool partition wizard home edition http://www.partitionwizard.com/download.html
I assume FAT32 partition should be first and ext4 partition second.
Robbie P said:
ext4 partition can be made from windows using minitool partition wizard home edition http://www.partitionwizard.com/download.html
I assume FAT32 partition should be first and ext4 partition second.
Click to expand...
Click to collapse
What size partition should I create?
I usually use partitions of 1 or 2 GB on 16 or 32 GB cards
hi..
my phone's hardware button (green button) is not working.. so i can not make any changes to magldr..
currently, my boot folder is set to ICS..
I was just wondering if its possible to edit the initrd.gz as mentioned in post 3 in such a way that it would reflect my folder (ICS) instead of NativeSD?
should i just replace all places which have NativeSD with my folder that is ICS? or is it just some specific places?
jjblaster3 said:
hi..
my phone's hardware button (green button) is not working.. so i can not make any changes to magldr..
currently, my boot folder is set to ICS..
I was just wondering if its possible to edit the initrd.gz as mentioned in post 3 in such a way that it would reflect my folder (ICS) instead of NativeSD?
should i just replace all places which have NativeSD with my folder that is ICS? or is it just some specific places?
Click to expand...
Click to collapse
I did not consider this case... let me think how to solve it.
Robbie P said:
ext4 partition can be made from windows using minitool partition wizard home edition http://www.partitionwizard.com/download.html
I assume FAT32 partition should be first and ext4 partition second.
Click to expand...
Click to collapse
Yes sir, or use recovery for partitioning your sdcard.. I recommend 4EXT recovery for the job.
aldai2 said:
What size partition should I create?
I usually use partitions of 1 or 2 GB on 16 or 32 GB cards
Click to expand...
Click to collapse
Depends on how many roms you are going to install...
I think 2 GB is a nice start.. especially when apps will be shared in future updates you won't have to install all apps over and over again.
securecrt said:
I did not consider this case... let me think how to solve it.
Click to expand...
Click to collapse
much appreciated friend, keeping my hopes up
Great work guys, have installed on a class 6, speed seems fine (personally I haven't found there to be any noticeable lag with SD builds).
Have just run some benchmarks; would attach if i could find a screenshot button. And will see how it performs for a day or two and report back before messing with it.
Just a suggestion, but with future builds are you considering adding an option to choose which ext to install to? So that you can have multiple sd-ext builds and/or a NAND build with a sd-ext and a separate sdext rom.
Likin' the installer as well, haven't used aroma too often, but you've customised this one and made it your own.
Nice Work.
Can't find screenshot, so. Using a class 6 card in:
Code:
System Test = 3398 ; SD card read/write = 13.6/8.0 MB/s
PassMark Performance = 816 ; Internal Storage read/write = 14.7/13.1 MB/s External Storage r/w = 15.1/8.27 MB/s
AnTuTu = 2741 (typical SDROM score) SD card r/w = 9.7/7.4 MB/s
jjblaster3 said:
hi..
my phone's hardware button (green button) is not working..
Click to expand...
Click to collapse
So besides changing the folder are you actually able to enter recovery without a working green key?
You'll need that 2
Xylograph said:
So besides changing the folder are you actually able to enter recovery without a working green key?
You'll need that 2
Click to expand...
Click to collapse
Couldn't he copy the files into the partition on the desktop? Using ubuntu for example, or while in a running nand build? Or would that be likely to cause issues?
Xylograph said:
So besides changing the folder are you actually able to enter recovery without a working green key?
You'll need that 2
Click to expand...
Click to collapse
well to b honest when i read on the first post that wm6.5 users and magldr users using wp7 in nand are also to be supported in the future, i never considered that recovery was a must.. guess i was wrong
THIS IS A SCRIPT TO HAVE SWAP AND NOT A ROM!
I tested the swap on "CM10.x" by volk204 but there isn't a reason it shouldn't work on other rom versions.
version 1.0 13/11/2013 18:29 GMT+2
I experienced some lag with my wave due to its low ram memory. So after testing a few things i found myself more comfortable with setting up swapfile on sd card(NAND memory); after few minutes this terminal becomes really smooth. (It strangely is faster than setting it up on the phone memory, atleast for me)
The idea is mine, but checking around i found that many other script were made. I got the sleep line to boot part idea from "Defiant07 @ XDA" (http://forum.xda-developers.com/showthread.php?t=2359182). Everything else (as simple it is it's all mine)
Swap is the *nix term for virtual memory, that maybe many are familiar with on windows.
You set up a partition/file and use that as virtual memory. It will be much slower than real ram, but it will be much faster than reloading everything from disk everytime.
Code:
#!/system/bin/sh
# This script was authored by Defiant07 @ XDA. If you use/redistribute it, eve$
# Thanks to zeppelinrox most of all, but also many thanks to dk_zero-cool & gu5$
# Much thanks to pikachu01 @ XDA for permission to use the sysctl tweaks from T$
# Read Karl Marx!
# Nearly entirely modified by skyglow
swapfile="/storage/sdcard0/swapfile"
#swapsize in KB
swapsize=524288
swappiness=90
vfs_cache_pressure=100
dirty_background_ratio=5
dirty_ratio=20
dirty_writeback_centisecs=500
dirty_expire_centisecs=200
while [ ! "`ps | grep -m 1 [a]ndroid`" ]; do sleep 10; done
if [ ! -f "$swapfile" ]; then
dd if=/dev/zero of=$swapfile bs=1024 count=$swapsize
mkswap $swapfile
fi
# sleep 30
# mkswap $swapfile
swapon $swapfile
busybox sysctl -e -w vm.swappiness=$swappiness
busybox sysctl -e -w vm.vfs_cache_pressure=$vfs_cache_pressure
busybox sysctl -e -w vm.dirty_background_ratio=$dirty_background_ratio
busybox sysctl -e -w vm.dirty_ratio=$dirty_ratio
busybox sysctl -e -w vm.dirty_writeback_centisecs=$dirty_writeback_centisecs
busybox sysctl -e -w vm.dirty_expire_centisecs=$dirty_expire_centisecs
exit 0
Requirements
Superuser rights on terminal to change permission and copy this file
Configuration
1) set up "swapfile" field to where you want your swap
2) set up "swapsize" field to an appropriate value in KB! ( i think you should try values over 307200 => 300MB to have performance improvements)
(SD or NAND version)
SD version
size=512 MB
position=sdcard root
NAND version
size=300MB
position=bada application partition
How to install
1) Download the right zip from this page
2) Extract the file from the zip
3) Upload the file in some way on the phone
4) Become superuser
5) move it to "/system/etc/init.d"
6) this file should keep hits name "99myswap"
7) change permissions of "99myswap" to 755
8) change its rights to "root:shell"
9) done, next reboot your swap will be set up automatically
P.S.
How to check if swap is activated:
Open terminal
cat /proc/swaps
Swap filename should be displayed with the right size
[ADDED DEBUG SCRIPT]
Possible problems
1) System hangs on cyanogen loading screen ( rotating circle)
INVESTIGATING
2) Battery charge lasts less.
Any kind of virtual memory use more electrical power to perform write/read on disk (SD). This is a side effect of swap.
3) File format
*NIX file format is LF and not CR-LF (for reference why this happens http://en.wikipedia.org/wiki/Newline#Representations)
You can't edit the file with windows notepad, but use something else such as notepad++ and save it in LF coding.
4) System is slower
Possible causes are:
a) you have applications on the same filesystem where you placed the swap
b) your memory (such as SD card) is too slow. Swap will work, it will just go much slower. Try it with a better sd. I tested it with a class 4 and class 10 sdcard and they both speed up. I don't have any possibility at the moment to test a class 2. (reference http://en.wikipedia.org/wiki/Secure_Digital#Speeds)
5) How to change permissions (thanks Eltjo for copy paste from your answer)
Open terminal
Type: su
Type: cd /system/etc/init.d
Type: chmod 0755 99myswap
Type: chown root:shell 99myswap
6) zRam
On my mobile it's faster if i disable zRam from Settings > Performance > Memory Management > zRam .
Anyway i think outcome may change. Try both solutions.
could be possible to use free nand memory as swap instead of sd card?
cfernr said:
could be possible to use free nand memory as swap instead of sd card?
Click to expand...
Click to collapse
I added the NAND version that installs itself in the bada partition. If you installed the sd version remember to remove the swapfile.
darklight2k2 said:
I added the NAND version that installs itself in the bada partition. If you installed the sd version remember to remove the swapfile.
Click to expand...
Click to collapse
lets try both, thank you very much
no problem.
DEBUG REQUEST
Who had the loading screen on cyanogen circle may tell me which sd card class have?
The following procedure do not install the script, it just will work till reboot.
may them try to upload the script in a generic directory such as /storage/sdcard0 and execute it with
su
cd /storage/sdcard0
sh ./99myswap
I'd like the output of that command and the resulting /proc/swaps
then use the phone, (play/call/charge/reboot)
next boot start the script again please and tell me the resulting /proc/swaps again
Thank you for the help
seems work on my phone.
installed swapfile on nand and ram increased 30mb, but low improvement in real performance.
need to change zram options, but cant find this on my phone, maybe due to language discrepancy. can you explain better?
thank you a lot
I also cannot find zram a options under B.U.X V3.1 (4.3.1 CM10.2) by Tigrouzen
If you don't have the menu for zRam it's disabled by default. To see it you should enable all developer settings.
Settings > About phone > Build number (tap 7 times)
Some more tweaks will unlock.
saltcushy said:
I also cannot find zram a options under B.U.X V3.1 (4.3.1 CM10.2) by Tigrouzen
Click to expand...
Click to collapse
Unfortunally i didn't test that rom yet but i think the procedure above will work.
darklight2k2 said:
If you don't have the menu for zRam it's disabled by default. To see it you should enable all developer settings.
Settings > About phone > Build number (tap 7 times)
Some more tweaks will unlock.
Unfortunally i didn't test that rom yet but i think the procedure above will work.
Click to expand...
Click to collapse
tested and I have to say this is necessary if you want to enjoy a few extra mb in this phone.
I recommend nand swap because everybody have 300-400 unused mb in bada apps partition.
disabling zRAM seems also recommendable.
I hope everybody take care of this script for future ROM releases
*** I will decrease swappiness to 70 or 60, I think it is enough.
darklight2k2 said:
no problem.
DEBUG REQUEST
Who had the loading screen on cyanogen circle may tell me which sd card class have?
The following procedure do not install the script, it just will work till reboot.
may them try to upload the script in a generic directory such as /storage/sdcard0 and execute it with
su
cd /storage/sdcard0
sh ./99myswap
I'd like the output of that command and the resulting /proc/swaps
Thank you for the help
Click to expand...
Click to collapse
i've a samsung class 10 32gb.
i've not run the script with sh command, just copied it to /system/etc/init.d (aplied chmod and chown) and reboot the phone. after that it hangs on CM circle on first boot and have to re-install the rom. wipe data/factory reset didn't help.
best regards
JonasVFC said:
i've a samsung class 10 32gb.
i've not run the script with sh command, just copied it to /system/etc/init.d (aplied chmod and chown) and reboot the phone. after that it hangs on CM circle on first boot and have to re-install the rom. wipe data/factory reset didn't help.
best regards
Click to expand...
Click to collapse
To try to solve it i need to know what happens when executed with the sh command
darklight2k2 said:
To try to solve it i need to know what happens when executed with the sh command
Click to expand...
Click to collapse
after installing the rom again it can boot the first time but hangs on the second like everybody else
running with sh it runs ok
JonasVFC said:
after installing the rom again it can boot the first time but hangs on the second like everybody else
running with sh it runs ok
Click to expand...
Click to collapse
that's why i said not install in the problem request
problem is with chown, just run the chmod 755. didn't run chown command last time and it booted second and third time
edit: nevermind, it hanged again
darklight2k2 said:
that's why i said not install in the problem request
Click to expand...
Click to collapse
i did it with 2 different ways....with a fresh install between and both hang
JonasVFC said:
i did it with 2 different ways....with a fresh install between and both hang
Click to expand...
Click to collapse
You're just posting and posting what happens but not what i asked you to do to five me information.
darklight2k2 said:
You're just posting and posting what happens but not what i asked you to do to five me information.
Click to expand...
Click to collapse
i did what you asked, read again, i ran it with sh: it runs fine!! creates the swapfile and outputs some parameters that are in the script like swapiness and others....
JonasVFC said:
i did what you asked, read again, i ran it with sh: it runs fine!! creates the swapfile and outputs some parameters that are in the script like swapiness and others....
Click to expand...
Click to collapse
Hi, @JonasVFC.
I understand you've been running the Swap version of Android v2.1 Volk204. How do you get it?.
Yo, if I install the file in the directory 99myswap indicating the first page, but I get that the system does not start, stays on constantly CM logo.
A greeting.
chapito said:
Hi, @JonasVFC.
I understand you've been running the Swap version of Android v2.1 Volk204. How do you get it?.
Yo, if I install the file in the directory 99myswap indicating the first page, but I get that the system does not start, stays on constantly CM logo.
A greeting.
Click to expand...
Click to collapse
May you guys try the following attached file please?
when it hangs may you post the logfile created in the phone directory ( you can get it from bada)