yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Roughly how it works today

The Shutdown thread stops applications, and then tells the Volume Manager to shutdown. After that, the Shutdown thread calls reboot() which calls _reboot() which turns off power.

I think the key is in Volume Manager.

Volume Manager's Java code works with the C++ application "vold".

Volume Manager gets a list of mounted filesystems from vold.

Vold returns a list that it manages, not the same as "df" or "mount" from the command line. That list (at least in Fresh Froyo) does not include /data or /cache.

Volume Manager then, for each filesystem in the list, tells vold to unmount the filesystem. Each filesystem has a timeout, and Volume Manager eventually either finds success or gives up.

The "vold" application can be controlled with a command-line executable called "vdc". Commands like : "vdc volume unmount /sdcard" or "vdc volume list", use the same syntax as Volume Manager uses to talk to vold.

Perhaps the answer to all of this is to get /data registered with vold at startup.

What I have tried, with great failure, is a terrible hack where I modified the implementation of reboot() to call system("/system/bin/rosysdata") before calling _reboot(). Then I created /system/bin/rosysdata to remount /system and /data as r/o. That worked for a couple of shutdowns, but after that caused extreme filesystem failure a few times. It was a bad hack anyway, so I have never committed that.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
If we can get the /data filesystem mounted by vold instead of just mounting it in the bootup scripts, it should get unmounted at shutdown, since VolumeManager gets a list of mounted volumes from vold and unmounts each of them.

I am trying this but don't have much success yet.

Another idea is to get android to execute a shutdown script as it shuts down.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
The old initrd create severl problems with mounting because there was several binding to the data partition.

Now there is only one /data mounted to the partition.

The old script files has the problem with the binding but now they should work.

I think that vold can't be used with data so we need to exec:

sync
mount -o remount,ro /data

in a shutdown script.
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
energy cut

what about when the system crashes and battery has to be removed?

anergy cut ...

What about use different partitions?

/system, /data and /cache as different partitions...

the highest activity of reading and writing happens in /cache. Am I right?

I'll change the nbh and sysinit.rc to meet this.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Isn't /cache a symlink to /data/tmpcache ? couldn't we redirect to /mnt/sdcard/cache ? (or anywhere else ?)
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
Due to these issues I can reboot normally only if I clear Dalvik cache. Maybe it could be automatic on boot lol:)
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
I second this :) or how about we manually enter mount -o remount, ro /data on terminal before turning it off?
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
ohohoh, apparently L1qu1d fixed my issue with the new kernel and the update from http://xdaforums.com/showthread.php?t=848921

Unfortunately wi-fi and data connection is still not working with the update in my kaiser. But L1qu1d may be happy to know that his code inside the update has something that fix data corruption when turning off/on the device.
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
In my test, some data corruption still exists (when lots of widgets and data partition close to full) but is easily corrected by clearing the dalvik-cache, but some apps are lost in the launcher. I still think that unmounting the data partition before turning off or reboot is the best way to prevent this.
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
Since our data is installed in NAND, I don't think "vold" can mount Nand partition. Not too sure though.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
from: http://osdir.com/ml/android-porting/2010-06/msg00279.html

Vold doesn't mount Nand.

Mounting of Nand partitions is done in init.rc

mountd: mount all fs defined in /system/etc/mountd.conf if started,

receive commands through local socket to mount any fs. The source is

in device/system/bin/mountd.

-

Sreekanth

On Jun 24, 5:47 pm, "Dennis.Yxun" <dennis.y...@xxxxxxxxx> wrote:

> HI Community:

> I'm using donut branch, and my system have two block devices, I want them

> all mounted

> 1) nand flash: /dev/block/sdb

> 2) MMC/SD card: /dev/block/mmcblk0

>

> Current, I successfully use vold mount the MMC/SD card

> (/dev/block/vold/179:0 -> /dev/block/mmcblk0)

>

> My question here is :

> Does vold support to mount the Nand Device too? like

> mount /dev/block/sdb to /sdcard/nand

> mount /dev/block/mmcblk0 to /sdcard/mmc

>

> Dennis

