yashsingh1/xdaforums huggingface dataset:
[Click Android Development] suoko:
2 install folders in linux ???

you know what ? i guess in linux is not that easy to set up a second install folder.

I think we could sim link a /data/app/app folder to /sd/app but then the install process should do something:

check /data/app folder space left, and in case it's full, install to /data/app/app
[Click Android Development] huchengtw:
Yes, right. That's the way I use. But I mount the sd card directly on /system. This makes android to calculate the left space of my sd card.

Currently, I need to modify the /init.rc to make it mount at the boot. But the /init.rc seems in the ramdisk image, so I can't modify it and store it back. I don't know where the ramdisk image is, it seems in one of partition 0, 1, 2. Any idea??
[Click Android Development] Blackdragon_860:
hello people

have you test this?

http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
[Click Android Development] suoko:
ok, trying now

formatted my 4gb sd to:

vfat: 3.4 GB

ext2: 508 MB

swap: 32 MB

i found partitions at:

mount -t ext2 /dev/block/mmcblk0p2 /data/myapp

swapon /dev/block/mmcblk0p3

must work on vold.conf now since ext2 on sd is not automatically mounted at /system/sd
[Click Android Development] suoko:
another way ...

is create an ext2 img file to be mounted at boot using a loopback device.

no sd partitioning is needed then and the FULL-OF-APPS IMG FILE could be easily moved from one SD to another (aka to another android compatible phone).

modify /system/init.rc to mount an ext2 image on bootup.

http://xdaforums.com/showpost.php?p=3402719&postcount=683

extra ext2 partition creation [750MB] (on ubuntu):

dd if=/dev/zero of=sd.img seek=749999999 bs=1 count=1

mke2fs -F sd.img

mounting it (on android):

[mkdir /data/myapp]

mount -o loop sd.img /data/myapp

current state:

mount: mounting /dev/block/loop0 on /data/myapp failed: Invalid argument
[Click Android Development] suoko:
the ext2 loop partition was an end 2008 discussion

http://xdaforums.com/showthread.php?t=463488&page=2

what i think now is extending the /data/app partition with the looped img file.

can we (without lvm) ?

I prefer the second install option

if android detects an extra ext2 partition or an ext2 img file, you can change the default install location in android preferences
[Click Android Development] huchengtw:
Suoko, do your tattoo have /system/init.rc file??

In /init.rc, it doesn't import /system/init.rc. So, we can't use /system/init.rc to mount it.

currently, I need to compile my owned boot.img file. But the compiled file doesn't work. I don't know why. I following the following url to do so: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images.

Any idea??

BTW, why do we need to mount /dev/loop0?? I just use mount -t ext3 /dev/block/mmcblk0p2 /data/app to do so.
[Click Android Development] suoko:
why loop?

Cause you don't have to partition the sd this way.

You just create an img file which can be used as a partition.

Think this:

You have a 4 gb sd and want to change it to store more music/vids/maps with a 16 gb one

You take the file and move it from the old sd to the new one.

You want to increase the img file size?

You create a new larger file?

You create it and move old img file contents to it.

We can probably extends its size some way
[Click Android Development] huchengtw:
ok I see. That's a good idea for expanding purpose.

BTW, I had solved the boot.img problems. It is caused by the wrong version I checked out from repo. I use the correct version to build mkbootimg and everything works.

current state:

trying to mount the /dev/block/mmcblk0p2 on /data at the boot time. but all trials failed.
[Click Android Development] suoko:
succesfully mounted looped device

extra ext2 partition creation [350MB] (on ubuntu):

# dd if=/dev/zero of=sd.img seek=349999999 bs=1 count=1

# mke2fs -F sd.img

pushing ext2 partition to android [350MB] (on ubuntu):

# adb push ./sd.img /sdcard/sd.img

mounting it (on android) (DO NOT RUN BUSYBOX !!!):

# su

# export LD_LIBRARY_PATH=/system/lib

# export PATH=/system/bin

# insmod /data/local/bin/tattoo-hack.ko

# mount -o rw,remount /dev/block/mtdblock5 /data

# mount -o rw,remount /dev/block/mtdblock3 /system

# mkdir /data/myapp

# mount -o loop -t ext2 /sdcard/sd.img /data/myapp/

[now run busybox]

# /data/local/bin/sh

# df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 93.0M 0 93.0M 0% /dev

tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 150.0M 135.7M 14.3M 90% /system

/dev/block/mtdblock5 165.1M 148.1M 17.0M 90% /data

/dev/block/mtdblock4 150.0M 3.7M 146.3M 2% /cache

/dev/block//vold/179:1 3.7G 3.5G 223.5M 94% /sdcard

/dev/block/loop0 323.2M 2.0M 304.5M 1% /data/myapp
[Click Android Development] suoko:
re: boot.img problems

are you reading mainfram3 tips ?

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

i'm gonna look at android install process and SD settings
[Click Android Development] huchengtw:
Yes, I already knew that.

The current problem I face is to find the correct timing to do "mount" while init.rc executing... The correct timing means that the mmc device may not be visible while init.rc executing. The mount command should be ran at the mmc device is ready.
[Click Android Development] suoko:
with new coburn ROM

we can mount app partition later since no app is strictly necessary to boot android.

i.e. we could make an app which mount the extra ext2 partition and do the /data/app transition, if we wanted to
[HD2 Windows Mobile 6.5 Themes and Apps] foof316:
When scrolling down from the home screen to reveal the settings buttons such as wallpaper, slider, weather etc,

i pressed the titanium button - i now dont have a home screen, just a list of applications / programmes etc.

Please tell me how to turn it off!?!?

Many thanks
[HD2 Windows Mobile 6.5 Themes and Apps] fantasytozi:
Go to Start, Today(Home) settings, check HTC Sense and uncheck Windows Default:)
[Windows Mobile Development and Hacking General] nycny:
Interesting read over @ http://www.extremetech.com/article2/0,2845,2360173,00.asp
[Windows Mobile Development and Hacking General] theb2k:
A user who dumps the stock rom for one found on XDA ;)
[Omnia II General] CSMR:
I'm looking to use the data connection only when I particularly tell the phone to do something that requires internet access.

That's because my provider rounds up to 0.01GBP whenever the connection is used. It's unfortunate, and if you know a PAYG service in the UK that doesn't do this, let me know!

On my last phone I just turned off push e-mail. But I can't see how to do this on the Omnia II. I've looked in all the menus I can think of.
[Omnia II General] majmac:
Have you gone to Tool>Options in Email, then selected your account? In the next page you select "Send/Receive Schedule" and change the "Automatic Send/Receive" setting to <Manually>

That may solve your problem.
[Omnia II General] pad4651:
could also try

Start > Activesync > menu > schedule > sync during change the times to ever x minutes insted of as items arrive
[Omnia II General] CSMR:
Great, that did the trick!
[Off-topic] rorytmeadows:
So, right now, I have a desktop PC and a laptop PC that I use on a regular basis. The desktop is my master system and is good for another 2 years definitely. My laptop has been aging and we're on the verge of a revolution in small PCs.

I have a Dell XPS M140 that I upgraded to 2GB RAM. It has 80GB of hard disk space, CD/DVD burner, and Windows 7. It's getting old and I wondered if everyone could chip in some advice for a replacement.

I spent like $600 on it originally, so I'd like to stick with that price or less. I use it to browse the web and watch internet videos on it while I play XBox360 or when I have people over. I use it to feed to my TV when I have a movie to watch (movie file, not a DVD). I also take it with me on any vacations in the hotel room to keep connected to the internet.

For a replacement, I'm looking for the following...

-CD/DVD drive

-video out

-at least 120GB of disk space

-ability to run Windows 7 Ultimate with Aero

-ability to have 2GB of RAM at least

-USB ports

-Wifi (of course)

-A good processor

-HARD keyboard

-multitouch screen

-$600 or less

Preferred but optional

-ethernet port

-webcam

-4 USB ports

There may not be anything out there just yet that meets all the requirements, but if anything's close, let me know.
[Off-topic] SeanFromSoCal:
I have a Dell XPS M140 too. Great system. I loved the battery life -- 7.5 hours when I bought it like 3 or 4 years ago. But now its old and I rarely use it.

I've migrated to a Samsung N120 netbook. The keyboard is great even though its smaller form factor. The portability is excellent. It's so comfortable to use even with the 97% sized keyboard and 10" screen that I am still able to do most of my programming on it. So it can be used every day for hours with no eye strain or me wanting to throw it cause the keyboard is awkward. I love it.

I've run Windows 7 on it and it runs great once I upgraded it to 2GB. I did go thru the Windows Services and set to manual/disable some of those that I don't need (heavy networking ones) that made it a little faster. It can run OSX too as a side benefit. You can pop in a 640GB in here for cheap if you feel comfortable taking it apart.

I know there is going to be complaints about the processor speed...its a slow Atom. For daily browsing use its not that much difference than the M140's 1.73ghz P-Mobile. I do agree that its slow on Youtube videos and having multiple flash animations on the same page. The newer generation of netbooks are faster and will probably do a better job. Also Adobe is releasing a new version of Flash very soon that they have tweaked and stating would allow the Netbook to view Youtube without the jitters.

If you already have a desktop that is powerful enough for the heavy lifting tasks (photoshopping/video editing/filesharing/etc) then if I were you I would look into a netbook for its portability and convenience. It can still photoshopping btw, just going to take a little longer with the filters and handling large image sizes. And of course it is harder on the small screen.

You can get a great netbook in the $300-350 and get an external slim DVD burner for $50. If you do a lot of traveling or working away from home like at a cafe or just like having it on your lap surfing while you are in front of the TV, a 10" netbook is the way to go.
[Off-topic] dioadi:
for the touchscreen thing,

i think you should buy additional hardware such as DUO.
[Off-topic] rorytmeadows:
Hmm. Very interesting! Thanks for the feedback.

I really appreciate that another M140 user out there has spoken. I haven't found anyone with this "XPS mini"!

When I upgraded to Windows 7, I can't believe how smooth everything ran. It really sold Windows 7 for me. Yeah, my desktop was faster but, wow, it turned by old M140 into a new PC. I haven't done much programming since college and even then, I did more making Counterstrike maps on their CAD-like interface software than anything.

I was really considering netbooks and your advice fits in well. I like the idea of add-on hardware like DUO to make anything touchscreen, but I would like to be ahead of the game with my new purchase. I felt like even my M140 purchase was behind the game. My desktop was nicely fit with a quad-core masterpiece at the time. Now it's commonplace.

I think a netbook fits my needs perfectly, but maybe I'm waiting for the next wave to include multitouch netbooks. The technology is definitely there, and fortunately it shouldn't be that expensive. I was waiting for someone to post the latest Eee multitouch PC, but I know that the processor is child's play.

I guess I see myself owning 3 systems...

Desktop PC - currently fulfilled need

Multitouch PC - for portability and ahead of the game portacomputing

Slate Phone - I know there's phones and then there's slates, but I won't be buying a replacement for my Rhodium until a nice slate phone arrives (with slide out hard keyboard, of course)

These 3 systems will practically make me have a mess in my pants. We're on the verge of #2, but I know I might have to wait 2 years for a good #3.

I'm staying away from virtual keyboards forever. I know how they are and I know what they can do, but I cannot accept 30 wpm slower. Unacceptable.

Great advice guys, and I really do appreciate your input. Tablet PCs are going to erupt soon, to prove that the iPad is garbage. And I just can't wait for the results. I dream of a day when I can just pop out my multitouch netbook in the comfy Hyatt hotel bed and respond to the next great XDA post.
[Off-topic] rorytmeadows:
I actually was looking tonight and there really isn't anything out there right now. I really hope this market picks up. The closest thing is the newest Eee PC, with a processor at 1.66 MHz. My M140 is at 1.73, so I can't go lower. Let's hope for a nice push in products...

Dell should hit this up. The only Multitouch tablet they offer is over $2k!!!!
[Off-topic] thematrixkid17:
I bought a LOADED HP tx2000z two years ago because I thought that I'd actually use the touchscreen/wacom digitizer. Boy was I wrong. 2000 bucks later, I honestly wish I would have bought a macbook pro over this POS.

Using a mouse or keyboard still is faster. Windows is not designed well for using a touch screen. Plus, that tiny swivel point where the screen connects to the rest of the computer isn't quite as strong as I had once thought, and all the wiring inside of it, over time, starts to get shorts in it. My sound crackles as I swivel the screen. Also, HP doesn't have the best of build quality in general. However, the digitizer does do an excellent job of speeding things up in photoshop.

My advise: Stay away from laptops with touch screens. Unless you spend the majority of your time in photoshop, it won't be worth it.
[Off-topic] Rudegar:
got the earlier tx1270 little brother of tx2000z

it get too hot to use in tablet mode and it's too fat and it makes too much noise

speedfan say the gpu is 89c in idle

the heat caused the wifi to stop working

but it was good for reading eComics on if I could stand the heat

I'm not put off tablets yet though

what laptop to get is really down to what one use it for

if it's surfing in the sofa netbooks are great and got long batt

but some people like to game on their laptops in which case they end up having to pay

a lot

got 2 dell work laptops both ugly and plastic'ish but better quality then crappy hp

and got a acer very underpowered one but manage with xubuntu

gf got a new macbook pro cost an arm and leg and kidney but the build quality is pretty good

osx remind me of linux really in a closed platform version though

if I were looking to get a laptop now I would look at tablets without combi keyboard option like the hp got

otherwise I would look at asus eebooks or whatever they are called
[Off-topic] rorytmeadows:
Hmm, good points. I guess my consideration for getting something with multitouch is basically to make sure that I'm consistent with the market. If that's what people are buying, I want to have my copy, just in case software erupts for it.

But I'm surprised at the story about the shoddy HP hardware.

I could, however, see how I can use a touchscreen with Windows 7. I won't touch Apple products because they don't suit my needs, but I guess that's why I won't spend $2k on a tablet PC. It sounds like it's just not worth that much.
[Off-topic] magicman0:
I've had the SAME exact problems with my tx1219. Too loud, too hot, wifi stops working, and also the touchscreen is horrible.

I've only worked with the tx2000 for 10 minutes, so I can't comment on the problems, but the the touchscreen was really good on it.
[Off-topic] Rudegar:
yeah tx2000 and up have vacom active digtizer and some got capative with dual touch

but I don't trust their quality so even if they look good on papir I don't want to pay that much with such a high risk of being ripped off
[Nexus One Themes and Apps] lolittle:
Nothing to major and cant really call it a theme, but then i didnt know what to put in the title lol, this is my first mod as i am not a themer lol i just change some icons here and there but thought i might share this one :)

Well i hate the Sense battery icons and absolutely love the original android battery icons so ll ive done is put the original bacttery icons in an update.zip to flash over the NexDESIRE ROM by Manup.

Worked for me on 1.1, untested on others so always perform a Nandroid :)

Thanks
[Nexus One Themes and Apps] MvP77:
good work, i havent tried it but what i wanted to know is if its possible to get the original status bar over a nexus rom?
[Nexus One Themes and Apps] lolittle:
Yeh should be possible, what rom is it for?
[Nexus One Themes and Apps] FormelLMS:
I have released two Metamorph Themes for Statusbar Hero (Desire) to get it over normal Nexus One ROMs.

It's here in this forum, I think second or third page.
[Nexus One General] Postal76:
I was happily using my Nexus One on AT&T without a data plan (and with data blocked) since it was released, but I made the mistake of giving AT&T the IMEI number of my Nexus today. Now they tell me that I am required to get a $30 data plan because it is a "PDA", despite the fact that it cannot use 3G on AT&T's network.

Does anyone know of a way to ditch the data plan? Is it possible that I could give AT&T the IMEI of an old phone, then switch my SIM to the Nexus?
[Nexus One General] laughter95:
as a user who uses the nexus one on att, heating something like this is

infuriating.how is it their business to make you buy a data plan? I can understand if they subsidized the phone but obviously in this case it was not. thanks for the heads up. i would never disclose this kind of information to att unless I absolutely had to do so.
[Nexus One General] JHaste:
use this as a way to break your contract and come to tmobile and enjoy the way a real provider is sposed to treat you... pretty much if you have ATT and dont have an iphone, they dont care about you
[Nexus One General] pjcforpres:
I am kinda surprised they are doing this... Then again, times are "tough"...

I would ask them where in the contract you signed it says you have to have a data plan? Let them know that if they start charging you for a service you didn't sign up for or agree to, they will be hearing from an attorney.
[Nexus One General] maxh:
When AT&T began mandating the smartphone dataplans (September?) people that already had a smartphone on their account without a smartphone data plan were given a feature called "smartphone exclusion". If you had this and they took it off when you gave them the nexus one imei, you may be able to call customer service and get them to put it back on. That's the only way I can think of. They're implementing a system which automatically adds a smartphone data plan onto your account when you put your sim card into a smartphone and it reports a recognized smartphone imei to AT&T unless you have the smartphone exclusion feature.

http://howardforums.com/showthread.php?t=1618214
[Nexus One General] Postal76:
Very interesting. This make sense, since AT&T should be able to find out what kind of phone you're using even if you don't give them your IMEI. I suppose I might have had a "smartphone exclusion" put on my account back when I was using a myTouch 3G on AT&T without a data plan.

However, I doubt AT&T is going to work with me on this, given the extremely unsatisfactory customer service I received today after speaking to 3 representatives.
[Nexus One General] mesajoejoe:
What happens when your using just a normal phone with att, and your buddy has a nexus one. and so you go over to his house and put your sim on it just to see how it works, cause your interested in it and all. so you borrow it for a day to test it out. and att starts charging you for data? Sounds bull**** to me that they can do that if your not using 3g data service... period
[Nexus One General] Matterhorn:
I've had these issues with ATT as well. In September they "discovered" my Touch HD on their network and zapped it from working. I was on the "pay as you go" plan. I switched the SIM to my old HTC Trinity and my service was useable again. Since the Trinity was one of the first full featured phones, they must not have had it in their "kill" database.

I dumped ATT like a hot rock, then went to T-mobile and I've never looked back. ATT has nothing over T-mobile.
[Nexus One General] Postal76:
Trust me, I'd love to do the same. But A&T is much cheaper for me (it would be $120 for a 2 line family plan with data vs. $155 on T-Mobile) even when I don't include my AT&T premier discount. I was pretty sad to learn that T-Mobile's pricing isn't very competitive, at least when it comes to Nexus One plans.
[Nexus One General] jblazea50:
i've had the N1 on ATT for about a month now and i don't have data plan and never signed up for one; i am near wifi 80-90% of the time and don't need the data plan; never got any texts from them forcing me to get data;

btw, i am on a family plan
[Nexus One General] maxh:
Supposedly they are turning on their new system for automatically adding data plans market by market. Some people's areas don't have it yet, but I know for a fact they're doing it in Austin, TX because I got hit by it. I had 2 lines with smartphones and put my SIM card into a dumbphone for a few minutes then back into my smartphone. That triggered it, but I have the "smartphone exclusion" on my main line (which happens to be the phone I did the SIM switch in) so only the other line got a $30 data plan added. I ported that line out within a couple of days.
[Nexus One General] jblazea50:
how do you add smartphone exclusion to your phone
[Nexus One General] technillion:
It's really simple to ditch the data plans on ATT...

I have a total of 6 phones with ATT. 4 ATT PDAs, 1 ATT non-PDA and mine - which is usually UNLOCKED/UNBRANDED WinMo phone.

I wait a few months after buying any ATT branded phone and call them to let them know I've switched phones. They ask for the IMEI. I run my trusted IMEI Generator (Google it) and start spewing phoney IMEIs to them. When they don't show in their systems as an ATT phone, I can then change all their $30 unlim PDA unlim data plans to the $10 unlim data plan version.

Of course, every rep I every spoke to swears there's a difference between the $30 vs the $10 plan...but WE know better. They work exactly the same!

Come on ATT!!!

My way of stickin it to the MAN!!! :cool:
[Nexus One General] Postal76:
But won't AT&T recognize your phone as a PDA if you ever actually use it? For instance, you couldn't do the same thing with an iPhone -- if you give them a bogus IMEI then put your SIM in an iPhone, AT&T will find out and they will force you into a data plan.
[Nexus One General] maxh:
In some areas of the country they've implemented the system for automatically detecting when you're using a smartphone and adding the data plan. It seems that not all areas are doing it yet, but I have no doubt they eventually will. My area already does it.

It was added automatically to people's accounts back when they first started requiring data plans. If you had a smartphone but no smartphone data they simply put that exclusion feature on your account. I've heard of people that had it removed from their account calling in and arguing until they put it back on, but if you never had it on your account, you're probably out of luck. It's worth a try, though. Maybe if you get a nice rep and use the term "smartphone exclusion feature" they'll give it to you.
[Nexus One General] jblazea50:
i had the blackberry curve 8310 with ATT without data plan as i paid the 2 year upgrade price (no rebates, that required the $30 data plan) so would that mean that i have the exclusion feature?