yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] jayare313:
Its working great for me aside data and camera everything else seems to work fine. Calls i can hear and they hear me. SMS goes through and recieves. Would love to see wimax incorporated.

Edit:butter is what I'm running.
[Epic 4G Android Development] jayare313:
Butter booted very fast for me. Actually faster than my epic stock did first boot.
[Epic 4G Android Development] xboxfanj:
I'll upload a sprint butter one. In the mean time if out bothers you download the nexus s 4g version from miui.us and add the nexus framework-res.apk from system/framework to butter
[Epic 4G Android Development] bxfxf:
http://dl.dropbox.com/u/42885665/MIUI.epic.1.9.16_alpha1.zip

A new build based on fascinate's miui 1.9.16(because they don't have 1.9.23 so far.lol)

works:call, sms, wifi, sensors, led ,bt ,sdcard auto scan,pppoe dial .etc

doesn't work:data ,camera and gps

Although camera and gps don't work,they still have some improvements. e.g.no fc

camera:may be overlay issue.

gps:may be HAL lib issue.
[Epic 4G Android Development] xboxfanj:
Wimax is out of our control. Its closed source so we can't implement it. No other device has or will have it until the chinese decide to release it
[Epic 4G Android Development] xboxfanj:
Nice. No one has gotten fascinate to boot before you. I'll keep working on data. Good job bxfxf. So glad I'm not alone any more
[Epic 4G Android Development] xboxfanj:
try dialing this number and messing with the settings

*#*#4636#*#*

