HOW TO FIX CHAINFIRE 3D SOFTBRICK (This is a Guide, Not A Question) - Android General

HOW TO FIX Chainfire3d SOFTBRICK AND KEEP EVERYTHING
(I know this isn't a question, but it's a popular issue and many people seem to have it)
If you're like me, you installed Chainfire 3d, You ran the thing inside the app, it restarted your phone,
and you are just stuck at the boot screen. Don't worry, you can fix this without having to lose any of your files.
I would have killed to have a guide like this when my phone bricked instead of having to search the internet for
hours and hours trying to find a solution which was really cryptic.
1.www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install and open a program which you will use to delete the driver Chainfire installed.
2. Start your phone into recovery mode (home+volup+press+power)
3. Plug in your phone via USB cord to your computer.
4. Once you have adb opened in command prompt, type "su" (without quotes) to gain superuser acess
5. After that, you type "cd /system/lib" (Without quotes)
6. Then you type "cf3d_uninstall.sh" (without quotes)
Your phone should reboot back to exactly like it was before. All your files, apps, etc. will all be there. Now it is
time for you to uninstall that dreaded chainfire 3d app so you never have to worry about it.

Sherkbert said:
(I know this isn't a question, but it's a popular issue and many people seem to have it)
Click to expand...
Click to collapse
Excuse me, I thought that it was required for all forums to be questions so I believed I had to specify that, so ignore it please.

Matthew
Hi, I, too, bricked my android phone. However, your solution did not work for me. Typing "su" in the adb folder in cmd did not give me super user access. It just told me that su is not an internal or external command. Is there another way to get super user access? Thanks in advance

Heeelp!
Im going nuts over this, "cd/system/lib: not found"
Any ideas?

JRkkTheGamer said:
Im going nuts over this, "cd/system/lib: not found"
Any ideas?
Click to expand...
Click to collapse
If You have CWM Recovery, then You need to go: "Mounts & storages" and mount /system
Then command: cd /system/lib will be working.

installed chainfire 3d/cant find the driver in lib
i installed chainfire 3d on my ceros motion (mtk6589,ct7008-w) it got stuck in a boot loop ,went through hell getting adb shell to come up but i got it ....my problem is that when i checked the "cd system /lib" directory there is no such file as "cfd3d_uninstall" no file name in that dir is even close so does chainfire 3d install the gpu driver under a different name?all /99% of all the file names start with "lib"

i have the same problem. when i type in "su" it says it is not recognized as an internal or external command. i'm using TWRP recovery, does that make any difference?
ok, i solved the problem. if you have TWRP, do the following (credit: pancit):
Under TWRP, click Mount, click System, then go back to Home page.
Click Advance, click File Manager, browse to /system/lib
Look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Then, click chmod and change it to 644.
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
Then, click chmod and change it to 644.
Reboot and wait. Phone is fixed.

hojzz said:
i have the same problem. when i type in "su" it says it is not recognized as an internal or external command. i'm using TWRP recovery, does that make any difference?
ok, i solved the problem. if you have TWRP, do the following (credit: pancit):
Under TWRP, click Mount, click System, then go back to Home page.
Click Advance, click File Manager, browse to /system/lib
Look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Then, click chmod and change it to 644.
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
Then, click chmod and change it to 644.
Reboot and wait. Phone is fixed.
Click to expand...
Click to collapse
can you make be more specific? i'm a little bit confused on how to proceed

Please help t-t
Sherkbert said:
HOW TO FIX Chainfire3d SOFTBRICK AND KEEP EVERYTHING
(I know this isn't a question, but it's a popular issue and many people seem to have it)
If you're like me, you installed Chainfire 3d, You ran the thing inside the app, it restarted your phone,
and you are just stuck at the boot screen. Don't worry, you can fix this without having to lose any of your files.
I would have killed to have a guide like this when my phone bricked instead of having to search the internet for
hours and hours trying to find a solution which was really cryptic.
1.www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install and open a program which you will use to delete the driver Chainfire installed.
2. Start your phone into recovery mode (home+volup+press+power)
3. Plug in your phone via USB cord to your computer.
4. Once you have adb opened in command prompt, type "su" (without quotes) to gain superuser acess
5. After that, you type "cd /system/lib" (Without quotes)
6. Then you type "cf3d_uninstall.sh" (without quotes)
Your phone should reboot back to exactly like it was before. All your files, apps, etc. will all be there. Now it is
time for you to uninstall that dreaded chainfire 3d app so you never have to worry about it.
Click to expand...
Click to collapse
CAN YOU PLS HELP HOW YOU ACCESS WITH ADB? UPON ENTERING "su" it wont do anything pls help

i have problem
I type everithing you said like "adb (...........)" but nothing happens. If i type "adb reboot" my phone reboots but when i type what you wrote i dont see responses from pc or phone.Help me please and sorry for my bad english

Not able to load su command..
jokuwa said:
CAN YOU PLS HELP HOW YOU ACCESS WITH ADB? UPON ENTERING "su" it wont do anything pls help
Click to expand...
Click to collapse
I am also not able to enter into su..
I have Karbonn A12+ with no custom recovery but Rooted..
I started Chainfire 3D but when I installed it my phone was stuck on the boot...
It is not working..
Please Help Me..:crying::crying:

I don't know but best way to survive is just take a backup before u try chainfire's 3d app.

su problem fast
:crying:
lobbster123 said:
Hi, I, too, bricked my android phone. However, your solution did not work for me. Typing "su" in the adb folder in cmd did not give me super user access. It just told me that su is not an internal or external command. Is there another way to get super user access? Thanks in advance
Click to expand...
Click to collapse
how did you solve this problem please help
---------- Post added at 07:02 AM ---------- Previous post was at 06:58 AM ----------
when i wrote su is not recognised as as an internal or external command. please help me.
---------- Post added at 07:14 AM ---------- Previous post was at 07:02 AM ----------
Sherkbert said:
HOW TO FIX Chainfire3d SOFTBRICK AND KEEP EVERYTHING
(I know this isn't a question, but it's a popular issue and many people seem to have it):crying:
If you're like me, you installed Chainfire 3d, You ran the thing inside the app, it restarted your phone,
and you are just stuck at the boot screen. Don't worry, you can fix this without having to lose any of your files.
I would have killed to have a guide like this when my phone bricked instead of having to search the internet for
hours and hours trying to find a solution which was really cryptic.
1.www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install and open a program which you will use to delete the driver Chainfire installed.
2. Start your phone into recovery mode (home+volup+press+power)
3. Plug in your phone via USB cord to your computer.
4. Once you have adb opened in command prompt, type "su" (without quotes) to gain superuser acess
5. After that, you type "cd /system/lib" (Without quotes)
6. Then you type "cf3d_uninstall.sh" (without quotes)
Your phone should reboot back to exactly like it was before. All your files, apps, etc. will all be there. Now it is
time for you to uninstall that dreaded chainfire 3d app so you never have to worry about it.
Click to expand...
Click to collapse
when i wrote su it says it is not recognised as an internal or external command

This is how I solved it on Karbonn titanium S5
Sherkbert said:
HOW TO FIX Chainfire3d SOFTBRICK AND KEEP EVERYTHING
(I know this isn't a question, but it's a popular issue and many people seem to have it)
If you're like me, you installed Chainfire 3d, You ran the thing inside the app, it restarted your phone,
and you are just stuck at the boot screen. Don't worry, you can fix this without having to lose any of your files.
I would have killed to have a guide like this when my phone bricked instead of having to search the internet for
hours and hours trying to find a solution which was really cryptic.
1.www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install and open a program which you will use to delete the driver Chainfire installed.
2. Start your phone into recovery mode (home+volup+press+power)
3. Plug in your phone via USB cord to your computer.
4. Once you have adb opened in command prompt, type "su" (without quotes) to gain superuser acess
5. After that, you type "cd /system/lib" (Without quotes)
6. Then you type "cf3d_uninstall.sh" (without quotes)
Your phone should reboot back to exactly like it was before. All your files, apps, etc. will all be there. Now it is
time for you to uninstall that dreaded chainfire 3d app so you never have to worry about it.
Click to expand...
Click to collapse
1. www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install sdk and adb.
2. Follow this - www(DOT)dominantwire(DOT)com/2012/11/how-to-solve-adb-device-not-found-error.html#.U3nsHoGSwpk
3. Start your phone into recovery mode (volume up+power),till red screen
4.For CWM, go to mount and storage and "mount/system"
5. Plug in your phone via USB cord to your computer.
6. type "adb pull /system/lib /device" (in adb cmd)
7. Now all the files are in C:/device, browse to that and
look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
8. type "adb push /device /system/lib" (in adb cmd)
9. After this, Disconnect - Reboot - Done!
Do Not try Chainfire3D again.

This post helped me so much!
Thanks to this post I recovered my device, I thought it was lost forever!

many many thanks
BSFrost said:
1. www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install sdk and adb.
2. Follow this - www(DOT)dominantwire(DOT)com/2012/11/how-to-solve-adb-device-not-found-error.html#.U3nsHoGSwpk
3. Start your phone into recovery mode (volume up+power),till red screen
4.For CWM, go to mount and storage and "mount/system"
5. Plug in your phone via USB cord to your computer.
6. type "adb pull /system/lib /device" (in adb cmd)
7. Now all the files are in C:/device, browse to that and
look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
8. type "adb push /device /system/lib" (in adb cmd)
9. After this, Disconnect - Reboot - Done!
Do Not try Chainfire3D again.
Click to expand...
Click to collapse
this one worked for me thank u mwaaah

BSFrost said:
1. www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install sdk and adb.
2. Follow this - www(DOT)dominantwire(DOT)com/2012/11/how-to-solve-adb-device-not-found-error.html#.U3nsHoGSwpk
3. Start your phone into recovery mode (volume up+power),till red screen
4.For CWM, go to mount and storage and "mount/system"
5. Plug in your phone via USB cord to your computer.
6. type "adb pull /system/lib /device" (in adb cmd)
7. Now all the files are in C:/device, browse to that and
look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
8. type "adb push /device /system/lib" (in adb cmd)
9. After this, Disconnect - Reboot - Done!
Do Not try Chainfire3D again.
Click to expand...
Click to collapse
Thank you! This is the correct solution. :good:

adb shell
After you connect your phone, you have to run the "adb shell" command to get into the shell. someone neglected to mention that. hope this helps.

BSFrost said:
1. www(DOT)youtube(DOT)com/watch?v=MVXX-YdhRU0
Follow this tutorial to install sdk and adb.
2. Follow this - www(DOT)dominantwire(DOT)com/2012/11/how-to-solve-adb-device-not-found-error.html#.U3nsHoGSwpk
3. Start your phone into recovery mode (volume up+power),till red screen
4.For CWM, go to mount and storage and "mount/system"
5. Plug in your phone via USB cord to your computer.
6. type "adb pull /system/lib /device" (in adb cmd)
7. Now all the files are in C:/device, browse to that and
look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
8. type "adb push /device /system/lib" (in adb cmd)
9. After this, Disconnect - Reboot - Done!
Do Not try Chainfire3D again.
Click to expand...
Click to collapse
When I try step 8, I get an error saying permission denied any help?

Life Saver - Thanks -Done on mu Note III
Thanks. WOrk like charm on note 3
hojzz said:
i have the same problem. when i type in "su" it says it is not recognized as an internal or external command. i'm using TWRP recovery, does that make any difference?
ok, i solved the problem. if you have TWRP, do the following (credit: pancit):
Under TWRP, click Mount, click System, then go back to Home page.
Click Advance, click File Manager, browse to /system/lib
Look for libGLESv1_CM.so and rename it to libGLESv1_CMcf.so
Then, look for libGLESv1_CM_ORG_CF3D.so and rename it to libGLESv1_CM.so
Then, click chmod and change it to 644.
Look for libGLESv2.so and rename it to libGLESv2cf.so
Then, look for libGLESv2_ORG_CF3D.so and rename it to libGLESv2.so
Then, click chmod and change it to 644.
Reboot and wait. Phone is fixed.
Click to expand...
Click to collapse

Related

[GUIDE] How To Root The Sprint CDMA Hero (Windows)

I have compiled this guide from the other one posted on this forum, the discussion therein, and my own knowledge. If you have any suggestions on making it better or to correct any mistakes I may have made please let me know.
This guide is intended for Windows and includes detailed instructions. It will cover the steps necessary to root, flash the new recovery image, create a full backup. This will work with software versions 1.29.651.1 and 1.56.651.2 (aka Android 1.5). If you have updated to 2.1 please following this guide here. I am not responsible for any damage done to your phone using this guide. Root at your own risk.
I have put to together a video on YouTube for you to follow along as well. The version numbers of certain files are now outdated in the video so change file names as necessary.
If you own a non-Sprint Hero, you will need to do some extra steps. Follow the guide in the How to Root Non-Sprint CDMA Hero thread.
Step 1: Download the Android SDK from http://developer.android.com/sdk/index.html The Windows file is called android-sdk_r06-windows.zip. Extract the files to your C: drive so that you now have the folder C:\android-sdk-windows
Step 2: Download the asroot2 exploit file from http://forum.xda-developers.com/attachment.php?attachmentid=244212&d=1257621154 Extract asroot2.zip to C:\android-sdk-windows\tools folder.
Step 3: Download the Hero recovery image from http://forum.xda-developers.com/showpost.php?p=4898505&postcount=1g Place this file in C:\android-sdk-windows\tools as well.
Step 4: Make sure USB Debugging is off by going to Settings>Applications>Development. Now connect the phone to your PC via USB cable.
Step 5: Mount your sdcard; Browse to the HTC Sync folder and install HTC Sync on your pc. After it is done installing unmount the sdcard then enable your USB debugging.
Step 6: Open a command prompt by clicking the Start button and typing cmd into the search box and pressing enter or found under All Programs>Accessories.
Step 7: You will now enter a series of commands which I will place inside code boxes to indicate the entire command. You may copy and then paste them into the command prompt window by right clicking. Only enter one command at a time.
1:
Code:
cd C:\android-sdk-windows\tools
2:
Code:
adb devices
If you've been following this guide you will see your phone's serial number. If you get "device not found" error, you either need to make sure you the drivers were properly installed or make sure you enable USB debugging AFTER you connect the USB cable. Continue on once you get the proper phone serial output.
3:
Code:
adb push asroot2 /data/local/
4:
Code:
adb shell
5:
Code:
chmod 0755 /data/local/asroot2
6:
Code:
/data/local/asroot2 /system/bin/sh
You should see an output that says:
$ /data/local/asroot2 /system/bin/sh
[+] Using newer pope_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#​Now for a few last commands.
7:
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
8:
Code:
cd /system/bin
9:
Code:
cat sh > su
10:
Code:
chmod 4755 su
You are now officially rooted. A few more steps and you will have flashed the recovery image.
11:
Code:
exit
12:
Code:
exit
13:
Code:
adb push recovery-RA-heroc-v1.6.2.img /sdcard
Pushing is equivalent of copy the file to the root of your sdcard. By the time you finished reading this it should be done. You'll know its done because the ouput will say something like transferred X bytes in X secs.
14:
Code:
adb shell reboot
This will cause the phone to restart automatically. Wait till it is fully booted to continue.
15:
Code:
adb shell
16:
Code:
su
17:
Code:
cd /sdcard/
18:
Code:
flash_image recovery recovery-RA-heroc-v1.6.2.img
FLASHING TO THE RECOVERY TAKES SEVERAL SECONDS-- BE PATIENT. ENTER THE NEXT COMMAND ONLY AFTER THE COMMAND PROMPT RETURNS TO THE # (ROOT SYMBOL).
19:
Code:
reboot recovery
Step 8: This is the last command; you may now close the cmd prompt. This will cause your phone to boot into recovery mode; it should take no longer than 30 secs. The third option on the list is "- Backup/Restore"; select it. Now, select the first option "- Nand backup". The phone will prompt you to press HOME to confirm which is want you want to do. The backup will begin. You will see the screen say, "Performing backup : .........." When done, the bottom of the screen will say "Backup complete!" and you will be given the menu options again. Go back to the main menu and select reboot system. Rebooting your phone after installing the new recovery image may take several minutes.
Step 9: Once your phone is fully booted, mount the sdcard. You will see a folder called "nandroid"; I highly recommend you copy this to your pc in case you lose your sdcard data or reformat it. Your phone is rooted, 100% backed up, and ready to install a custom rom if you wish!
wow dude,
instructions worked great on Win7
i was able to download the missing usb_drivers by running SDK Setup in C:\android-sdk-windows, and selecting the usb driver from the available packages. I was unable to download the index for the SDK Setup program until I enabled "force http://" in the settings menu.
had to copy over asroot again after i ran SDK Setup (that program deleted it from the directory)
your instructions worked like a charm. total time spent rooting this thing after finding your post: 18 minutes.
(you might want to add a line there in the "mount and copy over the zip file step" to backup the nandroid folder from your SDCard to your comp just as a backup of your stock phone image)
anyway.. cheers!
izanagi said:
wow dude,
i'm about to follow these instructions. thank's for the precise list!
(btw, about to try it on Win7.. may have to change some folder pathing but we'll see)
okay.. typo on the first command in parentheses, and I'm missing the usb_drivers folder (do you have it / can sent it to me) so am unable to install the device in win7.
Click to expand...
Click to collapse
Heh, thanks for the misspell heads up. I did my rooting from Win7 pc; it automatically installed correct drivers for me. To check go to the Control Panel>View devices and printers. You see one device named "Android Phone". Otherwise as far as Ive heard installing HTC Sync installs proper drivers.​
izanagi said:
*** edit had to copy over asroot again after i ran SDK Setup (that program deleted it from the directory)
**** edit: all done.. your instructions worked like a charm. total time spent rooting this thing after finding your post: 18 minutes.
(you might want to add a line there in the "mount and copy over the zip file step" to backup the nandroid folder from your SDCard to your comp just as a backup of your stock phone image)
anyway.. cheers!
Click to expand...
Click to collapse
Thank you for taking the time help make my guide better. I'm very glad to know there are little to no hiccups.
When I do step 5, instead of:
5. "/data/local/asroot2 /system/bin/sh"
You should see an output that says:
$ /data/local/asroot2 /system/bin/sh
[+] Using newer pope_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#
I get:
[1] Killed /data/local/asroot2 /system/bin/sh
Any suggestions? Should I just be quiet until there is an Eris specific way to do this?
When I do step 5, instead of:
5. "/data/local/asroot2 /system/bin/sh"
You should see an output that says:
$ /data/local/asroot2 /system/bin/sh
[+] Using newer pope_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#
I get:
[1] Killed /data/local/asroot2 /system/bin/sh
Any suggestions? Should I just be quiet until there is an Eris specific way to do this?
detox702 said:
When I do step 5, instead of:
5. "/data/local/asroot2 /system/bin/sh"
You should see an output that says:
$ /data/local/asroot2 /system/bin/sh
[+] Using newer pope_inode_info layout
Opening: /proc/857/fd/3
SUCCESS: Enjoy the shell.
#
I get:
[1] Killed /data/local/asroot2 /system/bin/sh
Any suggestions? Should I just be quiet until there is an Eris specific way to do this?
Click to expand...
Click to collapse
This guide is for the CDMA Hero not the Eris!
When I go to apply the rom I get an white screen with skateboarding androids on the bottom and the prompt to erase data yes/no. I press the home key and the Hero reboots without asking to "Apply sdcard:choose zip". This is done from the boot menu. Does the rom load automatically? Did I do something wrong? I got root with no problem. A tip; to make it easier and to avoid spelling mistakes copy and paste the rooting commands from the instructions. Made it go faster too. Thanks in advance.
Never mind. I held down Home and Power at
the same time instead of Home THEN power! ARRGH! Loading up now as I type. Sorry.
ELIMINATED said:
When I go to apply the rom I get an white screen with skateboarding androids on the bottom and the prompt to erase data yes/no.
I press the home key and the Hero reboots without asking to "Apply sdcard:choose zip".This is done from the boot menu.
Does the rom load automatically? Did I do something wrong? I got root with no problem.
A tip; to make it easier and to avoid spelling mistakes copy and paste the rooting commands from the instructions. Made it go faster too. Thanks in advance.
Click to expand...
Click to collapse
yuck... break up your sentences, that's alot of crap to throw on someone all at once... and the bold doesn't help it any.
check to see if you have the custom recovery installed....
-turn off phone
-hold vol down + power
-should search for some stuff then give three options
-press "home" to enter recovery image
do you see "!" and a phone.... does it just hang or do you see a green/yellow menu?
At the end of his post he says he figured it out. He wasn't holding down home key
None of this is working for me at all... I'm not sure what I'm doing wrong, but every time I enter ANY of the commands into the prompt all I get is "cannot find the path specified".
For reference, i have done everything in this guide to the letter, everything is downloaded, unzipped to the correct location, USB drivers installed, etc etc. Not sure what's wrong.
EDIT: I figured it out.. user error, awesome. Worked great, thanks for this!
awesomeindeed said:
None of this is working for me at all... I'm not sure what I'm doing wrong, but every time I enter ANY of the commands into the prompt all I get is "cannot find the path specified".
For reference, i have done everything in this guide to the letter, everything is downloaded, unzipped to the correct location, USB drivers installed, etc etc. Not sure what's wrong.
EDIT: I figured it out.. user error, awesome. Worked great, thanks for this!
Click to expand...
Click to collapse
"cd C:\android-sdk-windows\tools" is actually "cd C:\android-sdk_r3-windows\tools"
is that where you are stuck?
thank you TS. I've been lurking xda for a couple years now when i had the mogul and tp. First time on an android device. Thank you for your time in helping me.
someone buy this man a drink!!!
Invaluable piece of work right here, helped me get it done in no time at all....real clear concise and very helpful....REQUEST THIS BE A STICKY!!!!!
fenske09 said:
"cd C:\android-sdk-windows\tools" is actually "cd C:\android-sdk_r3-windows\tools"
is that where you are stuck?
Click to expand...
Click to collapse
That was the name of the zip file not the extracted folder.
Please help, I followed all of your instructions, I received no errors however I can't boot the recovery image. I checked and it is in the sd card, but every time it just hangs at the HTC logo
I downloaded a terminal emulator and typed su and it gave me # so I assuming I am rooted?!
newtodroid said:
Please help, I followed all of your instructions, I received no errors however I can't boot the recovery image. I checked and it is in the sd card, but every time it just hangs at the HTC logo
I downloaded a terminal emulator and typed su and it gave me # so I assuming I am rooted?!
Click to expand...
Click to collapse
Redownload the recovery image and reflash it. The one you're using probably became corrupt during DL or something.
theresthatguy said:
Redownload the recovery image and reflash it. The one you're using probably became corrupt during DL or something.
Click to expand...
Click to collapse
also make sure you have the heroc version there's a hero and heroC, i messed that up once and had similar results
new ROM
So i loaded the custom ROM, and i followed all the istructions as listed on this guide. When i rebooted my phone, a bunch of my apps started Force Closing on startup.
did i miss something, or do something wrong?
if i reinstall them on the new ROM will they work right?
thanks for any insight
kristaps said:
So i loaded the custom ROM, and i followed all the istructions as listed on this guide. When i rebooted my phone, a bunch of my apps started Force Closing on startup.
did i miss something, or do something wrong?
if i reinstall them on the new ROM will they work right?
thanks for any insight
Click to expand...
Click to collapse
you converted your sd card to fat32,ext2,swap and now the apps are looking for the program on your sd card,
turn off your phone
take out sd card
turn on phone
uninstall app
turn off phone
put in sd card
turn on phone
reinstall app
this should fix you

adfree android

now that we have an easy way to push update.zip files I was wondering if there was any way to push the host file that adfree android downloads to the sdcard. I know that it doesn't have write access to the system partition when booted but in recovery we do right?
So it should be as simple as creating an update.zip that overwrites the old host right?
I'm going to try to get this working
EDIT: Here's how to get this working
1. Search for Adfree Android on the market
2. Install and run
3. allow it to download and install new hosts file, it will copy it to your sdcard and try to replace /system/etc/hosts but fail (it should reboot the phone shortly)
4. Power off the phone and hold Volume Down and power.
5. Use volume down to select recovery
6. In clockwork recovery volume down to "partitions menu" and hit the track pad to select
7. Select "mount /system" and "mount /sdcard" "mount /data"
8. Plug in your usb cord and open a command line on your pc
9. enter adb shell and type the following commands
cp /sdcard/hosts /data/data/hosts
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
10. Reboot your phone and enjoy adfree android.
Thanks to all for help in getting this running.
Just adb push your modified host file to /system/etc/hosts. No need for update.zip
ive already done this doesnt work still have tons of adds
word, I figured it out
junjlo said:
ive already done this doesnt work still have tons of adds
Click to expand...
Click to collapse
what I did was install adfree android, wait for it download and error (the phone will reboot itself) put it into recovery and run the following command from adb shell
cp /sdcard/hosts /system/etc
All my ads are gone
You mind sharing the host file? I'd like to do the same. Now that I can connect as root with 'adb shell' then 'su' after the new Unrevoked^2 root. I'd like to start tweaking with things.
supagene said:
You mind sharing the host file? I'd like to do the same. Now that I can connect as root with 'adb shell' then 'su' after the new Unrevoked^2 root. I'd like to start tweaking with things.
Click to expand...
Click to collapse
just download and install adfree android, it copies the host file to your sdcard.
n0-0ne said:
what I did was install adfree android, wait for it download and error (the phone will reboot itself) put it into recovery and run the following command from adb shell
cp /sdcard/hosts /system/etc
All my ads are gone
Click to expand...
Click to collapse
i may have an older hosts file than but i just used adb push hosts /system/ect/hosts
tryed cp but get a box with busybox info
n0-0ne said:
just download and install adfree android, it copies the host file to your sdcard.
Click to expand...
Click to collapse
I intalled the app and when I hit download and intall I get java/io.FileNotFoundException:/sdcard/hosts
My guess is that it's not downloading.
Tried it on both WiFi and 3G
supagene said:
I intalled the app and when I hit download and intall I get java/io.FileNotFoundException:/sdcard/hosts
My guess is that it's not downloading.
Tried it on both WiFi and 3G
Click to expand...
Click to collapse
ok well here's what was downloaded to my card
https://www.yousendit.com/transfer.php?action=batch_download&batch_id=K0JRUGhYT2JQb0t4dnc9PQ
Thats good for 100 downloads.
Found this. forum.xda-developers.com/showthread.php?t=664532 do you guys know if the zip file with hosts good enough since I can't seem to get the AdFree app to work correctly? Of is there an apk somewhere for this app and I shouldn't have gotten the one in the app store?
host installed still doesnt block ever ad using tikl and fring to test
supagene said:
Found this. forum.xda-developers.com/showthread.php?t=664532 do you guys know if the zip file with hosts good enough since I can't seem to get the AdFree app to work correctly? Of is there an apk somewhere for this app and I shouldn't have gotten the one in the app store?
Click to expand...
Click to collapse
I used the one from the market, it does error but it should copy the hosts file to your SD card (and reboot your phone shortly thereafter).
What now?
Great...
cat /sdcard/hosts > /system/etc/hosts
write: No space left on device
junjlo said:
host installed still doesnt block ever ad using tikl and fring to test
Click to expand...
Click to collapse
I've tested both apps and no ads in either.
The one thing I did different that I didn't post was in recovery under partitions I mounted both system and sdcard. Try that and copy the file over.
Thanks!!
So I downloaded the hosts file, booted in recovery, mounted both /system and /sdcard and then 'adb shell' and 'su' and then 'cd /system/etc' and then 'cat /sdcard/hosts > hosts' and it seemed to have worked.
I go to fring and it displays 'Web page not available', not what I'd like to see but it's better than those retarded ads that I keep clicking on by accident.
can someone post step by step how to get adfree working I installed the one from the market and let it error and reboot then i entered into clockworkmod recovery now what? do i need to mount system and sd how do i enter into adb shell and change host file. thanks in advance for any help.
supagene said:
So I downloaded the hosts file, booted in recovery, mounted both /system and /sdcard and then 'adb shell' and 'su' and then 'cd /system/etc' and then 'cat /sdcard/hosts > hosts' and it seemed to have worked.
I go to fring and it displays 'Web page not available', not what I'd like to see but it's better than those retarded ads that I keep clicking on by accident.
Click to expand...
Click to collapse
Glad it worked out, not sure why your getting page not available, I just get a blank box at the top of my contacts list, other apps show the same as well, a blank box where the ad used to be.
j1000 said:
can someone post step by step how to get adfree working I installed the one from the market and let it error and reboot then i entered into clockworkmod recovery now what? do i need to mount system and sd how do i enter into adb shell and change host file. thanks in advance for any help.
Click to expand...
Click to collapse
Edited OP.
thanks for the quick response everything is good until step 8. I know i sound stupid but i learning fast you say enter adb shell. the way i think you do this is type
1. cd\
2. cd sdk
3. cd tools
4. adb shell
when i do this i get error device not found
can you help from there. thanks

how do you change folder permissions???

hi
how does one change folder permissions? i have read that you cam do it with the root explorer app but is there a way to do it on the pc using the sdk? i connected my phone to the pc and issued the adb shell command and then attempted to use the chmod command but got a read only file system message.
dsMA said:
hi
how does one change folder permissions? i have read that you cam do it with the root explorer app but is there a way to do it on the pc using the sdk? i connected my phone to the pc and issued the adb shell command and then attempted to use the chmod command but got a read only file system message.
Click to expand...
Click to collapse
1) If you have ADB setup on your computer, hook your phone into the computer and connect into it via ADB.
2) Once in, "chmod" the directory or file(s) you wish to change permissions for.
IF you don't have ADB:
1) Download a terminal
2) su - to root
3) Change your directory
4) "chmod" to whatever pemissions you want
it means that folder/file you're chmod'ing was mounted ro. you cant change anything if its mounted as ro. to check just enter "mount" and you can see what are mounted as rw, ro etc
yantz
I would also suggest changing it back when you're done. This helps prevent you from accidently overwriting or deleting something and have to reflash if you're rooted.

ADB issues

Okay, so i trying to push a file to my SGS4G... I thought i got it to work but when i went to find the file it was just some random file with no extension.
e.g. I typed (adb push FFFFFF.FFF /sdcard/download) it says the file was copied but when i go to my phone ffffff.fff is not there, instead a file called /sdcard/download
I followed these instructions....
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish
What am i missing?
i see you are trying to push a file to your download folder on the sd card...
you can just drag and drop for stuff like this.
true true, not sure why i didnt think of that, i do it all the time... But would i use those instructions if i wanted to move a file say a recovery file to the bin directory?
i have never seen the need to use adb for this phone. it is not a nand locked device, so there is no real use for it (im speaking for users, not devs). if you want to push a file, jsut use root explorer or similar. thats all you need.
also, it seems to me like you are trying to get krylons cwm. just flash bali instead. no need for the recovery file or update.zip.

[FIX] No Power Menu, No Lockscreen, Corrupt Efs FIX! Skyrocket and T989

If your phone shuts straight down after pressing the power button and your have no lock screen, read below for solution. Before you do any of this, please note that this was caused by the note radio, aka uclc5, and if u still have it, please remove it! Also causes include a corrupt efs partition. This guide will help to restore key files important to the operation of your phone
There are three methods available. The first and second one are recommended. If you are uncomfortable with adb and command prompt please use method one
UPDATE: This has been confirmed as working on T989!
WARNING!
Method 3 is only to be used if one and two fail, or if you are positive your efs is corrupt!
Original source for solution, with a few method changes by me:
http://forum.xda-developers.com/showthread.php?t=1438451
METHOD ONE
1.) Use busy box installer from the market and re-install even if u have it working
2.) If step one doesn't work, install super su updater, and update it, then try step one again.
3.) Boot into cwm and dark side wipe 3x
4.) Flash rooted 2.3.5 from thread below
5.) Boot into rom and install root explorer
6). Navigate to /efs/imei/
7.) Press menu and select new file
8.) Name it "keystr" exactly as in quotes
9.) Long press keystr and select edit in text editor
10.) Type "ON" and press back, selecting save.
11.) Reboot and make sure keystr file is still present.
12.) Now u have a few options. U can flash ics back using either Odin one click (UCLA4 or UCLD2), but I don't recommend this. Flash one of the ics roms from the development section, we have great devs!
Rooted 2.3.5 zip:
http://d-h.st/ce75z460t847
METHOD TWO
1.) You must have the Samsung drivers installed for the skyrocket, available from here:
http://downloadcenter.samsung.com/c...ng_USB_Driver_for_Mobile_Phones_v1.5.14.0.exe
2.) Once installed, download the attached zip, its a copy of ADB with the needed file inside
3.) Unzip to any location
4.) Boot phone into cwm
5.) Go into Mounts and Storage, and select "mount /efs". Once done connect usb cable to phone and computer
6.) Open command prompt and navigate to the unzipped adb. Issue the following command "adb devices" it should list phone
7.) Now issue the following command "adb push keystr /efs/imei"
8.) Reboot phone and check presence of keystr file in /efs/imei directory with Root Explorer
METHOD 3
Flash attached EFSFix.zip in cwm and reboot.
A SPECIAL THANKS AND SHOUT OUT TO:
mahausrath and Colombiano80 for providing the efs dumps i needed
cmbrown for being a faithful tester!
No download link at thread for Rooted 2.3.6
---------- Post added at 04:03 PM ---------- Previous post was at 03:32 PM ----------
Found a mirror
http://d-h.st/ce75z460t847
---------- Post added at 04:50 PM ---------- Previous post was at 04:03 PM ----------
Still not working. It wont let me write the file keystr to the directory, just says failed, but I can write other things to it. I'm really really confused please help.
I found the error Confusing
instead of putting "NO" put "ON"
Dwolf16 said:
I found the error Confusing
instead of putting "NO" put "ON"
Click to expand...
Click to collapse
typo, main op edited
This may be just me, but I still can't get this method to work. I can't make a file called keystr. I've tried several times using a multitude of Root exploring programs (EStrong, Root Browser, Root Explorer, Astro, ect.) I make sure it's mounted as write and do the works and it just don't work.
did u try the stuff in the pm I sent?
yea im having the same problem its not saving after shut down..
ConfusingCurve said:
This may be just me, but I still can't get this method to work. I can't make a file called keystr. I've tried several times using a multitude of Root exploring programs (EStrong, Root Browser, Root Explorer, Astro, ect.) I make sure it's mounted as write and do the works and it just don't work.
Click to expand...
Click to collapse
I can't create the file either, any help would be appreciated.
i've updated the op with a new method. since efs won't allow you to write from inside android, i've used adb with the push command.
icenight89 said:
i've updated the op with a new method. since efs won't allow you to write from inside android, i've used adb with the push command.
Click to expand...
Click to collapse
Do we need the android sdk for this?
mimart7 said:
Do we need the android sdk for this?
Click to expand...
Click to collapse
nope, I included EVERYTHING u need
Yo ice nthn is working i did everything that it says plus what you've sent me and still nothing
Still nothing
Dwolf16 said:
Still nothing
Click to expand...
Click to collapse
What's the problem? You can't use adb?
Ok so here's the break down
i flashed the efsfix.zip
i go into mounts and storage, and mount /efs ( a error saying Cant Mount /efs!)
i go to cmd.exe and find the Adb folder that has been unzipped
i detect devices with adb devices
i then adb push keystr /efs/imei
it says
C:\ADB>adb push keystr /efs/imei
0 KB/s (2 bytes in 0.002s)
I then reboot go into root explorer and nothings in efs/imei/ and theres nothing in there but the parent folder
Dwolf16 said:
Ok so here's the break down
i flashed the efsfix.zip
i go into mounts and storage, and mount /efs ( a error saying Cant Mount /efs!)
i go to cmd.exe and find the Adb folder that has been unzipped
i detect devices with adb devices
i then adb push keystr /efs/imei
it says
C:\ADB>adb push keystr /efs/imei
0 KB/s (2 bytes in 0.002s)
I then reboot go into root explorer and nothings in efs/imei/ and theres nothing in there but the parent folder
Click to expand...
Click to collapse
alright, that's it. ur efs partition is corrupt, but I need a dump from a fresh stock untouched phone to make sure its fixed properly. In the mean time, I have made a zip of my efs. So change the instructions and do this.
Make a new folder I'm the same folder as adb.exe and name is efs. Extract the contents of attached zip inside efs folder. When u use adb inside cmd, type "adb push efs /". Then reboot. Report back on if that works or not
ok so i rebooted what should i be looking for? when i was in root explorer nothing changed. When i went back into cwm it's still saying "Can't mount efs!" But in the cmd prompt it showed the "adb push efs /" worked
do u have a keystr right in /efs? does ur lock screen work, or power button? If not ur gonna have to wait til I get an efs dump from someone
icenight89 said:
do u have a keystr right in /efs? does ur lock screen work, or power button? If not ur gonna have to wait til I get an efs dump from someone
Click to expand...
Click to collapse
yea i got nothing....also when i did method one originally i would make the file
keystr
type in "ON"
Saved
and it would work until i rebooted...i just there was a way to save it after boot
The push worked, but there is nothing in the imei directory.

Categories

Resources