yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] ulakala:
ver 2,0r6 - no ringtone and notifications

hi.... first....excuse me for my bad english.....

i've installed ver 2.0r6 2 times but there isn't notifications and ringtones when call me..... can u help me?

tnx
[G1 Android Development] Aquilo:
He's pushing the akm from a previous build, though he hasn't specified which one?

Update: Looks like the CyanogenMod 3.5.2 akmd. I'll give it a try when I'm done setting up.

Update 2: No luck. Trying a reboot, but I'm doubtful. Some lines from the boot sequence look interesting, though...

W/HAL ( 115): load: module=/system/lib/hw/sensors.trout.so error=Cannot find library
D/Sensors ( 115): open_akm, fd=-1

E/Sensors ( 115): Couldn't open /dev/akm8973_aot (No such file or directory)

D/Sensors ( 115): using /dev/input/event4 (name=compass)

Naturally, these could mean nothing (I'm just starting to experiment with Android builds), but they look fairly suspect to me.
[G1 Android Development] Jerzdre:
anyone having problems with the terminal(PHONE)?when i click on terminal it keeps me a force close prompt
[G1 Android Development] otto888:
On 2.0r6 all apps in /data/app show the file name (example: com.android.mail) and when i try to launch them,they force close. Does anyone else have this bug?
[G1 Android Development] dbhatesyou:
yea i edited my previous post .. its morning.. im groggy.. and missed 3 reversions already.. meh.. time to get back to debuggering.
[G1 Android Development] lilladyo2cute:
To JAC

I just wanted to say thanks for stayin up last night bustin ur ass to get this build to where it is now. everything is awsome. I would give u a big hug and kiss if i could see you. its great. thanks for all ur hard work and whatever is to come.
[G1 Android Development] Bavilo:
Yea please upload the akmd you sued to make the G-Sensor work.

That way it can be submitted into the next build

Thanks!
[G1 Android Development] dbhatesyou:
can anyone else confirm loss of music while trying the sensors?
[G1 Android Development] juangil:
Thank you very Much! that helped:)
[G1 Android Development] Nismo300zx:
in the other hero thread i am seeing posts that it has the new adboe flash 10 and that people are able to watchthe videos on hulu..while on jacs version i get stuck at the loading screen...any1 care to shed some light on this?
[G1 Android Development] Franklees:
check your messages
[G1 Android Development] Mighty07:
The sound problem seems to be related to MP3 usage.

I got the following errors:

------

D/MediaPlayerService( 34): new Mp3HwPlayer

D/Mp3HwPlayer( 34): ID:9, open AudioStreamOut

E/AudioHardwareMSM72XX( 34): Cannot set mp3 volume

E/Mp3HwPlayer( 34): ID:9, render() : Error in writing:-1

D/Mp3HwPlayer( 34): ID:9, close AudioStream

I/AudioHardwareMSM72XX( 34): closeOutputStream. out->format()=4

I/AudioHardwareMSM72XX( 34): AudioHardware MP3 playback is going to standby.

I/ActivityManager( 108): Process android.process.media (pid 869) has died.

------

If instead a app is used that uses pcm, or i simply doesn't need mp3 decoding it works. Like playing a normal wav file.
[G1 Android Development] Jerzdre:
**************************BUGS*********************************

1.a tad bit laggy

2.can access gtalk BUT not get gmails.

thats about it
[G1 Android Development] dbhatesyou:
since i dont use hulu or really care much for the whole video sense , i dunno much about this, BUT with some insite im going to assume it's like the youtube HQ (wifi enabled/3g) because if you were on edge, well you should understand that, but ill look into it.
[G1 Android Development] Nismo300zx:
well it cant be that because im always on wifi and im like 10 feet away from the router..but thanks lemme know if u come up with anything
[G1 Android Development] komposure85:
that is interesting info. what is that thread link because the forums that i'm viewing do not mention Flash 10
[G1 Android Development] juangil:
to all of you still having lag issues I recommend you to make a third partition dedicated to swapper, I am using it and have widgets in all screens with no lag at all, my third partition is formatted with linux swap-fs and 32Mb in size with swappiness of 20

P.S. my music player is working as well and I can set ringtones, wallpaper to lockscreen and is running all smooth:)
[G1 Android Development] Nismo300zx:
heres the post

http://xdaforums.com/showpost.php?p=4049089&postcount=137

and the thread

http://xdaforums.com/showthread.php?t=531690
[G1 Android Development] Nismo300zx:
can u give a lil step by step walkthrough? not sure i understand it right
[G1 Android Development] dbhatesyou:
looking further into the hulu i get video unavailable browser/cache
[G1 Android Development] pramods:
This version Flash works, I tried it and it worked with sound

