yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] trinity1:
Maybe the problem is related with both presence of sd ext and the fact that installer doesn't flash boot.img in the right way.

I have sd ext made with ubuntu, tried flashing rom with latest 4ext updater (and 2 latest 4ext recoveries) and cwm recovery 5.8.0.6.

Now I checked with 4ext, according to which my sd is not alligned... Actually, following my friend's suggestion I can boot into 0.7.... But I hate use "tricks" to flash a rom.

Guess I'll stick to Moio (at least until the issue is not solved)
[Desire Android Development] suiller:
I'm going to update the updater-binary

the problem could be there & here in these instructions not correctly applied, but I still don't understand why for some works & other not:

ui_print("4_5 installing kernel");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));

tried also the simplest way:

ui_print("4_5 installing kernel");
package_extract_file("boot.img", "/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");

EDIT: could be useful also to report here your recovery log (under /cache/recovery) so I can see what happens, also because I have no errors so I'm not able to test with my device
[Desire Android Development] suiller:
I've update the updater-binary with a really fresh version :rolleyes:

I'll start from scratch again & let's see what happens, but I need a volunteer who gives trouble in flashing boot.img...

someone available? :D
[Desire Android Development] sempi601:
I can test is for you if you'd like :)

edit:

I confirm that your latest 0.7 version is booting up brilliantly :)

No more booting to bootloader. Thank you :)

(my specs just to let you all know: CM7r2 hboot, 1GB ext4 partition, latest 4ext recovery touch v1.0.0.5 RC3)
[Desire Android Development] suiller:
Perfect thank you for testing... so we discovered that the issue was a combination of updater-binary + existing ext partition

updater-binary now is updated, the strange thing is that Sandvold's one is the "older" but perhaps Aroma interacts differently...

EDIT: updated changelog (1st post)
[Desire Android Development] JoaoVr:
Can I install this in a Data++ hboot?
[Desire Android Development] suiller:
yep but the trick of this slim rom is that it will fit everything into /system (except launcher & keyboard) so it's possible to run this rom without need an ext partition

with data++ it works anyway but you'll wast some precious Mb, anyway you can use it also with stock table... it doesn't matter ;)
[Desire Android Development] suiller:
just for information... who get bsod should report here specifing in which case (charging, during night, flight mode, etc...) which setup (recovery, kernel, over-under clock, keyboard in use, launcher in use, ext partition or any other relevant stuff)

thank you

anyway I never experienced that :rolleyes:
[Desire Android Development] trinity1:
just a reminder: update the script INTO the mini-android-sdk... guess it's still the older
[Desire Android Development] suiller:
what script?

updater-binary is into rom
[Desire Android Development] JoaoVr:
Can I put it in a a slimmer hboot? Cm7r2 maybe?
[Desire Android Development] malso:
From first post:

:)
[Desire Android Development] neXus PRIME:
I made a custom hboot of 200 mb system....coz data++ sumtimes just not enough by 1 or 2 mb when I switch from 1 ics rom to another.... now I always choose stock options in all roms and never change hboots....
[Desire Android Development] suiller:
made important changes about process priority management, lowered also free ram limit, I need some feedback. Thank you :cool:

as always flash over ;)
[Desire Android Development] trinity1:
I was talking about 98desire script into extra folder of mini-android-sdk: you forgot to update to latest version, but now it seems ok

not sure whether I miss anything but: why music cannot see ANY music file (mp3 or whatever)? tried to download other two players, none of them see any of my mp3 (and I have 2 folders: "Musica" and "media/audio/..." - where I have my alarms, ringtones, notifications)??
[Desire Android Development] suiller:
hmm... I have MP3 folder under root of /sdcard

strange but I think you can give to the folder the name you prefer, I'll try to change & I'll report

EDIT:

I dunno way, but it works with: MP3 and Music, while it doesn't see Musica... perhaps ics doesn't like italian :)
[Desire Android Development] vlaya:
Hi guys, last night I installed beta_0.7 and I'm pretty satisfied with smoothness :)

Before this, I had MildWild CM-4.6 Based on CyanogenMod7.2. I wiped cache, did factory reset but didn't format sd-ext (ext3), everything went fine.

Now, I need help, I tried to install a2sd just like the first post said, via adb shell or directly on the phone in terminal and this is what I get:

Just to add, I have only 14 apps installed, no games. I moved all that I could to sdcard, and now it says 'insufficient storage available' when I try to install something new. Also, strange thing happens when I manage apps, first I see something like 20 MB free and then it starts increasing the numbers and goes to 48 MB! Titanium backup shows 19.6 MB free internal memory, system ROM 112 MB free, SD card 2.21 GB free, a2sd 444 MB free.
[Desire Android Development] Il_Tera:
Hi, I've this problem too, but 've resolved by installing armalluz a2sd script (search for 40ad2sdx-a2Recovery.zip in google ;) )

I've notice another problem, i can't install application using QR code, there is something i must patch in order to have it?

thanks
[Desire Android Development] vlaya:
Ok, I downloaded 40ad2sdx-a2Recovery.zip and installed it from recovery. After that the phone comes to flashing 'android' letters but never finishes loading the OS. Seems that I have to do something more? I tried wiping dalvik and after that rebooted again, after few minutes there was a message 'Upgrading Android', and countdown of nomber of applications, but after that it got stuck again :(

What is the correct procedure for 40ad2sdx-a2Recovery.zip installation?
[Desire Android Development] vlaya:
Come on, guys, help me out. I can't even go back to MildWild CM-4.6, restore from recovery finished, but it looks like sd-ext is not visible anymore. I tried to format it, but it didn't help. How do I uninstall armalluz a2sd script?

edit: I wiped and formated sd-ext in recovery and flashed again slim ICS, now it works. But I still can't get a2sd to work.

edit2: I gave one more chance to Amarullz data2sd, this time I read a little :) and did it manually, like explained here http://xdaforums.com/showthread.php?t=1310309 now I have 316 MB free :) and the phone seems equally fast.
[Desire Android Development] suiller:
well done ;)

anyway you shouldn't mix data 2 sd scripts, have you moved also dalvik to sd?

EDIT: now I understand you used the amarullz mod (it doesn't touch dalvik), good choice is one of my favorite sd script ;)

perhaps I'll include as default choice instead of regular a2sd (a bit tricky)
[Desire Android Development] gie62001:
Dont know for others but would be good if you included this script in your next version or make alternative rom so people would be able yo chose what they want. Ill try to install it myself manually as really struggling with low memory (damn you big apps ;-)) thanks anyway, great rom running your latest version and everything works great. Thank you again
[Desire Android Development] Mr.Mefisto:
Desire index!

You will find this Rom from now on DESIRE INDEX! Keep up the good work !
[Desire Android Development] suiller:
dear friends, in your opinion which is best option/script to manage data 2 sd?

I tried regular a2sd and it works without issue, but as you can image my setup is very simple due to frequent re-formats

right now I don't need any ext partition, and I have more than 120 app installed, but I'd like to implement as default something working without big issues for people really exigent :rolleyes:

anyway as you can understand every data 2 sd script works differently, so it's not so rare get issues after having mixed previous generated ext mounts (not all scripts symlinks or move same things or in the same way)

thank you for support :cool:
[Desire Android Development] malso:
Hello suiller,

first of all, thanks for your modded slim version of this rom.

Yesterday, I finally flashed your rom and I'm really happy with

my decision! Everything is so far working like a charm!

(Although, every reboot my heart skips a beat, wondering if he is

stuck at bootscreen, because it takes him some time.)

I don't have that much experience with different a2sd+ scripts,

but I was using a half year :

http://xdaforums.com/showthread.php?t=719151

"Darktremor Apps2SD 2.7.5.3 Beta 04"

with MIUI and was quiet pleased with it.

I personally think that a2sd+ is sufficient enough, considering the huge space thanks

to cm7r2 partition layout.

Edit:

Oh, and I hope this is not a dumb question, but is it normal, that the

notification led is only working for missed SMS and not for missed

calls or did I miss out on something?
[Desire Android Development] gie62001:
thank you for your post, as apparently i've got the same problem a2sd install give me the same error of it not being there, thats why i run out of space so quickly. so maybe you could briefly guide me how to get Amarullz script working? do i have to remove normal a2sd script from the rom before installing or i could just flash it on top of the rom - as i see it didnt really work for you?

thank you
[Desire Android Development] fragargon:
hi suiller,

to my experience, the best A2SD script was met on gingervillain rom but it s running GB... so far on ics no one met my expectation... so in my opinion used the simplest one a2sd and had following value into build prop

set pm setInstallLocation X

x is: the target location:

0 [auto]: Let the phone decide the best location for an app