is this true? :(
[EVO 4G Accessories] hevito:
I purchased the LiveStrong hard case about 2 months ago and I must say, this thing sure is built tough. I've dropped my phone on concrete several times and the phone doesn't have a scratch. It has elevated sides and its a tight fit. Plus the color is the catchy yellow.

It has begun..
[EVO 4G Accessories] wmdunn:
How about a link ...
[EVO 4G Accessories] backdown:
Its available at radioshack, and is 30$

If you don't mind the obnoxious yellow color, and it saying livestrong all down the back of it, its a great case. Nice feel and great build to it.

http://www.radioshack.com/product/index.jsp?productId=4489399
[EVO 4G Accessories] SpaceMonky:
$30??

for 5 more you can get the trident cyclops...
[EVO 4G Accessories] hevito:
I bought it for 15. I don't mind the yellow, plus its for a great cause.

It has begun...
[EVO 4G Accessories] Saturn2K:
Your signature is really annoying.

It has begun...
[EVO 4G Accessories] OneStepAhead:
ha! my thoughts exactly.
[Touch Pro2 CDMA] Bohn101:
Any one who has received the following error:

"Hard-SPL is for non-commercial purposes only, we have detected that you appear to already have unlocked another device, if you wish you unlock commercially, please e-mail contactchan@freemail.hu or olipro@gmail.com to discuss solutions; However if this is your first device, then please ensure that the radio is turned ON and retry"

I wanted to share my experience. I've read countless pages from the xda and ppcg forums, trying to decide whether or not to make a payment of £4.00 GBP to regain the ability to unlock my seemingly blacklisted device.

I wanted to know if making payment would work specifically for my situation which was:

New Sprint Touch Pro2 with an original SPL of 0.72 and running Windows 7.

I found a reference of a Sprint user paying and immediately being able to unlock and after getting a response from razorloves. Today I decided to make payment, not being interested in waiting a month for my open ticket to be answered.

Here were my exact steps:

1. Connected TP2 to computer.

2. Opened RhodiumW-HardSPL_V1_10R3.exe

3. Selected Flash Hard-SPL (Automatic flash)

4. Received error message about non-commercial use.

5. Selected Yes (would like to make donation)

6. Was taken to http://rhodiumw.htc-unlocks.com/hardspl.php and selected Donate With PayPal

7. Logged into PayPal and made payment.

8. Repeated steps 1, 2, 3.

9. Continued unlock process, completed successfully.

The reason I started this thread is because I spent so much time looking for the specific answers. I agree, the developers have not been helpful to the community as of late. They should update all their posts and indicate that after the first free unlock, you are likely going to be required to make payment if you'd like a speedy unlock if your device is blacklisted.

I thought the developers deserved a little retribution.

My other posts on the topic:

http://xdaforums.com/showpost.php?p=8872805&postcount=313

http://forum.ppcgeeks.com/htc-touch-pro-2/134299-hspl-unlock-cdma-have-you-recently-unlocked-8.html#post1983203
[Touch Pro2 CDMA] apetrovsky:
Same here.. paid money for spl and sim unlocker .

but didn't work nether. and thats my second touch pro two first one was unlocked no issues and replacment no luck even after paying money.

opened ticket waiting waiting waiting

while not having working phone .
[Touch Pro2 CDMA] StupidCid:
gratitude

should just be glad that they make the first one free and not complain because you didn't want to wait for them to work it out for free:D
[Touch Pro2 CDMA] Olipro:
I did tell her that she really needs to make it very clear in the application what the deal is, since she's sort of returned now I'll see if I can get her to turn out a new version that makes it clearer, I did try to alleviate it a bit by adding the info into an autoreply on the ticket system, but in any case, the Hard-SPL stuff is dealt with by her, not me.

a word to the wise: if the purchase page presents you with an IMEI box to fill in, if you don't fill it in with your actual IMEI and instead you just pay using the 12345678901234 IMEI - IT WILL NOT WORK, the point of not filling it in is for people who successfully unlocked and simply want to donate... so the lesson here is don't be a dumbass, although equally, if it doesn't display your IMEI that means it had an issue with the device, in which case stick a SIM in it and put it on GSM/UMTS only mode, tends to work wonders.

Those wondering about the state of play with reply time, I heartily recommend you go read my post in the SIM/CID/Sec thread
[Touch Pro2 CDMA] lovray21:
im pissed too

i bought the sim unlocker for $18 us dollars & no matter what i do it doesnt work.
[Touch Pro2 CDMA] Dr.8820:
please be specific...thanks!
[Touch Pro2 CDMA] cajunflavoredbob:
cmonex has been answering tickets and posts again lately. If you have a ticket, update it, and she will answer it.
[Touch Pro2 CDMA] Dr.8820:
cmonex is a woman :).
[Touch Pro2 CDMA] cajunflavoredbob:
lol. Oops. Post edited. Thanks. :)
[Touch Pro2 CDMA] DJ_MiX:
what pisses me off they call this donationware.. it's not and do they even donate any proceeds to xda?
[Touch Pro2 CDMA] Raul^:
I know comonex a little from "old times" of hpc, and I remember that she always were helpful. She did a lot to community , for free.

Is it that bad that she would like some money for her work?

I'm pretty sure that if there was some slowness in responding to mail, she had a good reason.

Nobody is forced to donate, they can still use phones with branded roms. Or sell them and buy one that doesn't need to be "unlocked".
[Touch Pro2 CDMA] tipzjames:
I paid about $20 - It didn't work. I understand why though. I dont have the phone activated (and I dont have sprint) so no internet; which I've since read the process needs OTA internet (because wifi disconnects when plugged into the PC). I'm sure the real process to unlock the security doesn't need the access to the web but they gotta make sure you paid. $-) I've had a ticket open for weeks, updated twice - no response. If your going to run a business (donationware ???) customer service is a must, otherwise you have unhappy customers like me - who do not recommend your product. SAVE YOUR MONEY - ITS A STINKY TURD - Maybe once (if) my issue gets resolved I'll retract my above statements.
[Touch Pro2 CDMA] smcpartlin:
Just trying to figure this out.

I would be considered a commercial customer. I want the ability to put new roms on our companies phones when it is needed. If that costs money the. So be it.

Really what I care about is the quality of the rom. I do not have all day to play with this stuff. We have phones that are annoying our users.. Htc and Verizon loaded these phones up with a pile of junk that the users never use.

I need a rom that is easy to flash like the Verizon / htc roms.

They need battery life.

They need to be able to answer the phone. This is actually some the users have trouble doing with the stock roms.

They need the phone to sync with exchange and use email in push mode.

Navigation would be nice...

Bluetooth is needed.

Web browser and Microsoft store/market is last.

I would pay anyone for a working Rom and the ability to update phones. (phones break, a lot) I don't want to keep track of imei numbers or anything like that.

We are behind a class c ip address so as far as I am concerned that's good enough for me to validate who we are. Otherwise give me a user account.

So whats so wrong with these folks?
[Touch Pro2 CDMA] radiowatcher_06:
I just wanted to thank Olipro & cmonex for their hard work for hard SPL, SIM unlocker, and hacked radios. However I do have one complaint, I bought the SIM unlocker and tried to apply on phone when I got a message to check e-mail. E-mail message stated I needed to wait 48 hours because my location didn't match with my billing address. I dont have a problem with some sort of fraud protection built it, but it obviously doesn't work properly seeing that my location was exactly the same as my billing address. Hope it works in the next 48 hours, or I'll be really pissed.
[Touch Pro2 CDMA] Raul^:
Try to contact them by mail, maybe something went wrong (e-mail wasn't delivered ?).
[Touch Pro2 CDMA] sapperpipo:
Ive flashed to phones both tp2 cdma using olipro and cmonex website with no issues

I paid for both unlocks each time and BAM instant unlock both times I even donated a little more for extra support which I never used but I did email olipro before I paid again when I got the second phone and the email was answered that same day within a few hours because I forgot the process and he gave me great advice, I dont know much about phones being on the blacklist, bad imei I guess, I was at the sprint store picking up some accessories and there was this dumba$$ showing off his phone that he flashed over to a new rom to the sales rep and the rep politely asked for his phone number and name and cancelled his total equipment replacement warranty plan for modifying the phone and he can never get it back, that dude was pissed, but it was his own fault for being a dumbass,

I had to do a return once and wasnt able to relock my phone so I ran it over with my car a few times til it no longer powered on turned it in and presto got a new tp2 Ive got no complaints about the htc unlocks crew on my next phone Im going to go with the commercial unlock option, thanks olipro and cmonex :) I have found out the only issue is that when ppl try to get the unlocker for free, they complain and complain but think about would Bill Gates send you a free copy of windows 7 just because you bought a laptop with XP I dont think so, or another way to look at it is would you to to work for free? I dont think so either. quit being cheap and pay the 8 euros.

if your offended at what I am saying you must be among the many who want something for nothing, this is america GET REAL!
[Milestone XT720 General] Hahutzy:
Greetings to all devs and mods,