D/FlashView( 582): surfaceCreated

D/FlashView( 582): Resize

I/FlashLite( 582): setSurface ok

D/FlashView( 582): resume

I/ActivityManager( 69): Displayed activity com.htc.flash/.SingleViewActivity: 1753 ms

I/FlashLite( 582): O/P:Opening the sound device

I/FlashLite( 582): O/P:channels:2, sampleSize:16, sampleRate:22050 fragmentSize = 16384

I/FlashLite( 582): O/P:Opened the sound device

I/FlashLite( 582): O/P:Downloading URL 6:'http://video-stats.video.google.com/s?ns=yt&docid=U3KCelEtUeU&el=embedded&ps=chromeless&eurl=http%3A%2F%2Fwww%2Eyoutube%2Ecom%2Fapiplayer&rt=112.186&splay=1&plid=AARtkYCYxkCqeG2r&fmt=5&c=ytapi-htc-flashapp&md=1&sd=B4A7D0406&bc=401418&len=295.067&st=0.133&et=0.133&fv=AFL%209%2C1%2C122%2C0'

I/AudioHardwareMSM72XX( 34): AUDIO_START: start kernel pcm_out driver.

So the sound problem is only with MP3 player, need to look more at the log, only problem is speed, it seems G1 is gaspping for memory with hero loaded.

-Pramod
[G1 Android Development] sxfx:
I can definitely second that. Make a small 60mb swap partition.

Im still on R3 but thats cause I can live with out Camera and all the other small bugs.

Oh sounds seem to be working perfectly for me in R3 too. Il probably wait for BT to work as my next mile stone to flash again.

Keep up the good work.

oh btw this inspired me to write my first hello world for the Android hehe.
[G1 Android Development] pentace:
This build will be missing any paid apps on the market that are made for 1.5

So ive pinpointed this to anything made for 1.5 or higher and is a paid app will be missing off the market with this hero build
[G1 Android Development] juangil:
I have saved from another thread (forgot the link)

but credit to whom deserved:)

Here are the steps:

1. Setup a 3rd partition (linux-swap fs) on your sdcard after the ext2 partition.

I used gparted live cd to do this

http://gparted.sourceforge.net/livecd.php

2. Boot up your phone and goto adb shell

3. Setup the swap partition

mkswap /dev/block/mmcblk0p3

4. Enable the swap partition

swapon /dev/block/mmcblk0p3

5. Change the swappiness. I'm using 30

echo 30 > /proc/sys/vm/swappiness

6. Run 'free' to see that its enabled

# free

free

total used free shared buffers

Mem: 97952 96124 1828 0 500

Swap: 24088 22900 1188

Total: 122040 119024 3016

NOTE: swapper does need to be turn on every time you boot, I have a script to do it in terminal or ADB, Also my settings are diff in swappiness =20 and already tried with 24MB partition but I have to re sized after upgrading to jac 2.0 b/cuz it was using all of the 24MB so now I have 32MB swap partition (the larger the swap partition the slower will work)

Note2:Do Not use the built in swapper app (instead remove it) since you will be creating a swap already with ADB
[G1 Android Development] Mighty07:
As weird as it may sound it worked!

Just open the Music player, make sure it lists a music then press menu and choose the open to define as ringtone.

Then choose the type of ringtone you want and that's it.

After reboot sound works with MP3's.
[G1 Android Development] Nismo300zx:
thanks gonna try it out when i get a chance
[G1 Android Development] harman2:
ok nice job ?

onlly one thing is vadermi no incoming call ringtone is more importan than anyting other den that is good:rolleyes:
[G1 Android Development] juangil:
I did that but no need it to reboot, it just worked:)
[G1 Android Development] Bavilo:
I just tried this and it seems that these settings are lost after a reboot.

Any way to make them autoload?
[G1 Android Development] Jerzdre:
ehhhh,i downloaded a swapper and put it on my phone but seems 2 be having alot of force close...is there a way i can go back 2 the previous swapper that came with the phone? or do i have 2 take this build off and reapply the rom again?
[G1 Android Development] Jefpier:
Go to Lucid Rem thread and run his script or go to Marcus M. thread and download his app and follow his directions.
[G1 Android Development] atoml:
.. I have a problem...

"Clock widget could not be installed on this phone"

I can't install anything..

I also can't instal apps from market..
[G1 Android Development] juanolo:
you must to change the permissions for /data/app:

su
chmod 777 /data/app
[G1 Android Development] atoml:
Super THX