1 [internal]: It installs everything in the internal storage

2 [external]: It installs everything in the memory card

(I would disabled this and running all in nand and follow my needs move to sdcard some of them)

m2c
[Desire Android Development] malso:
Oh, I didn't know that GB a2sd scripts perform differently

or are not applicable under ICS.
[Desire Android Development] suiller:
stock a2sd (aka known as 10app2sd) is the one currently included as default on "mather rom" (Sandvold's one)

regular a2sd (aka known as 4xxxx) is the one currently included on this slim

the rest is composed by: amarullz, amarullz mod, oxygen2, etc...

for what I know the only one that was revisited to work under ics is the 1st one, even if I tried 1 & 2 and both work

I'm making some more tests on stock a2sd, also because seems the most used
[Desire Android Development] vlaya:
I followed simple steps, as explained here: http://xdaforums.com/showthread.php?t=1310309

First you download 40ad2sdx-a2.zip, and after:

- Delete Any A2SD Script in /system/etc/init.d ( common name was 40a2sd )
- Copy 40ad2sdx into /system/etc/init.d Don't forget to chmod 755/777 it
- Reboot ( 2x optional )

Basically, you type in adb shell in recovery:

C:\>adb shell
# mount /system
# exit

C:\>adb push 40ad2sdx /system/etc/init.d/

C:\>adb shell
# cd /system/etc/init.d
# rm 40a2sd
# chmod 755 40ad2sdx
# cd /
# umount /system
# exit

C:\>

I used regular a2sd earlier, and I think this works better and faster. But I may be imagining things ;)
[Desire Android Development] bxlogic:
i think the best is darktermor that tested works with ics :)
[Desire Android Development] suiller:
yep I've always used the "regular" one and never encountered issues... almost never

anyway it's approach is the most clean, technically speaking, so I suppose I'll include it on next releases :rolleyes:

I made a script myself but the substance is the same as above:

1. sd-ext is mounted

2. /data folder content is totally moved under /sd-ext

3. /sd-ext is blind mounted as /data so the system see true free space

4. under empty /data smaller folders (all except dalvik, app, data) are created & blind mounted under /sd-ext itself (matching corresponding folder of course)
[Desire Android Development] gie62001:
hi,

did everything you said and now Amarullz script is working. had 25mg free internal now i've got around 600 mb free. thank you. will see how it performs compared to normal a2sd script :)
[Desire Android Development] vlaya:
Excellent!

Question for suiller, when you include the script in the next release, will we (with amarullz script) be able to use it or will we have to move to that new one? And if we have to change it, how do we do it? I hope we don't have to wipe.
[Desire Android Development] suiller:
if we maintain that you don't have to change anything... anyway many of you are reporting positive experience with amarullz script
[Desire Android Development] vlaya:
That would be great :D
[Desire Android Development] suiller:
OK made some spring cleanings: removed 06mountdl (it doesn't work & we don't need it anymore) + removed 10app2sd (replaced by latest amarullz data2sd aka known as 40ad2sdx script)

40ad2sdx script works very well (clever as its developer :D ) and the OS sees effectively the entire ext4 as /data repository

From today amarullz script is included into rom

, its installation is very simple...

If you start from scratch:

1. prepare an ext4 partition from recovery (skip partition-2 & swap, don't forget also to format fresh ext4 from recovery itself)

2. flash slim rom (any previous slim installation doesn't need wipe, just flash over)

3. reboot & wait for complete boot, then reboot again

If you start from an existing ext4 partition populated with a different a2sd script you should wipe it & re-start from scratch, or try yourself what happens and report here which previous script you used and eventually issues encountered

Instead for any further upgrade you don't have to do anything, just flash over & the script will found again its installation without issues (just tried this morning)

ps: of course thank you to Amarullz & its script (http://xdaforums.com/showthread.php?t=1310309)
[Desire Android Development] tchalee:
Hello and thanks for your work with this rom.

I have a question, i install your new version with amarullz data2sd and when i launch Titanium Backup i have 2GB for internal (my ext partition) and the last line i have Card SD(a2sd) with 154MB (66,4MB free).

Is this normal ?

When i istall new apps the space in a2sd decrease very fast...

Stock Hboot

Thanks.
[Desire Android Development] marcocsh:
Hey Suiller,

I have flashed your latest version and used it for 4 hours. I would said it is very stable. Not even 1 reboot during I use YouTube, Google map, Google play, etc (as I usually have when using the fat one).

Thanks for your work and looking forward to see updates!
[Desire Android Development] suiller:
1st remember that titanium isn't working on a clean partition but on a partition with some symlinks that are pointing to another partition, so any a2sd script is a trick to expand the nand (internal memory)

2nd in free space calculation keep in mind that will miss the rest of original /data partition... in reality on "new" /data partition (mounted into sd-ext) relays /data/app, /data/app-private, /data/dalvik-cache, etc... the rest are smaller folders linked back to original /data partition (now mounted for ex as data2)

look mine for ex:

Filesystem Size Used Free Blksize
/dev 202M 32K 202M 4096
/mnt/asec 202M 0K 202M 4096
/mnt/obb 202M 0K 202M 4096
/system 145M 141M 3M 4096
/sd-ext 287M 113M 173M 4096
/cache 5M 836K 4M 4096
/data 1007M 283M 724M 4096
/mnt/sdcard 28G 9G 18G 16384

in reality /data is under sd-ext (ext4 partition)

while /sd-ext is still under nand (old /data partition)

in fact:

anr -> /sd-ext/anr
app
app-private
app_s
backup -> /sd-ext/backup
dalvik-cache -> /sd-ext/d

data
data_s -> /sd-ext/data_s
dontpanic -> /sd-ext/dont

drm -> /sd-ext/drm
framework_s
lib_s
local -> /sd-ext/local
lost+found
misc -> /sd-ext/misc
property -> /sd-ext/prope

resource-cache -> /sd-ext

system -> /sd-ext/system
tombstones -> /dev/null
user -> /sd-ext/user

some folders are linked back to sd-ext that in reality is the old /data
[Desire Android Development] malso:
Do you have your old slim version 0.7 still somewhere

online?

I can't get the new version up running.

I did start from scratch, created a new ext partition, format ext,

everything. Downloaded and flashed the ROM again, etc.

Always keeps hanging on the ICS boot screen :(
[Desire Android Development] tchalee:
Ok thanks for explanation, i dont have understand all but its ok. :o
[Desire Android Development] suiller:
just open the zip (use for ex 7z: www.7-zip.org) and remove 40xxxx script under /system/etc/init.d

close the zip & flash it ;)

ps: partition should be ext4 (& aligned), I hope you used 4ext (also with touch ver works correctly)

ps2: report here please if without 40xxx script will work. thx
[Desire Android Development] malso:
Thanks for your quick reply!

I just flashed your stripped down oxygen version so I can use my desire

tomorrow, as I need to go to bed.

But first thing I will do tomorrow evening when I'm back home is to remoce the script and rezip it. I will give you a feedback!

And yes, I used ext4 partition and I used the latest 4ext touch version to do so.
[Desire Android Development] suiller:
the same configuration as me :)

just my 2 cents... next time before flash anything else spend 5 more minutes in your recovery to make a sane backup ;)

ps: good choice for the slim oxygen, you'll notice how it is really slim (it needs just 100Mb)

EDIT: just tried from scratch me too, and all worked at 1st attempt... :o

clean as a baby :D

Filesystem Size Used Free Blksize
/dev 202M 32K 202M 4096
/mnt/asec 202M 0K 202M 4096
/mnt/obb 202M 0K 202M 4096
/system 145M 141M 3M 4096
/sd-ext 287M 55M 232M 4096
/cache 5M 840K 4M 4096
/data 1007M 46M 961M 4096
/mnt/sdcard 28G 10G 17G 16384
/mnt/secure/asec 28G 10G 17G 16384
[Desire Android Development] malso:
You are of course right with creating a backup. But I had a nearly untouched fresh version

and I thought "ah, what are the odds" :)

I've got a question. Do you have an a2sd script in your oxygen ROM? Because I seem

to have a working sd-ext partition under it (ls -l /data does imply so) :/

If you haven't include an a2sd script inside oxygen, I don't understand how my old a2sd

script (from darktremor, I think) could survive the formatting and new partitioning? :/

Maybe I should format and partition the sd new under gparted.
[Desire Android Development] suiller:
yep, it should be included oxygen script and if I remember well only data/app + private are moved into sd-ext (dalvik will stay in nand)
[Desire Android Development] malso:
Yaay!

It's working :) thank you for your help!

I deleted the script and everything works fine.