I am writing here toady to propose the additional of a subforum for Milestone XT720 under the Motorola Milestone forum.

Currently, all XT720 developments from users are posted under the Milestone subforum.

Initially, it was ok because there were only few threads on the XT720 anyway.

But as XT720 development matures, I believe that the Milestone forum will become very messy with a mix of Milestone and Milestone XT720 topics.

Therefore, I suggest adding a separate subforum for Milestone XT720.

The directory will be as follows:

Home > Motorola Droid and Milestone > Motorola Milestone XT720 Android Development

Thank you for your attention.

-Hahutzy
[Milestone XT720 General] Beako:
+1

Having the XT720 share a forum with the Milestone/Droid forum is kind of annoying.
[Milestone XT720 General] pajo985:
+1

totally agree
[Milestone XT720 General] khrislee:
+1

support
[Milestone XT720 General] khalpowers:
+1

support too!
[Milestone XT720 General] desean:
+1

i agree since milestone & milestone XT is quite different
[Milestone XT720 General] tirex10:
+1

totally agree
[Milestone XT720 General] vsviridov:
add all the "+1"s from here

http://xdaforums.com/showthread.php?t=724051
[Milestone XT720 General] xhawk:
+1

totally agree
[Milestone XT720 General] bukor:
Also it is somehow misleading if you have just bought the device and try to install milestone recovery or custom roms. :confused:

Motorola upgrade website is also same, they just say milestone in upgrade calender. (no mention of xt720)
[Milestone XT720 General] darren_soh86:
+1. we hope to have our space. Pls?
[Milestone XT720 General] reverendkjr:
I JUST bought this phone, so I would also like to see this happen. It is rather confusing that this phone shares a name with another model which is COMPLETELY different.
[Milestone XT720 General] bt1980:
Well I'm an N1 user; but I have a buddy who just got the XT720 and I'm voting +1 on his behalf.
[Milestone XT720 General] iolo79:
+1

support
[Milestone XT720 General] everest007:
+1 I have it too.
[Milestone XT720 General] pijes:
+10 (i have 9 friends using this phone) :D
[Milestone XT720 General] resar:
+1 we really need this
[Milestone XT720 General] bigmouth:
Yes Please!

+1 (just bought it yesterday and rooted... would love to see usb tether and Froyo like I have on my Tilt)
[Milestone XT720 General] chosungho:
+1

I want to meet custom rom of xt720!!!
[Milestone XT720 General] pyramis:
XT720 needs its own forum.

I flashed endless times something that did not work, before realizing that it was belonging to the other phone.

Time is precious, not everyone can be on forums for a long time.

Add this XT720 too, thank you.
[Milestone XT720 General] Tasixxx:
+1

totally agree !
[Milestone XT720 General] komos:
+1 req from a xt720 user here
[Milestone XT720 General] Hahutzy:
Anyone know of a better way to get the mods to read this? Because we're really in dire need of a subsection at least..
[Milestone XT720 General] palladin9479:
I think their not even paying attention... been a few "make our own forum" threads.
[Milestone XT720 General] mingkee:
+1 for me because I have XT720 and I found everything is for Milestone.
[Milestone XT720 General] DaveShaw:
The mods can't do anything :o

Only the admins have access to create / rearrange forums.

You could try P.M'ing svetius and seeing what he says - maybe it's been overlooked,

Dave
[Milestone XT720 General] serg675:
+1. Count me too
[Milestone XT720 General] reaperzero:
im definately sold on this

signed
[Milestone XT720 General] ranggie4:
+1

We need this
[Milestone XT720 General] mwcrowley:
registered just to say +1

thanks,
[Milestone XT720 General] dcarr622:
This is a dire need...it's not fair to either regular Milestone owners or XT720 owners that everything is jumbled together.

It would take 30 mins of work to create the subforum and move relevant posts, I'd love to see it happen!
[Milestone XT720 General] hellmonger:
+1

totally agree !
[Milestone XT720 General] torquadon:
+1, I mostly use HT HD2, but recently get my hands on XT720 and it would be useful to have separate section for it.
[Milestone XT720 General] mx2:
+1 PLEASE!!
[Milestone XT720 General] 3rdstring:
+1 Hopin for froyo on teh us XT720
[Milestone XT720 General] motovip:
+1

+1 Please..........................
[Milestone XT720 General] lennyoks:
+1 please make this happen
[Milestone XT720 General] josephguillermo:
+1 here i will be glad also
[Milestone XT720 General] :
Motorola Milestone XT720 user from The Netherlands here :)

I also love to have a new subsection for this phone :)
[Milestone XT720 General] AllGamer:
+1

currently it is extremely confusing on the Droid / Milestone fora

as there is really 2+ different models of Milestone

the original Motorola Milestone is completely different than the Motorola Milestone XT720

very similar to the case with Samsung Galaxy S Vibrant i9000m vs Samsung Galaxy S Vibrant SGH-T959
[Milestone XT720 General] ToTTenTranz:
+1

Just bought this phone.

It's been 2 months since the original request, I wonder what's seems to be so bad about creating a sub-forum?
[Milestone XT720 General] AllGamer:
no news from me end either
[Milestone XT720 General] lukemilton:
+1

Need this
[Milestone XT720 General] AllGamer:
Yay! the new XT720 forum is up!
[Milestone XT720 General] Hahutzy:
I want to thank the_scotsman, AllGamer, and svetius for making this happen!
[Milestone XT720 General] spiderx_mm:
thanks a lot guys!!! new sub-forum finally!!!
[Milestone XT720 General] tantnt:
Really supports!
[Milestone XT720 General] AllGamer:
Thanks for every one supports!!!

now if we could get some ROM cooking going on, that will make everything well worth it ;)
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] ascottuk:
hey guys

had an issue today, traded a desire for a HD2 as i really wanted to go back to winmo (crazy most people will think)

Now when i revieved the phone i turned it on everything seemed fine for about 20 mins (note i never used the phone apart from make a call to test)

by the time i had left after a good chat, i checked the phone back at work at it was turned off, i plugged in the charger, the little notification came on and i left it to charge, an hour later after a meeting i turned on the phone, it booted into windows and then after loading sense it crashed and restarted then got stuck on the splash screen

numerous battery pulls and the same issues, gets into windows doesnt load sense, freezes and blank screen, when i battery pull and turn on 90% stuck on the splash screen

installed a rom from the memory card (stock) worked for 10 minutes same issue

any ideas?

do you reckon iv been given a knackered phone?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] ascottuk:
anyone? iv managed to get it to boot, but after around 10 minutes, it just turns itself back on, pauses at the htc screen, then reboots again and gets into windows, then 10 minutes later does the same, i flashed to the most recent wwe firmware from htc, after it managed to stay on long enough to sync to the pc

im stumped
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] abhavananda:
http://xdaforums.com/showthread.php?t=683168

Check the three little 'fingers' connecting to the battery.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] ascottuk:
checked already, found that on a search earlier, im now getting the phone vibrating repeatedly on startup on the splash screen

i think its a dud phone

please guys any ideas im all out
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] clauswl:
Had similar issue with my phone, random reboots after phone was working for a bit, stuck on bootscreen without displaying radio, partitions etc.

Called HTC, was a hardware issue obviously, the sent me a new replacement phon (warranty).
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] jigners:
if you have HSPL

1. Task 29

2. when stuck in blank screen - pull battery out

3. bootloader

4. connect back to pc via usb

5. flash any stock ROM (not the latest 3.14 as it will change your HSPL)
[Epic 4G General] SwimDrewid:
I've looked through the Android APIs for an api or detection for when the user slides out the keyboard, but it looks like the hardware package only has sensor and camera apis.

[edit]

Found the configure class within the android.content.res package (http://developer.android.com/reference/android/content/res/Configuration.html) which has public int hardKeyboardHidden, which returns 3 int constants: HARDKEYBOARDHIDDEN_NO, HARDKEYBOARDHIDDEN_UNDEFINED, HARDKEYBOARDHIDDEN_YES

However, I do not see an event for when the keyboard is activated.

[/edit]

Obviously some layer of the OS can detect when the keyboard slides out, rotation turns to (and locks at) portrait view. Is this indigenous to Samsung? Or is this somewhere in Android?

There is nothing stock to my phone, and I am uncertain if the kernel (fluff) and rom (ee) rely on any snippets of code Samsung bakes into Android or if they use solely Android code.

Thanks,

Drew
[Epic 4G General] mkasick:
Take a look at ConnectBot's ConsoleActivity.java. It hooks android.app.Activity::onConfigurationChanged and checks for HARDKEYBOARDHIDDEN_YES in the new configuration.
[Epic 4G General] SwimDrewid:
Awesome. Thanks