you are the best;)
[G1 Android Development] rsfaze:
first off awesome speed with Rosie. I did a wipe and install everything went smooth, installed the widgets but the HTC clock and weather both crash when trying to add them to the home screen.

Anyone else run into this?
[G1 Android Development] ifonie:
that's why jac removed the R1.5 - a lot of force closes - everything fine with the widgets in R1.4 ;)
[G1 Android Development] nurre:
Just double checking, to install without having the spl/apps2sd etc, will this work? - these "instructions" are for myself, and are untested. Do not confuse it with a tutorial.

1 : Made sure phone is PVT and not DVT (booted with camera+power buttons held).

#Flashing new radio:

1 : Put radio update on fat32 partitioned sdcard as update.zip

2 : boot recovery, update, let it reboot a few times.

#Apps2sd preparation:

1 : partition sdcard, fat32 partition 1, ext2 partition 2

#Installing new spl + rom:

1 : put spl on memory card as update.zip

2 : boot recovery and install update.zip

3 : without doing anything, take out memory card, put it in computer, replace update.zip with new rom

4 : on phone click alt+x, if it doesn't reboot write reboot recovery

4 : wipe + install new rom

5 : continue from step 2 on front page.
[G1 Android Development] cl2eep:
So I've noticed on this build, and when I was experimenting with moving Rosie to internal myself that it you remotely touch/move the browser or FlashPlayer, that flash stops working. Currently, with AppsToSD, Flashplayer does not work, I can confirm this with many sites. Suggestions to get this working again?
[G1 Android Development] jmon777:
Sounds like an sd card issue. I had that issue going from here to the rom I'm running now you. May need to format your ext2 or 3 or whatever it is.
[G1 Android Development] andyandrwew:
QuickQuestion

What do i need to do if i need more memory in my /system/sd (appstosd folder)??
[G1 Android Development] free-sidux:
shrink your fat and expand your ext2 partition (e.g. using gparted)
[G1 Android Development] manup456:
Is there anyone who knows how to fix the rotation when keys are out this is a big problem and sure help is never turned down. I think the build is preety fast can you remove tutorials i seen this asked before but it could really go as well as QuickOffice i had the market version and the wap browser should be the wak browser lol....no but its really not needed and making it 5 screens instead of 7 and we will be looking good. Bluetooth i see is going in another thread so hopefully that comes soon.

Has anyone heard from Haykuro i'm sure he has answers to some of this stuff.
[G1 Android Development] hekuiman:
apps 2sd

do you have to do that whole apps2sd thing or is that optional cant i just download this rom and roll with that:confused:
[G1 Android Development] Nikeem24:
Yes, you should be able to.
[G1 Android Development] rsfaze:
but I am on 1.4. I have 1.5 downloaded but never flashed it. All other widgets work fine but the weather and clock both let me choose them, pick which layout I want but when I hit select it takes a moment then it those two widgets will crash.... I guess I will wipe and reinstall and try again, not sure of what else to look at. I've tried the uninstall and reinstall of the widgets but same issue.
[G1 Android Development] aaronkt:
thanks a ton. Turns out it was checked as working. I had to uncheck it and check it again and the calendar sync'd.

thanks, good build. fastest hero yet. I wish i could lend a hand getting bluetooth working. But alas i dont have the skills in this area. Keep up the great work.
[G1 Android Development] tato22:
wich one would u guys go for 1.4 or 1.5
[G1 Android Development] Jefpier:
Why u are asking the same question?
[G1 Android Development] no6969el:
well considering he took down 1.5... i would go with 1.4

ive been trying to read these threads to see if flash is in 1.4? I dont know if its me and my inability to find a supported flash page.. or. its just not in it.lol!!!

Anyways to comment on the build, I think rosie is nice, I prefer to disable it though for performance and use just the hero build.
[G1 Android Development] tato22:
cuz i want to and the 1 time i asked no one said anything thats why u can always look away =)
[G1 Android Development] juangil:
you need to re-do step 4 and 5 after every reboot unless you use and script, either way need to be done via adb or terminal

I use adb, it just take a sec
[G1 Android Development] Aquilo:
I managed to get my accelerometer working.

To to this: I transplanted sensors.trout.so & lights.trout.so (lights is probably not required, but I figured it can't hurt that much.) from /system/lib/hw (JACHer 1.8.4b4) to /system/lib/hw on my device.

This, in combination with the Cyanogen 3.5.2 akmd, let Bubble work correctly on my device. I daresay you could also use the JACHero 1.8.4 akmd also, but I've not tried it.

A reboot is required. :)
[G1 Android Development] kobz1973:
Can anyone sign into there google account using this version ?? if so how do you do it ? i got force close constantly during the google setup ...
[G1 Android Development] juangil:
I wiped twice before applying the jac 2.0 and was able to sign in google, twitter and facebook during setup, no FC at all
[G1 Android Development] buttsbuttsbutts:
One new bug to report:

It appears that the Alarm does not ring if you have the phone in vibrate.
[G1 Android Development] RaiderX303:
anyone managed to get sms working properly? im only receiving some messages, not all
[G1 Android Development] harman2:
ok nice jod both i have to go back to 1.8b4 becouse ine the pleyer and the ringtone i can whaith to the update we help whith that thanks
[G1 Android Development] kobz1973:
what is jav 2.0 ???

*EDIT* Sorry ... ooops ...
[G1 Android Development] blackgin:
Some sms messages are not received with this rom, could you fix this?
[G1 Android Development] Nismo300zx:
can u post the commands u used?
[G1 Android Development] Bavilo:
Could anyone tell me a way of replacing the runme.sh with a modification of mine?

I would like to try something with swapping
[G1 Android Development] juangil:
well if you know how to use ADB

ADB push <wherever your file is> <wherever the location he mentioned>
[G1 Android Development] xOrphenochx:
This one has been there for a few revisions.
[G1 Android Development] Nismo300zx:
no problem im just having some difficulty with the akmd file..as i dont know if i have to rename it or just copy it over

edit...im trying to put the files in the update.zip first sign it then flash ...i just wanna do it right
[G1 Android Development] Jerzdre:
if i edit some things and restart it bootloops or it keeps me stuck at the tmobile g1 logo...any suggestions 2 me fixing this problem?
[G1 Android Development] lilladyo2cute:
can someone post how to make ringtones work i keep seeing things about sound but my sound works in music player and around the phone just wont ring when someone calls. how do i fix?
[G1 Android Development] Aquilo:
Having moved the relevant files to my adb directory...

adb remount
adb push sensors.trout.so /system/lib/hw
adb push lights.trout.so /system/lib/hw
adb push akmd /system/bin/akm8973_t
adb shell
mv /system/bin/akm8973 /system/bin/akmHERO
mv /system/bin/akm8973_t /system/bin/akm8973
chmod 775 akm8973
exit
adb reboot

That should do it. Naturally, mine were a bit spaced out, and they're long gone from my terminal.
[G1 Android Development] dbhatesyou:
How about everyone stops posting "THIS DOESNT WORK FIX IT" and start posting "i tried modifying this, and now it works heres how to fix it" this way we can get things working, and instead of having 40 posts of "this doesnt work" and someone actually posts a way to fix something... like me fixing keychars, and then 20 people kept posting keyboard doesnt work right... remember this is the DEV forum not a this doesnt work forum.. lets get things working and stop *****ing about what doesnt work. ok.. this thread itself jumped over 100 pages in the course of 1 day and a lot of of it is this doesnt work.. how do i fix it even when a fix was posted.

clear out the clutter and start posting things that help. and if you have an idea, try it. if it doesnt work, dont post it.
[G1 Android Development] Nismo300zx:
so theoretically i can just copy the files into update.zip and sign it and evrything will work....im just not sure about the chmod command and how would that work if i just put the files in the update...would i have to chmod it as soon as it boots up?
[G1 Android Development] harman2:
you are rigth
[G1 Android Development] sxfx:
If Im using linux, can I just copy and paste the files where they need to be?

Or does adb do something special while it pushes the file?
[G1 Android Development] Bavilo:
could anyone please enlighten me on how I can modify the runme.sh file?

It says it's Read-Only, and I can't seem to change the permission on it.

Help please :)
[G1 Android Development] lilladyo2cute:
I kinda understand where you are coming from, but if people don't post what doesn't work, how are people gonna know what to fix? Everyone is not tech savy, so if something isn't working properly they have to post it to find out how to fix it because they don't know anything to try. You can't just assume everyone knows how to fix the bugs. Plus when one person is having a problem pretty sure alot of others are too, so when the problem is posteed and the answer is posted it helped more than one person. Everyone needs to just start reading more to cut out all of the double posts. Please be kind to those of us who arent as tech savy as you, we all want the same thing, a great build that works great, so please lets all work together here. thanks
[G1 Android Development] dbhatesyou:
20mins later waiting for a page to load... damn xda lag.. anyways this whole point is yes, there are errors, look around see if its posted, if it has. wait till someone fixes it. im just wanting the page posting to go down so people have a chance to actually readsomething before another 20 pages pop up. it would be nice if we can get fixes instead of "fix it" and before its been said i dunno how many times, but pm issues to JAC , he doesnt have the time to read everything in the thread.
[G1 Android Development] Aquilo:
Are you using adb?

If so, have you issued the "adb remount" command before you start trying to modify?

--

Regarding integrating the sensor files into an update.zip, I really can't be sure, having not built an update.zip myself yet :P

Why not give it a try, or wait until justanothercrowd gets around to integrating it into a later release?
[G1 Android Development] juangil:
really easy: Reading...

was posted just couple of pages back;)
[G1 Android Development] phantasm714:
agree with both of you. post issues ONLY if they havent been posted.
[G1 Android Development] chrisrj28:
Yes I second this, I understand this is a Dev forum but we are all trying to contribute to making this Rom usable. It would definately help if new posters in this thread would actually take time to read the whole thing. I have seen countless questions about the same thing that has been answered numerous times. I started in this thread since JACs first post and I have read every page. True there are answers buried in pages back but if we could stop the double posting and actually read through this thread would be much easier to follow. I left it yesterday evening and got back in this morning and spent the last 2 hours reading through pages to get caught up. I can't tell you how many questions I saw posted that have been answered.

Anyway let's all read first and then ask. That will help this thread so much more.
[G1 Android Development] lilladyo2cute:
I obviously can't find it have been through all the pages can u point me to the page or repost it?
[G1 Android Development] Bavilo:
I always issue a remount. Yet, it's still read-only. :(
[G1 Android Development] juangil:
Agreed 100%

Please for all of you helping with fixes use the TITLE bar when posting a fix for easy search within the thread.:)
[G1 Android Development] Vision77:
I'm thinking the main reason for todays xda lag time is that engadget posted a story about the Fatal1ty and nk02 hero build because it has flash 10. :rolleyes:
[G1 Android Development] Jerzdre:
anyone having a problem with bootloops when they are restarting?

if so can someone be of some assistance plz..i hate 2 bother people...im new to the whole coding
[G1 Android Development] MonkySlap:
Anyone else having problems moving dalvik-cache to sd. Seems to be fine till you reboot then its like it deletes /data/dalvik-cache and recreates it whichs breaks the symlink. Any ideas anyone?
[G1 Android Development] juangil:
set you ringtone with music player

use the music player and press menu in the song you want, music player has built in ringtone maker
[G1 Android Development] jawash22:
Wipe...wipe...wipe...always when flashing.
[G1 Android Development] lilladyo2cute:
didn't work tried that
[G1 Android Development] chrisrj28:
Yeah I had that prob when I jumped to 2.0. I had to delete my ext2 and then recreate it. I was able to load it just fine after that. Hoepfully that does it for you
[G1 Android Development] Jerzdre:
thank u...ill try that...im working on a mac so im guessing this will work

so all u did was delete the EXT and just restarted?
[G1 Android Development] davil124:
bug found, the music player doesnt not work. none of my songs is playable
[G1 Android Development] chrisrj28:
Yeah I just had to delete that ext2. Then I remade it and I am good to go. I haven't had any trouble flashing since.
[G1 Android Development] chrisrj28:
This has been reported and discussed for the last 10 pages. There are some suggestions in those pages. I suggest backtracking and reading the last 10-15 pages and try those
[G1 Android Development] mikeyman77:
If you have cyanogen's recovery image you could try to repair the ext2/ext3 partition, and wipe and re-flash. I've had some problem with boot loops and repairing the partition fixed it.
[G1 Android Development] Jerzdre:
if i delete the EXT,Will i have 2 recreate it?or does it automatically does everything for u???

im alilttle confused
[G1 Android Development] :
JACHero 2.0 works, but Gapps got no icons and only force closing...

any other?
[G1 Android Development] Senorkabob:
Do any of you guys notice how horrible the battery life is with this rom? Or is it time for me to get a new battery?
[G1 Android Development] juangil:
if your music player is not working it will play whenever you press "trim ringtone" just give it a few secs
[G1 Android Development] Jerzdre:
i have kinda noob question

how would i recreate it?
[G1 Android Development] buttsbuttsbutts:
I have the same issue with the new build....

All google apps icons are missing, will not load, and force closing
[G1 Android Development] johnnylicious:
CONFIRMED.

Auto-rotate codes posted by Aquilo

work for all apps especially messages :] thank you

once again here's the ADB code.

as for LED it hasn't been fixed for me but will do more testing.
[G1 Android Development] chrisrj28:
No you will have to recreate your EXT2, I use Paragon Partition Manager but Im not sure what you would use being a Mac user. But yeah once it's gone you have to do it again.