Strange.
[Desire Android Development] suiller:
there is something wrong with your ext4 partition or previous used a2sd script...

just a couple of questions:

1. which previuos a2sd script you adopted?

2. have you checked partition align (from recovery) ?

perhaps is better that I wont include the script anymore & just give instruction for who intend to use the extended partition
[Desire Android Development] suiller:
published 0.8, even if it was ready also yesterday but today I was out for work... yep sometimes I work too

] :D

changes are coordinated with Sandvold rom direction, so doesn't expect nothing more but soooo much less :cool:

amarullz a2sd script is included if you haven't created before your sd-ext structure with this script open the rom .zip file & remove under /system/etc/init.d the script 40xxxx, then close & flash (to open the rom .zip file you can use 7z: www.7-zip.org)
[Desire Android Development] malso:
Or maybe I'm doing something wrong, but I have no idea where the error is.

To answer your questions:

1. Before I used apps2sd script by darktremor.

http://xdaforums.com/showthread.php?t=719151

2. I did check, yes. It says everything is perfectly aligned.

I tried to install the amarullz script manually afterwads, but again, my desire

stuck at ICS bootscreen.

In my second attempt (after fresh flash (*rhyme*)), wipe, format and everything,

I tried to flash the a2sd script from darktremor. It did start, but the ROM is a

bit laggy and a2sd seems not to be working (no symlinks visible with ls -l /data and

no a2sd information in quick system info).

I have really no idea what I'm doing wrong. Everytime I

wipe data, cache, dalvic

format sd-ext

partition sd-card (1st 1024mb, 2nd & swap skipped)

(sometimes formated sd-ext again, but makes no difference)

and then flash the ROM.

When I installed the amarullz script manually, I did exact as stated in the

how-to.

I would really like to have an workin a2sd setup, but... no idea where the

error is. :(
[Desire Android Development] vlaya:
So, if I have amarullz script I can just update, don't have to wipe, format...?
[Desire Android Development] suiller:
yep
[Desire Android Development] vlaya:
Did it and the apps are all here ;)

Thanks!
[Desire Android Development] marcocsh:
Hi Suiller,

Full wipe and flashed 0.8 slim.

I frequently lost my 3G connection while using google play. Didn't have this issue with 0.7 slim (I installed 10+ apps in one time in 0.7 slim!)

What is the problem?
[Desire Android Development] suiller:
the problem is in the sleep ril power collapse instruction that doesn't work correctly... try to disable power collapse & you'll see it doesn't change (I have to ask to Sandvold what changed):

root@android:/ # getprop|grep colla
getprop|grep colla
[ro.ril.disable.power.collapse]: [0]
root@android:/ # setprop ro.ril.disable.power.collapse 1
setprop ro.ril.disable.power.collapse 1
root@android:/ # getprop|grep colla
getprop|grep colla
[ro.ril.disable.power.collapse]: [0]
root@android:/ #

anyway you could try to mod ril sleep mode and see what changes:

root@android:/ # setprop pm.sleep_mode 2

The mode used when the phone is in standby

Values

0 - Power Collapse Suspend

1 - Power Collapse - __Provides best power savings__

2 - Apps Sleep

3 - Slow Clock and Wait for Interrupt (default)

4 - Wait for Interrupt

source: http://www.androidonhtc.com/wiki/Boot_Options
[Desire Android Development] suiller:
don't worry there is always a solution... we have just to en-light it :cool:

could you provide logcat? from mini-sdk: adb logcat > log.txt (after some seconds press ctrl+c), zip log.txt & post here ;)

I suppose something is preserved under sd-ext (fat partition) too... if you confirm that you wiped everything... (I mean EVERYTHING: /system /data /cahce + dalvik + ext4) anyway I'll try to flash from scratch & re-doing your path, let's see what happens :cool:
[Desire Android Development] suiller:
I think you just missed in your list /system... am I wrong? if not you should format also system partition because script relays there

you should try by wiping everything, there is a proper choice under 4ext touch recovery (the last one choice, it says: wipe everything except fat32 sd partition)

EDIT: wiped everything & installed darktremor a2sd, now I'll wipe again & restart from scratch with included 40xxx script

EDIT2: just tried and sorry but it's not possible to have a complete installation of darktremor a2sd into this rom... how was you able to do it? it has not enough space under /system to complete installation... it gives just 40k free in fact a couple of files are missing... I think you missed to format /system partition :rolleyes: