yashsingh1/xdaforums huggingface dataset:
[G1 Q&A, Help & Troubleshooting] yux2:
is it normal that there are no options under Settings - Wireless controls - mobile network settings - acces point names ?

will the custom image be flashable for the Sep Models ?
[G1 Q&A, Help & Troubleshooting] annoynimouse:
Usually one might simulate larger blocks from the lesser :-)

However i could not find any certain info, seems flash memory has many particular corner cases and much less general patterns.

as a matter of interest, JFFS2 is told to support NAND, but could not find what is min. block size.

However

http www linux-mtd.infradead.org/faq/general html

http www linux-mtd.infradead.org/faq/jffs2 html#L_hdd_jffs2

sounds like ( if we cannot find some backdoor in SD controller) we cannot get into memory chip on the SD card, thus we cannot (effectively) use flash-oriented FSes at all over SD card.

Then the main questions becomes where is FTL (in controller or in card), how good is it optimised, and is it optimised for some particular FS (say, FAT32 with default Windows settings of cluster size). But for sure it would not be oriented towords exotic there ext2/3/...

Amd if there is poor FTL that considers SD-card in the cheap phone as just "it should present, but maybe anyhow slow", then perhaps no way around and now way to make it fast ? :-(

Then my initial idea ( that SD card should be used for *extra* storage and all basic functionality/data accessible with online SD-card removal) is left as the only choice ? :-)

However it is much more complex...

I wish UnionFS could have two write targets at same time. If the particular folder on top FS is read-only marked, then write to bottom FS instead.

If such mode existed, then it could gave us much more fine-grained control over mixing data NAND+SD than symlinks would give.
[G1 Q&A, Help & Troubleshooting] annoynimouse:
KiloBytes or Bytes ? eraseblocks or data pages ?

http www yaffs.net/yaffs-2-specification-and-development-notes

"YAFFS2 (512b pages)" :confused:
[G1 Q&A, Help & Troubleshooting] lotsofish:
You have to enter the settings for you carrier. For example: go to theAccess Point Names menu, click the menu button and then New APN. The settings depends on who your carrier is.

Hopefully, but it's pretty hard to figure it out without the phone to work on. Someone who has a phone with the September software will probably have to figure out how to get it on there.
[G1 Q&A, Help & Troubleshooting] xulture:
hehe bytes ;-) sorry my bad
[G1 Q&A, Help & Troubleshooting] xulture:
few replies back, someone attempted to use freerunner 32mb system.img (in jffs) format and managed to complete the update step. As a conrequence the phone didn't work anymore.

I did split out system.img into smaller chunks and been waiting on his reply whether the update works and whether it left the phone partially operational.

Perhaps version of uboot on september models can't load files bigger than 32Mb ('fatload' step is the one that hangs forever; luckily existing /system and /data don't get erased before this step, so the phone is still fine -- replaced kernel and ramdisk don't harm). Perhaps we can split system.img into two parts and load them into flash memory in two passes. Perhaps this would be fine with both versions of uboot.

But, without someone willing to risk ruining his phone (or this guy un-bricking his phone using this approach) I wouldn't recommend it.
[G1 Q&A, Help & Troubleshooting] annoynimouse:
then that my quote implies that yaffs2 CAN go on the 512-block nand !!!

guess you'd consult with yaffs2 devels maillist

maybe it was in some arlier builds of yaffs2 but maybe still possible
[G1 Q&A, Help & Troubleshooting] annoynimouse:
hmmm. god bless wikipedia, i stumbled upon http aufs.sf.net

seems Asus EeePC also needed something better than UnionFS

it seems one can do the following:

NAND: mv /data /data-internal

NAND: mkdir /data

SD: mkdir /sdcard/data-partition/data-external

now let's for example

mkdir /data-internal/dirA

mkdir /data-internal/dirB

mkdir /data-internal/dirC

mkdir /sdcard/data-partition/data-external/dirA

mkdir /sdcard/data-partition/data-external/dirC

mount -t aufs -o br:/sdcard/data-partition/data-external=rw:/data-internal=rw none /data

if i understood papers on http aufs.sf.net that woud result in

* writing to /data/dirB/file1 will be routed to nand (for there is no match for dirB on SD)

* writing to /data/dirA/file2 and to /data/dirC/file3 will be routed to SD (for it is first =rw branch in mount options)

And probably that might give fine-grained control over what we want to move to SD and what to keep on NAND

Probably that would allow hoot-removal of SD-card, leaving strictly cut on fies and features Android 2.1 but still running and allowing for replacing of SD w/o shutdown/reboot delay.

And perhaps, as outlaw rebels, aufs guys may be fexible to wish to cooperate. For example might be wished feature, that if /sdcard/data-partition/data-external/dirC would have ro perms, then write access to /data/dirC/* would nt be denied but fallen back to /data-internal/dirC instead (assumin /data-internal/dirC has rw perms)
[G1 Q&A, Help & Troubleshooting] xulture:
It sounds good :-) Do you mind experimenting and let us know where it takes you? Also perhaps yaffs2 will work as well, I'll get around to checking it out at some stage, let us know if it works for you!

Over on the n19 project page there are toolchains that should let you compile their modules for our phone, we should be able to load them in init.rc and then use them as per your suggestion.

On a flip side, I semi got the complete /data working off the sdcard. Mount line in init.rc is:

mount ext2 /dev/block/mmcblk0p2 /data nosuid nodev noatime nodiratime

Given the findings by lotsofish (how it all turns to custard when he moves /data/data) i went looking there, and the phone seems to store a lot of 'db' files. These would be accessed many times and 'atime' (access time) is recorded each time. With noatime and nodiratime we precent recording this, seems to help.

Also i took out 'sync' from mount, since this forces apps to wait for physical write and prevent any caching by the filesystem driver.

We may need to do a few more little tune ups before we're ready to go.
[G1 Q&A, Help & Troubleshooting] xulture:
Ok i tried these and it definitely works. I went with updata.txt:

------------

Androin auto updata test!!!

# Flash ramdisk image

fatload mmc 1 0x30000000 ramdisk.uimg

nand erase 300000 40000

nand write 30000000 300000 40000

------------

goes very fast and in the end it flashes just the ramdisk.

Another quicker way is without playing around with uboot update:

copy ramdisk.uimg to /sdcard, then adb -d shell:

# cat /dev/zero > /dev/mtd/mtd2

cat /dev/zero > /dev/mtd/mtd2

write: No space left on device

# flash_image initramfs /sdcard/ramdisk.uimg

flash_image initramfs /sdcard/ramdisk.uimg

mtd: ECC errors (0 soft, 1 hard) at 0x00000000

mtd: ECC errors (0 soft, 2 hard) at 0x00004000

mtd: ECC errors (0 soft, 3 hard) at 0x00008000

mtd: ECC errors (0 soft, 4 hard) at 0x0000c000

mtd: ECC errors (0 soft, 5 hard) at 0x00010000

... (lots more of these...)

# reboot

this is highly risky, make sure you have "mtd2" in the 'cat' line, and "initramfs" in the 'flash_image' line, or else if you flash boot loader, you'll brick the phone.

next, boot image :-) as per http://xdaforums.com/showthread.php?t=443431

So far I keep getting broken images to show..

perhaps the tool from http://xdaforums.com/showthread.php?t=537515 forces wrong resolution?
[G1 Q&A, Help & Troubleshooting] annoynimouse:
i do. since ;-)

1) i do no have phone. i was annoyed by closeness of SciPhone and decided to not get phone until be sure that upgrades would be. it is not fair to you, i admit, but still i did not make an order still

2) i am out of time now and next couple months, alas

3) my Linux experience is about 4 years ago, before experimenting with patching kernel and hacking phone i have to refresh it - but see 2) :-(

So sorry, i am looking at you with interest but litte if any practical help can i offer still
[G1 Q&A, Help & Troubleshooting] lotsofish:
I can do some testing with your new mount line. I am hoping we can /data running reliably from the sdcard. Then we will have an extra 50MB+ to work with.

This is what I have/had.

mount ext2 /dev/mmcblk0p2 /system/sd noatime nodiratime

Could it be nosuid or nodev that's making a difference?

RE: yaffs1 vs yaffs2

Is the phone already using yaffs2? According to my init.rc file, I think it is. Maybe yaffs1 is only used by Uboot?

# cat init.rc | busybox grep mount

mount tmpfs tmpfs /cache

mount tmpfs tmpfs /sqlite_stmt_journals size=4m

mount rootfs rootfs / ro remount

mount yaffs2 mtd@system /system sync

mount yaffs2 mtd@userdata /data nosuid nodev sync

mount ext2 /dev/mmcblk0p2 /system/sd noatime nodiratime

mount yaffs2 mtd@cache /cache nosuid nodev
[G1 Q&A, Help & Troubleshooting] je-android:
not if we put them in a tar archive, in this case all the rights are conserved.

But another problem I noticed is that we must make sure the archive is completely written to the disk by unmounting the sdcard or by swhitching off the phone, otherwise we'll miss some bits.
[G1 Q&A, Help & Troubleshooting] annoynimouse:
offtopic

http://feedproxy.google.com/~r/Clon...-smooth-android-phone-spotted-at-mwc2010.html

seems soon there would be one more ultra-cheap android smartphone
[G1 Q&A, Help & Troubleshooting] ydanila:
I think its not good idea to store /data/data on sdcard. SqlLite will made too many writes.

I spent some time playing with mount and moving shell scripts for init.rc. But have some troubles.

May be better just to move /data/app and /data/dalvik-cache?

upd:

Now I know why my .sh scripts makes errors. sh in Android just an ash. :)
[G1 Q&A, Help & Troubleshooting] johnvillar:
A naive proposal... couldn't we mount just app from the sd and symlink critical systwm files?
[G1 Q&A, Help & Troubleshooting] xulture:
I'm thinking of moving /system to sd card, and leave data in 128mb memory ;-)

/system has big files, and on most phones is mounted read-only...

/data has many small files with many updates.. I'll report how that goes.
[G1 Q&A, Help & Troubleshooting] johnvillar:
Lol, still the N19 beats it on price
[G1 Q&A, Help & Troubleshooting] lotsofish:
I was looking at the alsa setup, trying to figure out why the sound is bad from apps like Pandora, iHeartRadio, YouTube, etc. I see it only has 4096 bytes for buffers, so I was going to increase that and see if it helped. After further investigation, it requires that the libaudio.so file needs to be recompiled.

I finally got it figured out how to compile it, but when I transferred it to my phone, something bad must have happened in the transfer, because I was getting a libandroid#something#.so file unable to load and it wouldn't boot. I am rolling back to the custom image now. I am doing to try xulture's modified mount string also to see if that helps with putting /data/data on the sdcard.
[G1 Q&A, Help & Troubleshooting] Crazyes:
Hi guys!

How can see videos in youtube?

If I upgrade to 1.6 with my 2GB SD I will have some problem...

Greetings!
[G1 Q&A, Help & Troubleshooting] yux2:
sorry for one more question, but i have still Problems with the removable Drive Option....How can i provide the SD Card as removeable Drive, when i connect to Windows with USB ?
[G1 Q&A, Help & Troubleshooting] dvelev:
With your build no way
[G1 Q&A, Help & Troubleshooting] ydanila:
I read some info, check updata.txt, init.rc and it looks like we'll have no benefit moving /system to /sd.

To access memory we use mtdX block devices, which adresses different memory blocks with fixed size. Look to updata.txt - there written fixed sizes of blocks. Look to init.rc - /data and /system mounts different mtd devices.

Unfortunately we need to move /data to sdcard.

I am correctly thinking?
[G1 Q&A, Help & Troubleshooting] yux2:
i don't know the rules here in xda-dev, but is it possible to open a N19 Sciphone subforum ?

than i hope that the custom rom will be soon possible for 09'er N19s :)
[G1 Q&A, Help & Troubleshooting] lotsofish:
For the 09 phones: I haven't tried it to find out, but does adb allow you to connect while it is running the flash update? I am wondering if it does allow you to connect, you might be able to get some information out of `logcat`. Does the phone give any messages when it fails? We know that it's the system.img.yaffs1 file it's failing on.
[G1 Q&A, Help & Troubleshooting] lotsofish:
Updated Contacts.apk file

I modified the official Contacts app and fixed the dial pad so the buttons don't overlap each other. This includes syncing with Google, so you can manage your contacts at www.google.com/contacts

To upload to your phone:

adb -d push Contacts.apk /system/app

Your phone display will go black for a couple seconds while the new Contacts app is loaded. Your icons on the front page might reset to generic icons, but they will come back after you reboot.

Next... Calendar app?
[G1 Q&A, Help & Troubleshooting] xulture:
I tried changing partition sizes by changing their definition in updata.txt -- that works. We can easilly have 1M bootloader (as is), 2M kernel (as is), 1M initramfs (as is), 1M system, and 123M for data.

Init.rc (which gets loaded from initramfs) will have to mount system from the right place, and it should work. I'll try when I get to it.

What this would mean for people with phones that can't be updated, is that they can get updated no problem. (their update gets stuck during 'fatload ... system.img.yaffs1 and no matter how long you wait, it never progresses). However, it already overwrites kernel and initramfs with the update.

I'll report when I actually do this..
[G1 Q&A, Help & Troubleshooting] Crazyes:
So.. I won´t have problems with the upgrade 1.6 ( my sdcard 2GB)
[G1 Q&A, Help & Troubleshooting] yux2:
i'll test it when i come home tonight, cause i need the usb windows drive connection :)
[G1 Q&A, Help & Troubleshooting] ydanila:
I has customized init.rc and build ramdisk.uimg with it. You could find them in attach.

It mounts second! ext2! partion of sdcard to /sdcard2 and stores there /data/app and /data/dalvik-cache. To original position they mapped by symlinks.
[G1 Q&A, Help & Troubleshooting] jt66:
u cant do anything with sciphone. they are **** cheap rip offs.they are made to look like welll knokn phones i.e G1 or iphone but none of the features work, the build quilaity is pathetic and they are guaranteed to break

and i can tell u right now there is no way a crappy sciphone is running android
[G1 Q&A, Help & Troubleshooting] nonsleepr:
Actually it's already have Android. :o
[G1 Q&A, Help & Troubleshooting] Rafaesp:
omg It's true that hardware is bad but this ppl are doing lot of things, and IT IS running android
[G1 Q&A, Help & Troubleshooting] yux2:
there is no connection during updating, so i can't connect with adb.

but with usb connection, there is an restart after 90sec.
[G1 Q&A, Help & Troubleshooting] lotsofish:
Is it possible that the bootloader on the september firmware phones wants a yaffs2 system image and the december firmware uses yaffs1? The guy that was able to get the freerunner image to load, could that have been yaffs2? I don't know how likely the bootloader would only support one or the other and then them switching it, but maybe its worth a try?
[G1 Q&A, Help & Troubleshooting] johnvillar:
Remember ppl, how bad is it for what you paid for? as long as i've seen, for what i paid, this is the BEST smartphone i've come across, in fact, my blackberry and iphone friends are jealous just to see what can i accomplish with this little-cheap phone... and they paid 2-5 times more than me hahhahahahaa :D
[G1 Q&A, Help & Troubleshooting] Rafaesp:
Yes, you're right too.
[G1 Q&A, Help & Troubleshooting] dvelev:
Yes, i think so.
[G1 Q&A, Help & Troubleshooting] yux2:
how can i check the yaffs version ?
[G1 Q&A, Help & Troubleshooting] xulture:
i know that init.rc mounts these as 'yaffs2' but then the module says 'loading as yaffs1'.. if you type dmesg after a reboot you can see that towards the top of the output.

I just finished changing stuff around, have both /data and /system mounted off the sd card... no more nand usage (apart from bootloader, linux kernel and initramfs). runs the same as it did when it was just /data in a partition.

boot up (after initial) is actually faster than off NAND, but I still get occasional 'so and so app is not responding'.. hit 'wait' and everything recovers. eg when firing up browser for the first time, or when loading and installing multiple apps from the market.

has anyone gotten 'unyaffs' fixed to work with yaffs1? My copy to ext2 partition of system seems to break some permissions and couple of small things don't work. So far only noticed that I can't change screen brightness..
[G1 Q&A, Help & Troubleshooting] xulture:
works like a dream :-)
[G1 Q&A, Help & Troubleshooting] sergehog:
Hello, guys

Hello, guys!

I'm gonna to buy this device and being a programmer also would like to participate of hacking it. I've read all this thread and found pretty nice progress in hacking, but as i understood even 1.6 donut is still not ported yet. :-((

I'm not experienced in ARM neither any PDA programming, but pretty confident with linux (at least i think so), so hope will be useful for community.

Nevertheless, I googled over net trying to find more information on this phone and found some links that can be useful for you:

1. other company is about to sell the same phone:

h..p:// www .e-techco.com/products_show.asp?proid=358

h..p:// www .alibaba.com/product-gs/236285007/727in_google_phone_with_PDA_system.html

2. Chinese guys who's doing HW design and probably SW works for android:

h..p:// www .giayee.com/solutions/S3C2440%20Solution.asp

- this one looks as sciphone n19. and another solution is pretty similar to sciphone n21. What if these guys responsible for sciphones?? someone should ask them :)

3. they also have a link onto datasheet on samsung processor:

h..p:// www .samsung.com/global/system/business/semiconductor/product/2007/8/11/259693s3c2440x_rev21.pdf

it might be useful for further findings

4. samsung web page about processor is locked for personal use. just summary info available

h..p:// www .samsung.com/global/business/semiconductor/productInfo.do?fmly_id=229&partnum=S3C2440

may be this is interesting

h..p:// www .samsung.com/global/system/business/semiconductor/family/2010/1/1/Mobile_SoC.pdf

if someone have a pictures of SoC inside a subject, we may closely identify it and try find something from samsung side.

5. "The Robot" phone from chinavasion (mentioned here before) is also looks as a copy of the same platform. So, if someone knows origin of that phone we may look for their firmwares.

(UPDATE)

Here is one more interesting link

h..p:// www .simtec.co.uk/products/IM2440D20/firmware.html

(and sorry for ruining links in my post - it is not allowed for newbies to post links o_O)
[G1 Q&A, Help & Troubleshooting] Crazyes:
Hi guys!

I can´t see videos in youtube. Has it got any solution?

Greetings! Good work!
[G1 Q&A, Help & Troubleshooting] zachattack052:
its probably your rom
[G1 Q&A, Help & Troubleshooting] lotsofish:
Not yet. I have been trying to get audio to work by increasing the buffer size. This phone is configured with only a 4096 byte audio buffer. This requires a new libaudio.so file, but I haven't been able to get the phone to boot on anything but the original libaudio.so file yet.
[G1 Q&A, Help & Troubleshooting] annoynimouse:
1) looking astonishingly simiar, yet only 3 buttons under the screen. I can't imagine someone would design another phone internals so similar and only 1 button difference. But the link is very interesting, thank you!

2) they might just know original developers, because they using same local-chinese forums. if one can contact devels, not their bosses, and convince the, to help....

I doubt they have direct relation to this device, probably they just use the same Samsung's reference board design.

why do you think they have reation to n19? what is specifically interesting.
[G1 Q&A, Help & Troubleshooting] xulture:
I've modified unyaffs program from http://code.google.com/p/unyaffs/

It used to unpack only yaffs2 images, so with the changes I renamed it to unyaffs1 because it only unpacks yaffs1 images.

http://code.google.com/p/custom-android-sciphone-n19/source/browse/#svn/trunk/tools

in there, under bin, you'll find compiled linux binary, it may or may not work for you, depending on versions of libraries etc; however since its very light weight on dependencies, as long as you're running 32bit on x86 its very likely to work fine.

under src/unyaffs1 you'll find the two files you need to compile if binary doesn't work for you.
[G1 Q&A, Help & Troubleshooting] annoynimouse:
description on wiki page still says "by mkyaffs2image."

isn't it yaffs2 ?
[G1 Q&A, Help & Troubleshooting] taxxo:
Success!

I had tried using the chopped images with no luck - the update quit with a "updata err" message no matter what the image size.

I hadn't had any luck getting the uboot console so I put the phone aside and kind of lost interest in it.

Google alerted me xulture's unyaffs mod so I decided to try again.

I deleted a few apps and ringtones from the official update to get the image under 60MB which had flashed successfully when I was trying yaffs images from other devices.

The end result is my once unupdatable phone is now updated and working again! :D

Thanks a lot xulture!
[G1 Q&A, Help & Troubleshooting] gorac:
Could you publish your update, please?
[G1 Q&A, Help & Troubleshooting] yux2:
The Sep.09 Error ? It stops at "updating" screen ?
[G1 Q&A, Help & Troubleshooting] xulture:
i've added you as committer to http://code.google.com/p/custom-android-sciphone-n19/ could you please upload your system.img that worked there!
[G1 Q&A, Help & Troubleshooting] xulture:
logo design

would someone please design the boot logo for our little project? init can display an image between the 'bootloader' and 'android'.

Image needs to be 240x320; any format you like, I'll convert it to rle that init expects.

The only requirement is to supply it with a spot without any text, that I'll use to slap on word like 'eclair' or 'donut' or whatever the build base is, and the version number of the actual build (eg v0.2) since we could have multiples. Naturally, these two spots should probably have some background of your choice, but if you supply it with existing text, make sure you supply photoshop psd and all layers rendered but not flattened -- that way i can remove the text only without worrying about stuff underneath.

pm me if you need access to project, or my email address..
[G1 Q&A, Help & Troubleshooting] taxxo:
I have uploaded the modified update to the google code project as "modded-sciphone-n19-official-update-01.zip"

This should work on all phones with "robinlaw.20090926.121057 test-keys" build version.
[G1 Q&A, Help & Troubleshooting] johnvillar:
Posted it on the google code group
[G1 Q&A, Help & Troubleshooting] dvelev:
Market Update

"modded-sciphone-n19-official-update-01.zip" - Great job!

Thanks a lot!
[G1 Q&A, Help & Troubleshooting] lotsofish:
Dust

Anyone else having a problem with dust under the screen? It seems the touch screen isn't sealed at all, and my phone has already collected a lot of dust under it. It's not so bad inside, but in the sunlight you can see it all.

To any of the people that have disassembled it, is there a way to take it apart without breaking it to get it cleaned out and maybe sealed up better?
[G1 Q&A, Help & Troubleshooting] lotsofish:
Calendar app

I haven't been able to track down the bug in the Calendar app that's causing the orange + button/tab thing to cover part of the top of the screen yet. All the other phones I've tried and videos of the calendar app I've watched don't show any button/tab like it at all, so I don't think it's a matter of the button just showing in the wrong spot, but a bug. I've tried a couple different apk files, including the one I compiled from the Cupcake source, and the problem is seen with every file. Google search doesn't find any information about this either so I am thinking the problem might be specific to this phone.