yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Joushou:
Oh, yeah, you're right, he's trying to read the partition-table of sdc1... But, he's doing it right in the picture above! (Which i read, and combined with my tired mind, made the conclusion that it was just the usual "Cannot reread partition-table", which you get if you try to modify the table you're running from, which has absolutely no relation to this problem, but again, i'm tired, sorry ;) )

I said the "Block-device != Directory!" thing because he tries to cd into the device-node afterwards... And of course, he gets an error. I just thought i'd clarify that that's not intended to work that way :)

laptopdragon: You're doing it right in your full-screen photo, but you're messing it up in your window-shot! Why are you redoing it?

And, shafty023, i don't mind the tutorial, it's always good to have someplace for the newbies to look incase they're stuck with a problem, and i understand why it might have seemed as a good place for the tutorial, but this is "Android Development", afterall, and this definitely isn't a thread related to android development ;)
[G1 Android Development] laptopdragon:
thanks everyone (esp e16 fans)...

im learning as much as posible...

i learnt today

i never "a" (activated) it too.

and i am now using cli as much as possible...( i want to not live by gui if possible)

i also added

mkfs -t vfat /dev/sdb1

to format it as fat32.

was where i made a mistake, as everytime i loaded the SD card into my g1 it would want to format it. reporting its un-usable or needs to be formatted... now...it at least reads its there and doesn't add any files.... i can mount it, and copy to it...(btw i tried 2 different files of rc29)

i think i am not formatting it thoroughly tho.... (and thank you for posting this linux thread)

to summarize, i am doing this in eterm.

su

root# fdisk /dev/sdc

d

p, print

n

p, for primary

1, for (1-4)

1, for 1st cylinder

1201 for last cylinder (its only a 512mb, and 1201 max, should i make it less)

p, for print

t, for change to

c, for fat32 lba (not b for fat32 ? )

a, for activate bootable

w, for write, (exits fdisK)

root # mkfs -t vfat /dev/sdb1

this is what ive done...

as of now...my g1 only goes to the red/ blue/ white screen and does nothing when i hit the power button...??

but refreshes when i hit the camera, or button left of the on/off power button...(than i cna soft reboot it and it starts normal......

but...is the zipped file corrupt ? or is my sdcard not formatted thoroughly ??

any more help folks...(all is appreciated greatly)
[G1 Android Development] Joushou:
There's one problem... You're fdisk'ing sdc, but throwing fat32 on sdb1... That's 2 different devices! you should fdisk and mkfs on the same device! ;) (So if the device is sdc, it should be "fdisk sdc", and "mkfs -t vfat /dev/sdc1"...)

Incase that's just a typo...

It's throwing you into the bootloader... Did you copy the DREAIMG.NBH into the root, with that name? If so, check the md5sum of the file on the SD, and the downloaded file. Alzo, it's not intended to be zipped, inflate it before you copy it to the SD! ;)

If your pc is capable of r/w to the sd, it should be fine... But try to check syslog for errors after you mounted it...

If the wrong device is just a typo, it should be formatted correctly...

I think parted would probably have been a better choice of utility...
[G1 Android Development] shafty023:
You should be using "b" for WIN95 fat32. You are not booting off of the sdcard so you should not be making it bootable. Hop into recovery mode (hold Home + Power) and drop to a terminal. Your fat32 partition should be the first partition where if you're creating a linux partition to put apps on that would be 2nd (format it as mkfs.ext2 /dev/sdX2 where X is letter for your sdcard). If you're using one of the newer jachero builds with linux swap then you could create a 64mb 3rd partition and convert it to swap (mkswap /dev/sdX3 where X is the letter for your sdcard).
[G1 Android Development] tubaking182:
if you don't mind me saying, there was an EXTREMELY easy walkthrough already written for linux, and i am pretty sure that i even put screen shots in when i wrote it. granted it was for ubuntu(or any debian really) but it should have been pretty easy to find through a search "format sdcard linux" i don't know what you searched but i know i wrote a pretty good tut. this one looks good too so i guess now we have a few.
[G1 Android Development] laptopdragon:
thanks for all your help folks...

in order...