Only if you are not a noob (sorry, but i don't want your phone bricked and data lost)
[Epic 4G Android Development] jayare313:
Oh ok. Just learned something new. Thx
[Epic 4G Android Development] xboxfanj:
considering that camera doesnt work in cm7 yet, it probably won't work on miui.
[Epic 4G Android Development] rulyskull:
Yeah its kernal and I keep having to force close Bluetooth services on this build but it boot and instant signal, going to delete Bluetooth files see if that fixes it
[Epic 4G Android Development] jayare313:
Is there a way to add apns using miui?
[Epic 4G Android Development] bxfxf:
I placed cm7 kernel on miui 1.3.5 yesterday，camera and gps work fine,This means that cm7 kernel has no problem.

So we can use libs from miui 1.3.5.lol
[Epic 4G Android Development] rulyskull:
The kernal is for froyo which miui 135 is and this is ginger so I don't see it working
[Epic 4G Android Development] xboxfanj:
GB kernels work on froyo, but not the other way around. The libs though from froyo won't work on gingerbread.
[Epic 4G Android Development] rulyskull:
Basically what I was trying to say lol but I can't get around Bluetooth force closing on the fasanate build
[Epic 4G Android Development] ugothakd:
I didn't know that!! Is it just for aosp? Or do tw gb kernels work on tw froyo roms?
[Epic 4G Android Development] xboxfanj:
Use the usr folder from authoritah
[Epic 4G Android Development] Magic Oreo:
Get this data and it'll be my daily :)
[Epic 4G Android Development] rulyskull:
By the way on the butter on I get the bluetooth forcclosing as well, and you should work with the facianate one signal comes in without having to odin a modem
[Epic 4G Android Development] JohnCorleone:
Being in Cali is good at night but I miss everything in the morning! Flashing the Fascinate build shortly. I spoke to a dev who is going to take a look at the data issue in a couple of days or so if its not fixed
[Epic 4G Android Development] xboxfanj:
Thanks. Which dev?
[Epic 4G Android Development] JohnCorleone:
Guys, I haven't got past the Sammy screen since Authoritah. Is there another build coming or another link I can try for Butter? Thanks..EDIT..can't say which dev but I will ask CompKid too

!
[Epic 4G Android Development] sRs DoLLaR mEnU:
Sure your on EXT4?
[Epic 4G Android Development] JohnCorleone:
I should have known to try this first...I just downloaded the Fascinate build on my laptop and it booted on my first try. Last night I tried downloading straight to my phone and it didn't work
[Epic 4G Android Development] JohnCorleone:
NFC services and Bluetooth FCs on both builds. They keep popping up repeatedly
[Epic 4G Android Development] sRs DoLLaR mEnU:
Bluetooth doesn't FC for me it just doesn't start same with NFC

Sent from my Epic 4G with miui!
[Epic 4G Android Development] rulyskull:
same here its really annoying ive been trying alot of things to fix but cant find a way to
[Epic 4G Android Development] || Acer ||:
Try freezing the services via Titanium Backup?
[Epic 4G Android Development] xboxfanj:
Ok guys. dfgas from miui.us irc is helping me. He needs logcat and logcat -b radio.

So in adb just type adb logcat for one and adb logcat -b radio for the other.

Also, does 3g icon pop up?
[Epic 4G Android Development] jayare313:
Yeah 3g icon on butter
[Epic 4G Android Development] xboxfanj:
does it go on and off?

If it does turn on and off, type ppd into terminal emulator and press home, so you dont exit and see if data is there.
[Epic 4G Android Development] sRs DoLLaR mEnU:
It goes on and off. When I tried the terminal emulator thing it says ppd not found

Sent from my Epic 4G with miui!
[Epic 4G Android Development] xboxfanj:
oh, typo. try pppd_runner
[Epic 4G Android Development] sRs DoLLaR mEnU:
here's what it said $ export PATH=/data/local/bin:$PATH

$pppd

FIX ME! implement ttyname() bionic/libc/bionic/stubs.c:360

pppd: no device specified and stdin is not a tty

$

Sent from my Epic 4G with miui!
[Epic 4G Android Development] Fatonuseni:
pppd_runner: not found
[Epic 4G Android Development] Fatonuseni:
I got the same on the fascinate build with pppd_runner
[Epic 4G Android Development] sRs DoLLaR mEnU:
Oh just thought I should mention the fascinate build says I'm on verizon wireless

Sent from my Epic 4G with miui!
[Epic 4G Android Development] xboxfanj:
Yeah that doesn't mean anything. I can fix that. new build soon
[Epic 4G Android Development] tony45x220:
Which one is the Fascinate build...and do they have everything working or is it a port that's already been modded for the OG Epic?

Sent from my rooted, suited, & booted Epic 4G #knowdat!
[Epic 4G Android Development] tramane:
Woooow,

A lot of new builds and progress in a day!
[Epic 4G Android Development] xboxfanj:
New build

http://minus.com/mqEhaHOQy

If data doesnt work from the start, go to terminal emulator and type pppd_runner and press home (not back so it doesnt close out) and use browser to try data.
[Epic 4G Android Development] rulyskull:
Is this from the fasanate or nexus s
[Epic 4G Android Development] xboxfanj:
fascinate. added a file to bxfxf's build
[Epic 4G Android Development] rulyskull:
Alright cool I was hoping and I will try but I might get Bluetooth problems agina
[Epic 4G Android Development] xboxfanj:
Ok, if you install the build you'll probably need to run pppd_runner in terminal. Don't close terminal. Press home and then run browser

To install terminal though you will need wifi to dl from market
[Epic 4G Android Development] xboxfanj:
agina? Eww. No, but try adding any bluetooth file and the bluetooth folder from cm7.
[Epic 4G Android Development] rulyskull:
Haha so I'm guessing you didn't mess with Bluetooth before I flash lol, but I deleted all Bluetooth crap and that didn't work before
[Epic 4G Android Development] Fatonuseni:
Just tried that build. This is what I got after trying the pppd_runner command

$ export PATH=/data/local/bin:$PATH

$pppd_runner

/system/bin/pppd: This system lacks kernel support for PPP. This could be because

the PPP kernel module could not be loaded, or because PPP was not

included in the kernel configuration. If PPP was included as a

module, try `/sbin/modprobe -v ppp'. If that fails, check that

ppp.o exists in /lib/modules/`uname -r`/net.

See README.linux file in the ppp distribution for more details.

$
[Epic 4G Android Development] Fatonuseni:
This is what I got after trying the modprobe command

$ /sbin/modprobe -v ppp

modprobe: chdir(2.6.32.9): No such file or directory
[Epic 4G Android Development] rulyskull:
How don't you guys get the Bluetooth thing piping up?
[Epic 4G Android Development] xboxfanj:
Worked for one guy and he messaged me. Try typing su and turning wifi off after downloading the app
[Epic 4G Android Development] Fatonuseni:
I tried su but it didnt allow me to grant it su status

Says something about default to ensure security. That I need to enable it. It doesn't even prompt me to grant root. Wtf do I set it?

Update: never mind found it. Superuser is hiding in the tools folder.
[Epic 4G Android Development] stilesja:
Maybe get superuser from market?
[Epic 4G Android Development] Fatonuseni:
Command works! I have data!
[Epic 4G Android Development] Schnadam:
Ok so you have data. What build and what did you do to get data. Share so we can make it our daily!!!!!! :-)
[Epic 4G Android Development] Fatonuseni:
Install build listed above

Enable wifi, Install terminal emulator, disable wifi

In the tools folder which is found on the main screen, run superuser, then menu, then settings, turn on root permission.

In terminal emulator run

su

pppd_runner

Then press home button, don't back out of term

Try the browser
[Epic 4G Android Development] stilesja:
I can confirm this works for me as well. Posting this on 3g from miui.us right now.

I used the latest build xboxfanj possted with the pppd runner command through connect bot. You must open super user first and enable apps to request root.
[Epic 4G Android Development] Fatonuseni:
Now how to get this to work at boot
[Epic 4G Android Development] Schnadam:
Can you post the link again?
[Epic 4G Android Development] stilesja:
Isn't there some startup script this could be added to?
[Epic 4G Android Development] Wizard Knight:
How does the camera and gps fair on the current build? I use both daily so I need them but I want this rom soooo bad
[Epic 4G Android Development] xboxfanj:
It's a kernel issue. A fascinate dev named jt1134 told me that and will help decadence fix the kernel. So for now, this is the best you can have
[Epic 4G Android Development] zanderman112:
Update the OP, with install instructions, and hot to get data working. Then, PM qbking77, and ask if he'll do a video on installing it and getting working data. I have to say, you've done very well xboxfanj, i believe you have surpassed many peoples expectations.
[Epic 4G Android Development] tramane:
The ppd_runner thing isnt running for me...

I had Verizon Wirless showing for a while but then it dissapeared.

And pppd_runner isnt working, may be becuase im in a low signal area.

Now, another strange thing is I cant download apps from the market
[Epic 4G Android Development] greatlakesghost:
Xbox nice job! I am missing my epic already because of this. And to everyone testing thank you. It's great to see such a group effort.
[Epic 4G Android Development] Fatonuseni:
Sounds good. Can't wait to use this as my daily driver. I don't care for camera and gps. I'll wait till their fixed.
[Epic 4G Android Development] stilesja:
You have to use the latest build where he added pppd_runner to the fascinate version.

My apps weren't coming in either from the market but it just took them a few minutes to get going now they are fine. Just give it a bit.
[Epic 4G Android Development] JohnCorleone:
Damn, the last link right?
[Epic 4G Android Development] zanderman112:
Haha, just cant get away can you? lol
[Epic 4G Android Development] JohnCorleone:
Lol..nope. My other phone is good. I am staying from the early ROMs and Kernels..I will get my flash fix here. Actually someone messaged me that data was working so I got over here...
[Epic 4G Android Development] ugothakd:
How about an init.d script for ppd_runner for data?
[Epic 4G Android Development] AproSamurai:
Or script manager, have it set to run as root and at boot. However with that smart idea I wouldn't know how to go about making that happen or possible. I'm still on the 1.9.23 build.
[Epic 4G Android Development] tizocalamilla:
lmfao "flash fix"... my last phone was an HD2 so i had no problem keeping up with my flash addiction but this epic had me going thru a withdraw UNTILL NOW!!! finally something good worth flashing and testing... to keep my addiction going lol :D
[Epic 4G Android Development] xopher.hunter:
I have data

This freaking rocks
[Epic 4G Android Development] AproSamurai:
I moved the pppd and pppd_runner from the recent build onto the 1.9.23 Butter and data is there as well.
[Epic 4G Android Development] jayare313:
For some reason terminal won't let me open soft keyboard (weird) so I added to the opening command

Su

pppd_runner

Once terminal gets closed data drops again. But in the meantime this is cool. Camera opened but viewfinder is black. Tried to switch to video fc. Can't wait to get rid of this Verizon wireless carrier text.
[Epic 4G Android Development] tony45x220:
+1 #cosign....I agree I didn't have any hope for any of this knowing we don't have any GB source code yet

Sent from my rooted, suited, & booted Epic 4G #knowdat!
[Epic 4G Android Development] xopher.hunter:
Is there a simple fix for the hardware fn key?

Everything is buttery smooth like I have never experienced on this phone ever before
[Epic 4G Android Development] tony45x220:
So in order to get data...you have to run the pppd command thing in script mngr or terminal emulator on the latest butter build from what I'm reading right? Or has the command been added to the zip itself so dat will work from a fresh install?

Sent from my rooted, suited, & booted Epic 4G #knowdat!
[Epic 4G Android Development] AproSamurai:
Oddly enough through trial and error I have the script which is simple actually really simple working with Scriptmanager. Running:

#!/system/bin/sh
$su
pppd_runner

But I can't get it to run at boot. But I'm going to keep trying lol. Naturally it'd have to go into init.d as far as I'd be aware of.

No, in the latest build Xbox had added in a new pppd as well as putting pppd_runner within the build they're not present in I can't believe it's not butter(lol). I just moved those files into Butter while running and synced my filesystem and attempted to run it. Which worked. But with Term emulator it doesn't stick after being closed. With Script manager I've managed to get it to be as simple as just running the script, but it won't run at boot. Even if it's set to. It must be prompted to run manually. As simple as making a widget and clicking it with 3G turned on.
[Epic 4G Android Development] jayare313:
Terminal
[Epic 4G Android Development] AproSamurai:
I'm trying to contribute so that people don't have to run it in terminal every time to use it. Whether they turn 3G off or not. I'm used to doing it when I was running CM6 on my samsung moment. But the lines begin to blur after doing it for a while.
[Epic 4G Android Development] tony45x220:
Preciate it my dude...always a big help!, I'm up to speed now...I have had serious issues with running scripts at boot with script mngr sending me into boot loops and me having to restore a backedup sysem in CWM ecovery so I think ill wait untill the script is fully implemented to do further testing

Sent from my rooted, suited, & booted Epic 4G #knowdat!
[Epic 4G Android Development] AproSamurai:
The reboots are the product of Supercharger as far as I'm concerned. The changes at times don't work well with our build.prop so when it's calling upon the mem changes and what's freed up, I wouldn't doubt that it's our kernel panicking and cutting off the boot process or looping it at least. But that's an "educated" guess on my part. This wouldn't put you into any types of loops. But believe me I do understand lol.
[Epic 4G Android Development] stilesja:
Got a script manager script which runs at boot.

Choose run as root and run at boot.

I got the exec from the script manager pro market description about some services won't run without stdin being open and that does it. I have data as soon as I boot. WooHoo!!!!

Script is:

#!/system/bin/sh

exec 0>&1

/system/bin/pppd_runner
[Epic 4G Android Development] JohnCorleone:
How do I enable read write in Superuser? Am I missing a step? Can someone help me get my data running here. Edit..looks like Superuser is straightened out. I want to run the commands with wifi off?
[Epic 4G Android Development] stilesja:
Open the superuser app. Click menu choose settings. Turn allow apps to request root on.
[Epic 4G Android Development] AproSamurai:
I tip my hat to you sir. :D I was just about to post that haha.
[Epic 4G Android Development] JohnCorleone:
I got it! So your command will run on boot? And do I run those commands after I ran the other?
[Epic 4G Android Development] stilesja:
I was chugging away trying to get script manager going as soon as I got the data going. Getting it to run at boot was so frustrating. When I finally got back to the forums I saw you already had posted a script but then when I saw you couldn't get it running at boot I was so excited to be the first to do something lol! I couldn't type fast enough because I new you'd have it or someone else would soon.

That said I wonder if this is going to eat our battery running data like this as it is having to keep a process alive for executing the script.
[Epic 4G Android Development] JohnCorleone:
This is driving me nuts. I have used Script Manager plenty of times but how do I input the commands then set it to run in root and at boot? I can't figure how to get to that screen....
[Epic 4G Android Development] stilesja:
You will want to add this commands into a new script with script manager. In script manager browse mode click menu button then new then new script. Name it something like dataon and then Use the script editor to edit it. Paste my commands in there. Press menu save then hit the back button. Scroll down and find the script you made. Click on it. Tick the run as root and run on boot boxes. Click save. Back out and reboot. You should have data.
[Epic 4G Android Development] AproSamurai:
It was a great contribution man. :) And I've been wondering the same myself, I would personally hope not but I'm unsure. I've been looking into init.rc and seeing whether there is anything within it to start pppd_runner. I had edited a few lines out of curiousity, but pppd_cdma seems to be what is should properly be. But I'll keep chugging away at it lol.

I could have sworn I had it running at boot without Scriptmanager after I had made the edit but I wasn't sure but then I realized the edit worked and was going to post it but then I saw your post. :cool: So I tip my hat again.
[Epic 4G Android Development] stilesja:
You are so close! I typed instructions as fast as I could. I've done all this on my phone laying in bed next to my sleeping wife lol.
[Epic 4G Android Development] stilesja:
Yeah I saw that pppd_cdma in there too. The only thing I wondered was if maybe it was executing to early? Since it works in user space maybe something that is loading after it fails there is causing it to work when we run after boot is complete.... I am a real noob at this though so I was not feeling brave enough to try editing the init.rc
[Epic 4G Android Development] JohnCorleone:
Oh man...ok, so do I enter su and get root permission then enter

su

#!/system/bin/sh

$su

pppd_runner

Then copy that text and paste it or do I not enter "su" after initial root permission?
[Epic 4G Android Development] AproSamurai:
I get you man, it can be a bit odd at times.

Open up Scriptmanager. Hit menu and choose new, make a name for your script. "Data MIUI"

It'll take you to a screen which allows you to type what you want to be ran. You then put in

#!/system/bin/sh

exec 0>&1

/system/bin/pppd_runner

and hit save, it won't change to acknowledge that but just back and search for the name you gave the script then hit, Run at boot run as root then save, and before you reboot to test it. Run the script to see if it starts up your data. If so reboot and you should be good.

No don't enter SU at all.

Yeah, that's what I'm thinking myself. But I'm somewhat of a noob at it myself. I tinker so and have backups in case I do mess anything up. But one of us will find it eventually or someone will beat both of us to it lol.
[Epic 4G Android Development] stilesja:
Oh and I jut threw cpuspy on here and it goes into deep sleep so this script business must not be causing a wake lock so that should be good news for our battery life with this method.
[Epic 4G Android Development] JohnCorleone:
Huge thanks Apro, xboxfanj, and stilesja! Its now working for me on boot. Its amazing that a small command can make such a difference. This is great.

Sent from my OG Epic running Miui
[Epic 4G Android Development] AproSamurai:
Of course man, not a problem at all. :)
[Epic 4G Android Development] JohnCorleone:
Just added Tegrak and bumped it up to 1.2....

Sent from my OG Epic running Miui
[Epic 4G Android Development] the_dark_knighton:
That is the exact same results I had.
[Epic 4G Android Development] tazfanatic:
ok one more shot then bed lol :p
[Epic 4G Android Development] tazfanatic:
hangs at sammy screen good night
[Epic 4G Android Development] chuckdez:
I ported this months ago

and it experienced the same exact graphic artifacts and glitches.
[Epic 4G Android Development] xboxfanj:
Try again please.
[Epic 4G Android Development] xboxfanj:
Yeah but so does the Nexus S 4G. We're trying to fix that. Please try http://dl.dropbox.com/u/38805599/you are the sunshine of miui .zip

when ever you get a chance.
[Epic 4G Android Development] tazfanatic:
hangs at sammy screen
[Epic 4G Android Development] chuckdez:
I had the most luck using phasma cm7 kernel on rfs. I could get 3g data, wifi, phone calls. There are too many problems that can't be fixed without the kernel source.
[Epic 4G Android Development] xboxfanj:
http://db.tt/w7i2pYe
[Epic 4G Android Development] greatlakesghost:
Boots all the way up. Still has bad screen flicker and laggy. Not so laggy and no screen flicker in most of settings screens. For some reason changing wallpaper helps with flicker for a few minutes like the other ones. That booted for me. Still no cell, wifi or gps.
[Epic 4G Android Development] xboxfanj:
I Pmed asdfghjkl (one of the devs of 1.3.5) about flicker and he said

Well Mike_77 always thought it was the kernel...so he decided to make one but it didnt fix anything. SO i thought it had to be in the rom...

I think the best bet is to do what that guy said in the thread. Something about changing the /egl and /hw files and making sure they point to the right place/file name in the build.prop. If the writing isnt there you just have to write it in anywhere.

I dont think ive ever tried to replace apk's but try this:

NS4G rom -> add CM7 kernel/updater script/certain lines from build.prop (edit in notepad++)

Deano has already done this but it doesnt hurt to start fresh lol

That build should boot with just those changes.

- Next I would copy paste all apk's from fascinate into the build (one by one is better so you can see what works/doesnt)

- After that boots start moving in /bin files (again 1 by 1)

- After you have all the /bin files you can use start with /etc. Open the scripts in a text editor and see what you think should be played with like media_profiles.xml

look into the /permissions files...edit if you think its needed like (android.hardware.touchscreen....)

- Ok. If you get here (probably over 100 flashes) start with easy things.../usr. Change the keychars and keylayout folder. If you want you can change ALL the folders. Simple copy/paste. (idc folder has something specific to crespo i think.)

- Now on to the harder more time consuming stuff.../vendor and /lib.

build.prop is probably going to point to a couple files here so just (for now) replace with Epic ones only if the name is the same. Your going to have to do 1 by 1 again or risk not knowing what killed boot.

When i say 1 by 1 i mean add 1 file, Flash, write down somewhere if it works or not, and now add another file and do it again lol.

I know it seems like alot but thats really all you can do until you get source...

Sorry i couldnt be of more help!