yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] jolinnard:
Tried. The first search for available networks fails, but then it works! I can see my company and select it. Full radio logcat is attatched to this post. An extract of relevant lines "responseStrings: strings recieved" are:

E/RILC ( 145): responseStrings: strings recieved 16, strings wrote 13
E/RILC ( 145): responseStrings: strings recieved 16, strings wrote 13
E/RILC ( 145): responseStrings: strings recieved 4, strings wrote 4
E/RILC ( 145): responseStrings: strings recieved 4, strings wrote 4
E/RILC ( 145): responseStrings: strings recieved 4, strings wrote 4
E/RILC ( 145): responseStrings: strings recieved 4, strings wrote 4

BTW I need to test it later (it's 11:45am here in Spain and I'll go back home at the afternoon by train).

Thank you!!
[Nexus One Android Development] jolinnard:
I've been testing the data connection with the testing libril, but it became disconnected some kilometers after my station. I've been trying to reconnect to my company network, plane mode, radio off, etc. Finally, when I was at home, turn radio on, input the pin, and it works again.

I download the radio log. Hope it helps to fix it...
[Nexus One Android Development] hlavicka:
installing nighties

guys simple question from newbie (maybe you can point me out to some other article)

i am installing nightly builds as they come out, but every time, i must reconfigure whole system and download all apps again (i am doing fastboot -w, erase system/boot on install batch)

is there any simple way how to upgrade the phone and don't loose whole phone setup?

iam using a2sd with xdata option because when i used install flag only, market kept saying i don't have any free space for after download (say someone here in thread had same problem)

thanks for any advices

btw, great job texasice and thank you for your effort, keep 'em commin :good:
[Nexus One Android Development] ctfrommn:
You only need to wipe dalvik and cache for each nightly.
[Nexus One Android Development] texasice:
try this one. http://d-h.st/TXL

i removed the workaround for the 5 strings since it seems we are getting the proper number. and changed the log message to just show strings recieved since we are no longer modifying the length.
[Nexus One Android Development] jolinnard:
Ok, now I can see more than 1 mobile network provider (movistar, orange, vodafone, etc), with first version I only could see my provider. Can't test properly data connectivity...
[Nexus One Android Development] hlavicka:
when i installed new build and than cleared dalvik cachce over a2sd clearecache, i see applications icons, but cannot start them
[Nexus One Android Development] ctfrommn:
A2DP now works wonderfully:)
[Nexus One Android Development] Smartphonz:
A2SD

I am a new to installing this amazing ROM. It's working very well but I can't seem to get the A2SD working. I searched through this thread and others for answers but I couldn't find anything specific on whether or not I need to add a separate script or if it has one built in. I tried the su - A2sd install, etc. and that didn't work for me. Can someone tell me where I can read up on how to figure this out so I can get this working? Thanks
[Nexus One Android Development] texasice:
from ics but its still the same.

http://xdaforums.com/showpost.php?p=21222591&postcount=1374
[Nexus One Android Development] szihs:
The camera (photo) and preview is perfect now. (using Camera Zoom FX ).

Edit: on Nightly 8/30
[Nexus One Android Development] Smartphonz:
A2SD

I appreciate the link and thanks for this awesome ROM. Can you recommend something a little easier to understand? I am really lost! I have been diving into this head first and I'm willing to put in the time to learn more about it but at this point I am still in the remedial stages of navigating through CMD and ADB. I currently have a class 4 card, when I do manage to get the a2sd working will this take away from the phone's overall performance because I don't have a higher class card? Thanks
[Nexus One Android Development] sergio_7rc:
I also do not run the commands and functions to reformat the SD probe in Ubuntu with "GParted"

Then run:

his

a2sd install

and

n

and

And I worked.
[Nexus One Android Development] Smartphonz:
Thanks for the information Sergio. I tried the following previously and it didn't work out:

You must activate a2sd with terminal emulator.

su

a2sd install

Y

N

Y

I assume that you suggest that I run the following in the CMD prompt on the phone right?

his

a2sd install

and

n

and
[Nexus One Android Development] sergio_7rc:
Sorry, I have not seen the error (the translator). Run the following:

su

a2sd install

Y

N

Y

You have to run in the Terminal Emulator, on device. (If you do not have it you can download it in Google Play).
[Nexus One Android Development] Smartphonz:
I tried it and it didn't work. I am going to try a fresh start with another similar 8g class 4 sd card. I am going to partition the sd card; then transfer all of the copied contents and then try to see if the following in the hopes that it will work. Is there any unforeseen downside to trying this or is it as simple as I am thinking?

su

a2sd install

Y

N

Y
[Nexus One Android Development] sergio_7rc:
I formated the whole SD. In LINUX with "GParted" I created a second partition in EXT4 (there are tutorials on the internet). Then I ran the above commands on "Terminal Emulator".

If it does not use LINK2SD from GOOGLE PLAY...
[Nexus One Android Development] sbaeder:
Just a quick note...For me, the nightly (0902) has all sorts of weird behavior on he camera preview. Picture is sort of OK, but display is really funky! The P4 release works fine.

Thanks for all the ever evolving work!
[Nexus One Android Development] Smartphonz:
I picked up a new sd card, reader and tried to enable the a2sd. I used Mini Tool Partition Wizard to set up the ext4 partition. I then transferred the data over from the other card. That end seemed to work well. I then went into the phone's terminal and starting the following: su, a2sd install. It stated that the "/sd-ext not mounted properly, it might have errors found block and some other non-sense. Do I have to go into recovery and mount the sd-ext before I run the su, a2sd stuff in terminal? Anyone have any idea what else I might be missing here besides the obvious that I need more knowledge about these issues?
[Nexus One Android Development] sergio_7rc:
Watch this mounted "/ sd-ext" in recovery. If it does not work try again, we will clean the FLAGS.
[Nexus One Android Development] Smartphonz:
So I tried it again with a brand new 16G class 10 sd card. Partitioned the card with ext4 and now I have about 120mb of extra space in internal memory. Thanks a lot for your help folks! That should more than hold me over until the new Nexus launches.
[Nexus One Android Development] sergio_7rc:
I forgot to tell you, but the partition(ext4) must not have more than 1.5 GB. I have 1 GB ext4 partition. Maybe that caused the problem.
[Nexus One Android Development] Smartphonz:
I don't know what caused it but I am happier than a pig in sh__ right about now.
[Nexus One Android Development] sergio_7rc:
running on the mobile terminal

- su

- a2sd diskspace

and see how much space you have on the sd-ext. I think it is already installed.
[Nexus One Android Development] Smartphonz:
It says 12.5G for size

131.8M used

11.7G available

1% / sd-ext

If I flash a newer version of this ROM this a2sd stuff will stay put right? I won't have to do the whole su, a2sd thing after every new version of this ROM that I flash onto my phone.
[Nexus One Android Development] sergio_7rc:
sd-ext is big... its odd. and you can flash a new version of this rom without problems -)
[Nexus One Android Development] Smartphonz:
I couldn't explain why it is the way it is but I have a lot more room to install apps than I did yesterday and I'm real happy about it. Thanks for all your help and information. Much appreciated!
[Nexus One Android Development] sergio_7rc:
you're welcome
[Nexus One Android Development] tchodz:
out of memory

Is there a way to install Applications directly on sd card?
[Nexus One Android Development] sergio_7rc:
No. In cm roms there is a option in the system setting, but here there isnt it. Only developers can setting app to install in sd.
[Nexus One Android Development] szihs:
Yes.

adb shell pm set-install-location 2
[Nexus One Android Development] texasice:
as long as you dont format the /sd-ext partition (some recoveries do this on factory reset) you will never have to set it up again.
[Nexus One Android Development] sergio_7rc:
I don't know it, sorry
[Nexus One Android Development] Smartphonz:
A2SD

My internal memory has increased (which I am ecstatic about) but when I go into settings, then into individual apps that I have downloaded, It does not give me the option to move them to the sd card. I assume that I need to run what you suggested, "adb shell pm set-install-location 2" and that should take care of moving the apps over to the sd card.

I don't normally use more than about a few apps on my phone. What I am trying to say is that I can live happily with keeping the apps in internal memory. I really like the way that my phone is running currently and I don't want to make the change if it is going to cause any type of performance degradation.

Do you get any lag or performance issues from having apps stored on the sd card as opposed to keeping them in internal memory?

Also, Is there a current guide for adb commands that folks here use for reference? I have been bookmarking stuff that I have found but they seem basic and for the most part incomplete. Thanks for the help
[Nexus One Android Development] Smartphonz:
I am using the current version of Clockwork recovery that you have on your main page. Do you happen to know whether or not doing a factory reset will cause it to format the sd-ext partition? Thanks
[Nexus One Android Development] scotte9999:
Yeah, the in-build camera behavior is pretty strange with 0903.

CameraZoom FX seems to work fine.

ProCapture doesn't work right, and generates a stream of debug messages related to the camera (in lolcat).

Camera FV-5 takes good pictures, but the preview breaks after the first picture (this was present in ICS too, so may be just a bug in that program)
[Nexus One Android Development] boneP:
yes clockwork recovery(at least mine did this morning, latest version) formats /sd-ext, however if you do a backup in clockwork recovery your sd-ext will be included, and you can later restore just that part with the advanced restore function
[Nexus One Android Development] Smartphonz:
Thanks for the information. I will give that a shot. Happy Labor Day all!
[Nexus One Android Development] ctfrommn:
So, now that we have software vsync....works amazingly btw! What is the status on hardware? Is there something somewhere I can turn off/on to "force" enable it or at least not force disable it? I also changed the windowsmgr max events to 60 which should coincide with the refresh rate of the screen, although I cant find any actual data confirming the refresh rate. This did seem to move the "buttery" experience one more step forward however so I will stay with it. What exactly is the "Allow 3+ undequeued buffers" in your open commits? Thanks again for the awesome rom Drew!
[Nexus One Android Development] texasice:
theres only a few phones that currenly support hw_vsync (kernel thing). its hardcoded as disabled so no props or anything that will enable it. the video driver needs to be updated, and im not even sure what needs to change. the current video (mdp) driver is from '08 i believe with a couple hacked updates thrown in. caf only added hw vsync support a few months ago so we're really far behind and the update is not going to be easy. also fps is hardcoded to 60 in the kernel (not entirely sure this is correct (one of the hacks)). we also need to enable triple buffering (which is possible) but is one of the things i couldnt figure out for ics so hopefully with 8 more months of experience now i can figure it out.
[Nexus One Android Development] ctfrommn:
You certainly appear a quick study....I hope I never get into developing...with my addictive personality....whew! who knows how many hrs a day I would be up...hahaha.

Is the triple buffering part of the referenced commit? Sorry, this is just very interesting to me.

Thanks
[Nexus One Android Development] texasice:
that commit requires triple buffering (i think) currenly it breaks some things since we only have 2 buffers. but seems fine on newer devices with the 3rd buffer.
[Nexus One Android Development] lolobabes:
its usually fixed with sdext format, in my experience that is.
[Nexus One Android Development] paulo_cv:
I have been tracking this thread because I have the same issue as you reported, did any of the files that texas provided help you with the 3g connection?

Thanks!
[Nexus One Android Development] puttytatko:
opera mini does not render any web pages after fully loading.. but renders it after rotating the screen 90 degrees.. for each tab this has to be repeated :(
[Nexus One Android Development] texasice:
try adding

hwui.disable_vsync=true

to /system/build.prop and see if it still happens
[Nexus One Android Development] Iperzampem0:
@texasice: New stable release is coming? I'm asking because I wanna try JB, but right now I'm stable with GB and Sense without bug.
[Nexus One Android Development] klaydze:
+1

When do you bump the version of this nice rom? It's been a while since the last update.

Sent from my Nexus One
[Nexus One Android Development] ctfrommn:
This is updated nightly.
[Nexus One Android Development] sergio_7rc:
To add "hwui.disable_vsync = true" in / system / build.prop I have to do before installing the rom (in the zip) or after? And someone has already tried it?
[Nexus One Android Development] paolo-red1:
Also after with a root permission app. Then reboot. I can't try
[Nexus One Android Development] onerider:
I was running out lf memory so i decided to move data and dalvik cache to sd-ext, fully expecting some performance issues as a trade-off. But hell no, it just got smoother than ever before (16gb class 6 card on sep 6 nightly).

Just wanna say a big thank's to all developers keeping this wonderful phone still in the game!
[Nexus One Android Development] ctfrommn:
I have also found that to be true....I think fast modern SD cards and ext4 are actually better performing than the 3 yr old nand. I use xdata when using the built in and uncheck all and rmount when using m2sd.
[Nexus One Android Development] jolinnard:
No Paulo, I've the same weird 3G connection. This week I was on vacation, so I decide to come back to an old CM7 ROM. No 3G issues and works smoothely.

@texasice I could back to JB if you have another idea or something that you want to test myself.
[Nexus One Android Development] texasice:
after you install.

adb remount

adb shell "echo 'hwui.disable_vsync=true' >> /system/build.prop"

adb reboot
[Nexus One Android Development] scotte9999:
Thanks, that seems to have solved the issue.
[Nexus One Android Development] sergio_7rc:
In the first reboot froze. Now everything is ok. Leaving to the Home menu the rom runs smoother. For the rest, all the same. Congratulations for this great work.

Another thing, with A2SD I shows total EXT4. I have 1 GB on the sd-ext and in total shows me about 300 mb. Why?

---------- Post added at 06:11 PM ---------- Previous post was at 05:17 PM ----------

The phone freezes. As I can undo "hwui.disable_vsync = true"?
[Nexus One Android Development] onerider:
What is the difference between xdata and ad2sd? Both seem to move data to sd-ext? I'm sure I'm missing something here.
[Nexus One Android Development] texasice:
if your interested i can make a special bootimg that plays with the mountpoints. basically what im thinking is mounting /data directly to the sdcard then mounting /cache to the internal /data partition.

so it will be something like this:

/data > 3rd partition of sdcard (so you would have to add a 3rd partition ( using the 2nd would interfere with a2sd scripts)

/cache > userdata on nand

then we can put the dalvik cache on /cache (which will now have plenty of space)

interested?
[Nexus One Android Development] ironjon:
I can test

Could be a good idea :D

Tapatalking
[Nexus One Android Development] ctfrommn:
I can't fit Dalvik on my data partition, which is why I use xdata....I'm not sure how that would work, but I'm a very willing tester.
[Nexus One Android Development] twistedsixty4:
I'm willing to test it..
[Nexus One Android Development] texasice:
Instead of apps2sd lets just mount /data directly to the sdcard.

all this does is change one line in init.rc

mount yaffs2 mtd@userdata /data nosuid nodev

is now

mount ext4 /dev/block/mmcblk0p2 /data wait noatime nosuid nodev barrier=1 noauto_da_alloc

so all we are doing is mounting /data directly to the 2nd partition of the sdcard (the /sd-ext partition)

i did not need to format /sd-ext but i only had apps (no dalvik or app data) and it worked fine you might do a quick 'rm -rf /sd-ext/dalvik-cache /sd-ext/data' from adb to clear those if you think it will cause problems

important note: the a2sd script will mount /sd-ext ontop of /data if you do not remove it (or wait till the 9/10 nightly ive addressed the issue)

so prep before install:

adb remount
adb shell
rm /system/etc/init.d/05mountext
#optional
rm -rf /sd-ext/dalvik-cache/* /sd-ext/data/*

# exit from adb
exit

then reboot

adb reboot bootloader

flash this via fastboot

fastboot flash boot boot-dataonsd-passion.img
fastboot reboot

note wifi is builtin to kernel so there is no module to push or flash

DOWNLOAD: http://d-h.st/mmE

(for bravo): http://d-h.st/37c
[Nexus One Android Development] twistedsixty4:
Bless you Texas! I'll grab this off the nightlies tomorrow.
[Nexus One Android Development] earth08:
Just curious to know,

what willbe the changes to the new release/ nightly build

as there were a small problem, by which i left to gb2.3.6

whenever i had sod porb/ or if i remove battery, than after booting phone after waiting for apps (apps2sd) to load.

I loose phone lock option, means when i put screen of by pressing power button and after starting it, my phone directly unlock without asking me to slide.

how to address this issue.

Thanks in adv.
[Nexus One Android Development] ironjon:
My sdcard partitions are: Fat32 + 1Gb Ext4 + 512 Ext4

And this is the result: the size of /data now is 1Gb ;)
[Nexus One Android Development] warenix:
Is there any performance improvement?
[Nexus One Android Development] ironjon:
Well I installed about 1 hour ago

I'm testing right now

Tapatalking
[Nexus One Android Development] ctfrommn:
I definitely didnt care for that option....going back to m2sd. That was way too slow and I kept getting out of storage messages. Sorry Drew, but m2sd is just a superior A2SD at this point. Thanks for exploring the option though!
[Nexus One Android Development] ironjon:
With my stock sdcard class 4 I didn't notice slow the rom

Perhaps your sdcard is class 10??

Tapatalking
[Nexus One Android Development] ctfrommn:
It is....and class 10 is way faster. I have a ton of apps and data...I use nearly 1.5gb of ext storage. It was very slow compared to m2sd's solution.
[Nexus One Android Development] ironjon:
In my opinion class 10 sdcard is not the best for N1 or Desire

I notice faster with my stock sdcard than my kingston class 10 ;)

Tapatalking
[Nexus One Android Development] ctfrommn:
Well, Ive measured both and frankly its not even close....but to each their own.
[Nexus One Android Development] mrhohoha:
Another solution which I have found works INCREDIBLY well for me is to utilize this scheme (R-mount)

/data - mounted to sdcard

/data/data - mounted to internal memory

/data/dalvik-cache - mounted to internal memory

EDIT: My bad guys, I ONLY move /data/data to internal and leave dalvik on external. That STILL leaves me with a superfast ROM and no app crashes whatsoever

Essentially this is the R-mount scheme used in m2sd. The biggest advantages are:

1. Internal memory shows up as 1GB (or whatever your ext partition size is) - getting rid of all the annoying low memory issues

2. No need to shift apps to memorycard, plenty of space on the /data partition mounted to sdcard

3. The NAND holds the dalvikcache and /data/data, which keeps things SUPER smooth.

With a class 6 sdcard, I've been getting speeds at par with when I was using the stock Gingerbread ROM with no a2sd. VERY satisfied. So far, this scheme has only been available on m2sd.

@texasice, thoughts?

This is the best a2sd implementation I've used, and I've tried ALL of the ones out there. If you haven't already, flash m2sd to one of your builds and enable R-mount, and select move /data/data only. I've been using this for the past six months now and it's flawless for me.
[Nexus One Android Development] ctfrommn:
I have way too much app/system data for my internal....have for a very long time. I uncheck all and reverse mount. It is super smooth. Now, this is with a very fast SD card mind you, but it is at least as fast as using the system nand....in practice anyway.
[Nexus One Android Development] nachopre:
Hi guys! Can you explain quickly how to enable m2sd and where we can find it?

Question. Apart from move /data to SD Card, the /data/dalvik-cache grows a lot with apps installed. It is enough to move only the /data, or also /data/dalvik-cache to get rid of low memory issues?

Thanks.
[Nexus One Android Development] ctfrommn:
Here you go....http://xdaforums.com/showthread.php?t=1342387

Depends how many apps you have....mine wont fit on less than like 180mb or so and I have 200+ apps installed....so if you have less than that it may fit.
[Nexus One Android Development] ascendedguard:
Just one correction here. You should enable R-mount and select to move both /data/data and dalvik-cache. Following these instructions I simply enabled /data/data (which ends up with dalvik on sd-ext) which caused Google apps to fail to install or appear. Moving it to nand (m2sd dalvik enable) corrected this, and seems to be working great.

I've got to say, seeing free space as 2.5GB in the app manager is a great sight. No low memory problems. Props for suggesting this, running the 9/10 nightly and everything is running great.
[Nexus One Android Development] BloodBaron:
Weird i just did the r-mount and did not have issues with bexton's Gapps installer, or any yet other than the outstanding ones, dalvik is at /cache/dalvik-cache
[Nexus One Android Development] ascendedguard:
Interesting, I simply used the GApps package provided in the original post, I didn't try bexton's. I first noticed most of the Google apps were missing when I booted, and installing from the Google Play store succeeded, yet they still didn't appear in the app menu. Finally, Google Maps attempted to install, but failed, and caused the phone to reboot.

Haven't had a problem since moving dalvik back. I'd be interested if mrhohoha intended for dalvik to be on internal or sd-ext, since his original post indicated both.
[Nexus One Android Development] ctfrommn:
I move all to sdext these days....no room with this new partition scheme
[Nexus One Android Development] khernden69:
Help please

Can someone tell me if I can flash this rom if I am on gingerbread 2.3.6 or do I have to go to honeycomb rom frist? Thank you.
[Nexus One Android Development] Smask:
You'll need the latest Blackrose hboot and then you can flash this rom directly. Honeycomb is for tablets only.
[Nexus One Android Development] ironjon:
Sounds good :)

Let's try

Tapatalking
[Nexus One Android Development] Robbie P:
I'm not sure if N1 users are aware of Native SD for HD2 http://xdaforums.com/showthread.php?t=1869673

It puts data AND system to ext4 and works very well

Hope this helps
[Nexus One Android Development] BloodBaron:
so i reran the script and chose to move /data/data, and selected r-mount,

everything seems ok, performance seems a bit better than just choosing r-mount, might just be me
[Nexus One Android Development] Garet80:
edit
[Nexus One Android Development] twistedsixty4:
It doesn't matter what rom your coming from cause you will wipe all your data via fastboot if you follow drew's first post.

But make sure you follow all the steps!