the 1st part, i did...and its no typo :( but i should do fdisk and mkfs with sdc or sdc1...which one should i use consistently ?... thinking only sdc....and NOT sdc1

and yes..it IS unzipped/ extracted....

and i didn't set it as root at all...how do i do that ??

i tried "b" and it didn't work, but hey...i messed up lots of stuff at once, so thanks.

i thought i WAS booting off the sdcard w/only the file DREAIM.nbh and that WAS/IS the boot file ... so thats why i thougth "a" was necessary.

im really only trying to use this SDcard for getting my G1 downgraded to rc29... and rooted ..but i cannot get past the rainbow screen..

i only have the (extracted) DREAIMG.nbh file on it..do i need more ? (i read so many posts my eyes are blurry)-- i thought i flashed the ROM after i downgraded into rc29

i read it, but really hate all things ubuntu...someone once said, "what ubuntu did for linux is similar to what AOL did to the internet"...:D ..

and i think i read it ... is that page here ?? if so, i can do it w/a gui (i think), but really want to get as much cli exp. as i can get...and learn...

this is all for my personal growth, and knowledge..i am dedicated to finding through trial and (more than i want) error's .

i just want to root this g1, and not touch a windows product ever again
[G1 Android Development] :
gparted??????????
[G1 Android Development] tubaking182:
no, i meant the thread with a complete walthrough of even booting into linux from a CD(for those using windows)

HERE

i understand that a lot of people dislike ubuntu for this reason or the other, but most people that wanna run linux to work on their android phone run ubuntu, and those that are just switching over from windows find it easier to use because they can give it a windows layout

and like the guy above me said use gparted
[G1 Android Development] laptopdragon:
hay.. thanks for the link...(sooo many pages)....how awesome is this site.

i guess i can't do it all by cli :(
[G1 Android Development] shafty023:
You can do it all by CLI and that's how I do it. But I don't always suggest follow what I do as I'm a Unix Systems Admin so using the CLI is my daily job.

I do think it's good for people to understand how to do it by hand rather than using a GUI but the end goal here is to get you up and running so if you have to use a GUI then use it.

You are not booting off the sdcard, you are booting from the recovery img which is located on the phone's flash memory and from there you are loading the DREAIMG.nbh file from your sdcard. So no, you do not need to make it bootable.

You want to use fdisk on the block device and not one of its partitions. So you would do /dev/sdb or /dev/sdc depending on the device named assigned to your sdcard. /dev/sdc1 for example means the 1st partition on device /dev/sdc . You will use mkfs against an actual partition, so /dev/sdc1 or /dev/sdc2.
[G1 Android Development] Joushou:
/dev/sdc1 is the first partition of the device, /dev/sdc.

So if your device is named /dev/sdc, /dev/sdc1 would be the partition. If it was sdb, it would have been sdb1 for the first partition.

When you modify the partition-table, you write to the device itself, not the partitions, so fdisk should go to /dev/sdc, while you don't want the FAT to cover the whole disk, but only the partition, so that goes to /dev/sdc1.

In other words, if your device is named sdc, and you create the FAT32 partition as the first partition on the disk, it should be "fdisk /dev/sdc", "mkfs -t vfat /dev/sdc1".

It only reads the file, doesn't boot from it, so you don't have to mark it as bootable.

"0x0B" (0b, b, whatever), is FAT32, WITHOUT long filename support (IIRC). "0x0C" (0c, c whatever), is FAT32 with long filename support. This is preferred.

You extract it, and copy it to the SD, with that exact filename, and in the root of the SD.

... Even though Ubuntu makes a whole lot of things simpler in the GUI, you don't need to use it ;)

I've been using all sorts of *nix's, but i recently reverted my server back to Ubuntu... The hardware support was better, and i just disabled everything GUI, so i sat with a bare Debian base, with a couple of the ubuntu utilities (Such as update-manager, Ubuntu firewall, stuff like that).

I'm a guy that does everything from the terminal, even on my Mac, and i generally avoid GUI's for things that isn't graphical...

But wanting to do everything from the terminal, doesn't mean you have to give away the possibility to do it the easy way... Having gparted, doesn't mean you have to use it, but you have the opportunity if you have green spots from bash ;)

*High five*

*Paints the Windows colors on a Danish flag, and burns it*

... It's already 4 fields, they're just all red, so it's almost the Windows-logo already ;)
[G1 Android Development] laptopdragon:
okokokokok

alls i gotgta say now is

http://

but i think ya both said, i just write to the device (sdb, or sdx (whichever device i used, and yes, i have 2 separate devices),

and i use fdisk to sdx, and makefat to partition "mkfs -t vfat /dev/sdx")). where x=location of device...:)

im just doing it...

and this got outof hand. but thats cool...im down with clarity.

anyone have more info...im all about it..i traded a car amp for a new mobo and proc (for my ole desktop and future Ubu box)...hoi...its still linux..i will do it..

i really want to develop my own theme for my g1
[G1 Android Development] Joushou:
I made a typo! I meant mkfs -t vfat /dev/sdc1! Otherwise you'll be writing FAT to the whole disk, instead of the partition... (sdx(y), x is device, y is partition... If you leave partition out, you're accessing the whole device, thus overwriting the partition-tabel you just made with fdisk)

Never trust someone writing at 00:00, after a crappy day at work ;)
[G1 Android Development] laptopdragon:
thats why i HAD to put those pix in...as soon as i read the 1st reply, and understood it thoroughly..you write the exact oppasite, and have me re-read the whole deal, and do more google commands of the commands...(since tab wasn't helping here)...(maybe i will re-read all the man pages to learn more)

its so epic fail:rolleyes:..to see the perfect thread get extra confusing....(we laugh now)..

btw thanks everyone..
[G1 Android Development] Joushou:
... Try to get a guide for parted, the CLI to libparted, the same backend as gparted use.

It's more self-explanatory, and will take care of more of your problems...

Anyway, a last attempt to explain:

Usually, a disk is built up of several sets of data. At the start, we have the partition-tables, which tell where the data is on the disk, and then we have the partitions.

When Linux detects SCSI block-devices, they will be put in /dev as "sdx", where x is a letter.

If Linux is also capable of detecting a partition-table at the start of the block-device, it will create new nodes, named "sdxy", where x is the same letter as before, and y is a number. The first partition of device "a", will therefore reside in /dev/sda1.

fdisk is a utility to modify partition-tables, and nothing else. Therefore, we need it to point it to the device with the partition-table, and not the partitions themselves, therefore, if we're still working with device "a", we will call fdisk with the arg "/dev/sda"

mkfs is a utility to create a filesystem on a block-device. You can put the filesystem "FAT32" (Which some argue is not actually a filesystem, but lets leave that be) raw on the whole disk, or a partition. The utility won't know a difference, but we want it to stay on a partition, and in this case the partition named "1", of the device "a", so we will call it with "mkfs -t vfat /dev/sda1". This will write FAT32 to what the partition-table defines as partition 1.

Parted is capable of doing both tricks, and gparted will do it all for you with a nice GUI, which is less confusing...

Anyway, you're always free to ask again, if this explanation wasn't good enough...
[G1 Android Development] laptopdragon:
thanks....for the clarification of that typo..which just had me go loopy....and i want to do it all by c.l. if i can (and will learn) ...sure, i have lots of times i used gui's, and they're great...really, but i want to someday write my own gui, and build it w/all the missing commands....(kde4.1 anyone, (or ubu....:rolleyes: ))...

thanks all...i know the cli is a road less traveled, but clearly is the most powerful...
[G1 Android Development] Joushou:
The CLI road is traveled far more than you can imagine... But if you don't know it, you won't find it, as there's no signs pointing it's way...
[G1 Android Development] gomisensei:
How would i mount both partitions (ext4 and fat32) in linux? The script i use to enable UMS is the following:

echo 0 > /sys/devices/virtual/android_usb/android0/enable
umount /mnt/external_sd
echo "mass_storage,adb" > /sys/class/android_usb/android0/functions
echo "/dev/block/vold/179:97" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
echo 1 > /sys/devices/virtual/android_usb/android0/enable

This script get's me /dev/sdb as the fat32 part, but no device for the ext4 part...

but i see

[283278.257522] sr 11:0:0:0: Attached scsi generic sg2 type 5

[283278.260214] sd 11:0:0:1: Attached scsi generic sg3 type 0

in dmesg

(sorry this is not a g1, but the best guide i could find for my purpose)
[HTC Excalibur] jloera:
DOES ANY ONE KNOW WHAT THIS ROM IS?????
[HTC Excalibur] roloracer:
ARE YOU KIDDING????? :mad:

That could be any 6.1 rom or Rose rom with smarttoolkit , NRGZ Miniweather and a diamond wallpaper. Do some research (search) before you freak out and make a stupid thread?
[HTC Excalibur] s1l3nt:
lols wow i agree no stupid thread
[Touch Pro, Fuze Themes and Apps] blix1337:
I installed nueSlidingKB, and have it set up to open the Full QWERTY in portrait and NullKB in landscape. When sliding out the keyboard it doesn't change to NullKB. However, if i manually change it to NullKB, and I slide the keyboard back in it WILL automatically change to Full QWERTY. Any ideas on how to get it to change in landscape?
[Touch GSM General] raymondevil:
Recently I start to get chipmunks sorta pitch on all the sound produced from the phone. Once I soft reset it, the problem goes away but later of the day it comes back. Anyone face this before and is there anyway to fix it? I've hard reset it yesterday night and this morning the chipmunks came back again!! :confused:
[XPERIA X1 General] Gegenki:
Originally I had the vodafone firmware and my email would only work through GPRS or wifi.

I reflashed with firmware R2A generic and it was working fine through both GPRS and wifi.

Randomly one day it just stopped working. I can now only access my email using wifi. I can't log into windows live unless i'm on wifi either, but the internet, google maps and dashwire all work using gprs

Email says

Error Syncronising

and i get a system message saying

Cannot connect wtih current connection settings. To change your connection settings, tap settings.

But obviously I don't know what to change because the other things I mentioned work fine. I get the same problem if I start the data connection first
[XPERIA X1 General] Rudegar:
I would check in settings->connections->connections->advanced-select network

if the 2 dropdown are set to my homenetwork it will only use wifi to access
[XPERIA X1 General] FalkenX:
Please check my topic, i kinda have the same problem......

http://xdaforums.com/showthread.php?t=499221
[G1 Android Development] nexx892:
Can somone upload thier myfavs apk?

Thanks,

Nexx892
[G1 Android Development] jashsu:
Get any RC30/33 based update.zip, open it and extract it yourself from \system\app
[Windows Mobile Apps and Games] At0mAng:
This utility will install Tweaks for TF3D2 and MortScript.

All tweaks in picture below.

​

Download TF3D2 Tweak

Let us know if you would like to see any other tweaks added.

Tweaks will be installed in Programs/Tools/TF3D2 Tweak

Will be making it in standalone form soon.

Thanks!
[Windows Mobile Apps and Games] B4PJS:
Hey Atom, Great Stuff :) Really apreciate the work you are doing and am using your kitchen to cook my own personal ROMs at the mo (though had some fun integrating V1D into it :S)

Any chance you could also provide the OEM package to integrate into your kitchen? Im missing the Rhodium Rotate at the mo

All the best and keep up the awesome work

B
[Windows Mobile Apps and Games] At0mAng:
Thanks! I can not take all the credit for this Danny_and_2 put lots of work into this too. I can post the OEM for this in a little bit.

Thanks!
[Windows Mobile Apps and Games] msalmank:
Works great on xperia!

Thanks!!!!
[Windows Mobile Apps and Games] band27:
I notice I Danny's latest ROM pics. Will try immediately.

Thanks for the share!
[Windows Mobile Apps and Games] THE GRIZZ:
works fine on my xperia should work better as a standalone application.

things to consider doing in a future version

-increase the number columns in applications tab

-ability to change some of the settings without the need of a reboot, just a restart of manilla

-maybe a theme installer if its doable like M2DC

-speaking of m2dc, all the features of that great app

-ability to run from sdcard without installation (very useful for flashaholics)

im sure other users will think of more features to add
[Windows Mobile Apps and Games] At0mAng:
Will see what we can do if your suggestions. A theme installer seems to be something that we can do fairly quickly.
[Windows Mobile Apps and Games] THE GRIZZ:
well if its the quick things you are after, there are already CABs that :

-change the clock to semi transparant flipping clock

-add a forth raw in programs

-make the envelope invisible to show more text from the email

-background for all tabs

-communication manager as a tab

-so many other stuff i missed

why not combine all features in one tf3d2 customiser. it should not be that hard since the cabs of all these functions already available

looking forword for the new version
[Windows Mobile Apps and Games] shaks1979:
This is all excellent stuff. Just one question, how about integrating into one mortscript app with choices. i use something similar for setting the device lock and also have a app like this for turning off the enhanced menus using mortscript. A complete app/mortscript would be cool I think.

Regards & good work both of you.
[Windows Mobile Apps and Games] emss:
I've just tried to turn on the pade "Programms". Page "Programms" apeares, but icons are frezzed. Also I can't slide down the page.
[Windows Mobile Apps and Games] TomasNM:
Internet browser

Hello.

I would like to ask,if is possible to change default Opera to different soft in Internet tab? I don't like Opera:( I did it on TF3D with SSMaPa soft,but it doesn't work with TF3D2.

Thanks in advance
[Windows Mobile Apps and Games] THE GRIZZ:
any updates in the coming few days?
[Windows Mobile Apps and Games] JohnQ:
thanks for the great app. i like the old start menu
[Windows Mobile Apps and Games] DaBountyHunter:
I installed this and tried to do manilla in landscape but after the auto soft reset it doesn't rotate at all. I'm using the stock rom I got with my D2 any idea?

EDIT: Never mind it's working now! Soft resetting again and works fine :D
[Windows Mobile Apps and Games] d3sm0nd:
It works just perfect on my Diamond2. :) Thanks and I hope you're going to do a standalone app because it would be better! Thanks.
[Windows Mobile Apps and Games] cuervo:
Problem with Program tab

I've just installed on stock Diamond2. Rotation works perfect :) Unfortunately Programs tab freezes soft keys to "All programs" and "Remove":( Any solution?
[Windows Mobile Apps and Games] Broman400:
Does not work on Windows Mobile 6.5
[Windows Mobile Apps and Games] Tatsch:
Hi, what is the meaning of the "enhanced notifications" included in this tweak?

Thx
[Windows Mobile Apps and Games] sl_the_hedgehog:
Cannot switch to classic Start Menu on Diamond 2. Any suggestions? :-/
[Windows Mobile Apps and Games] Eyghon:
Thank you very much for that neat little tweak. After some days of unsuccessful searching in the i-net i have finally found the solution for disabling the large menus in the apps. It was very annoying, that the large menus where sometimes not readable after playing awhile with my Diamond2. Sometimes only a restart of TF3D was necessary, but in most of cases i had to soft reset my device.

~Eyghon
[G1 Android Development] heldc:
I've had my apps on my SD card for ages now, and it works great. But, I just installed sweeter home, and while it's awesome, it is also slow as molasses in winter. I figure this is probably because it's installed to the SD card. So I want to move JUST sweeter home to the phone memory, and leave the rest of the apps on the sd.

The only way I can think of to do this tho, is to put sweeter home somewhere in /data (or elsewhere in the phone memory) and then symlink it to the app partition on the sd card. This seems rather rube goldbergian. I was wondering if anyone else could think of a better way of accomplishing the goal of one app in phone memory with the rest on the SD. I searched the forum, but didn't find any relevant posts, quite likely due to not being able to think of good search terms.
[G1 Android Development] Mikey:
if i had to guess copy it into system/app
[G1 Android Development] heldc:
duh, of course. Thanks!

Edit-Sadly, copying it into /system/app didn't work. Neither did leaving the actual file in /system/app and symlinking it to /data/app-private. Ah well.
[G1 Android Development] robstillholdin:
i could also benefit from this if it can be done
[G1 Android Development] heldc:
If I get it to work, I'll let you know. I tried copying it BACK from /system/app to /data/app-private, and it STILL didn't work. Ultimately, I had to reinstall it.
[G1 Android Development] Smokuevo:
rm the symbolic link just for that app??
[G1 Android Development] dwang:
Apps aren't actually run from /data/app, its run from the dalvik cache directory which means ahome's slowness isn't due to apps on sdcard.

Try dxtop its quite fast.
[Touch Pro, Fuze General] PwnCakes193:
When I open up my text messages and slide it open to use the physical keyboard, everything aligns correctly, but then theres a log between what I type and what shows up.

How do you fix it?
[Touch Pro, Fuze General] cyco722:
Best way to fix it from what I've seen is just making sure the memory on your phone isn't being hogged up. Flashing a custom rom (if you havn't done so already) frees up a lot of space as well as using task manager to close out any programs you're not currently using. A soft recent every once in awhile would do the trick also.
[Touch Pro, Fuze General] PwnCakes193:
Yeah I do all of that, I just don't know what it is. The only one that doesn't cause the lag is the 6.5 ROM from Da_G
[Touch Pro, Fuze General] manoli20:
Try this:

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

:)
[Touch Pro, Fuze General] wdkingery:
had a stock rom and it did that by week two, then i flashed to NATF's v4.5s and haven't seen tihs prlem sncie... altho it has only been two weeks. it is a **** pain, but doesn't it get ever letter you hit, just with a delay?
[Touch Diamond, MDA Compact IV General] darksoulsatan:
Hi i have been trying ot figure this out for a while on my Diamond well technically its a FUZE. Everytime i try to send and MMS it just goes right to the outbox and stays there. i have tried sending several different ones with different picture sizes and they are all there sitting in my outbox and im not talking about taking like 30 mins like a month and they are still there can anyone Please hlep me figure this out.