[ROM]Cognition v2.3b8 - Captivate Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cognition Rom FAQ's
Check it out here!
Come chat with us!
Get Cognition Here
If you like this, buy me a beer!!
​

for OP.... OUT

Cognition Captivate ROMs - Tips & Tricks
Lets get started !!!!
The items in this post are not my work, I am just collecting them and posting here. They are also dangerous and may brick your phone. Please use at your own risk. No warrenties
Please donate to appropriate talented individuals who do this wonderful work
Installation
Install Using Clockwork Recovery
Caution: If you are running Cognition 6.X or below you must install using ODIN.
If you are not already rooted, root with the tools here. http://forum.xda-developers.com/showthread.php?t=739304
Go to the xda thread located here http://forum.xda-developers.com/showthread.php?t=786532. Download the latest version of the ROM. Move it to your internal SD card on your phone. DO NOT RENAME THE FILE.
Download ROM Manager (available in the market, more info here) and choose "Flash Clockwork Mod" which will put an update.zip (holding clockwork recovery) on the root of your internal SD card.
Open Rom Manager, choose "Install ROM from SD Card", navigate to your Cognition2.x.zip, and check “Wipe Data”. Watch the magic happen!
Note: if this is your first time installing clockwork, it may fail at stock recovery and reboot. Simply choose "reinstall packages" once more, and it should work properly.
Install Using ODIN
Caution: Use this method only for ODIN FLASHABLE DOWNLOAD! Download link will say “Download Cognition v2.2 BETA X.X.X ODIN”. This .zip contains everything you need to flash a ROM using ODIN. It includes:
• Odin.exe
• PIT.pit
• PDA.tar
• PHONE.tar
• CSC.tar
1. Put your phone into Download Mode (See below for Instructions)
2. Set-up ODIN with the appropriate files and click Start. (One-click versions just click Start). Note: Not all files listed above will be included.
3. Watch the magic.
How TO's
HOW TO: Put your phone in Download Mode
Make sure you phone is powered off, unplugged and charged. Remove SIM, External SD and Battery
Right Click ODIN Exe and click “Run as administrator”
Click Vol Up/Vol Down at the same time and insert USB into phone (other end must be plugged into the PC).
Note: This is extremely important: your phone screen should display a large yellow triangular icon with a shovel wielding droid in it. The text "Downloading... Do not turn off Target!!!!" appears below the icon. If you do not see this screen, you are likely in Recovery Mode.
HOW TO: Flash To JF6 Stock
Use How to Flash ODIN method above. Get Stock ODIN files from here
http://forum.xda-developers.com/showthread.php?t=731989
Caution: If your build is 1008 then you should use STOCK JF6 with 3 button fix from here
http://forum.xda-developers.com/showthread.php?t=818439
Where are archived ROMS?
http://www.ponack.net/designgears/OLD/
Lock Screen Mods, Battery Indicators
http://forum.xda-developers.com/showthread.php?t=799511
HOW TO: Reconfigure Battery Stats
When you flash a new ROM it may be necessary to reconfigure your battery stats.
Signs you may need to re configure:
1. . Using more then 10% battery in an hour or less
2. . While plugged into the charger you lock screen shows a different percentage charge then the battery icon
3. . After a full charge your battery icon only shows 99% and quickly drains.
4. . Any general weird battery activity
Step by step battery reconfigure process: (This is the process that has worked for me time and time again with ROM after ROM)
1. . Flash the Rom on a full battery. (skip to step 6)
2. . If you flashed on less then full plug into AC charger asap and charge to full while the phone is powered on
3. . Once the phone blinks full 2.1-battfull popup shows 2.2-battery sign shows on left of notification bar power off
4. . Charge till full while powered off. the phone will vibrate and the green battery will show 100% in white text
5. . Unplug phone and power on.
6. . Using Root Explorer or a comparable program navigate to (Mount R/W first): data>system> and delete file batterystats.bin
7. . Reboot
8. . While the phone reboots it will rebuild that file and the software and phone should now match.
9. . If any of the symptoms persist start at step 2 and repeat.
10. . As with any rechargeable battery fully discharging the battery once in a while isn't a bad idea
HOW TO: BATTERY Calibrate
1. Connect the phone to the charger with the phone powered on, and allow the phone to charge until it shows 100%
2. Disconnect the phone from the charger, and power it off.
3. Reconnect the phone to the charger with the phone powered off, and allow the phone to charge until the battery indicator shows 100% (you can use vol-up/vol-down to make the indicator come back up when the screen goes to sleep).
4. Disconnect the phone from the charger and power it on.
5. Once the phone is powered completely on, power it off again and reconnect it to the charger until the battery indicator shows 100%.
6. Disconnect the phone, power it on, and use it.
You should only need to use this sequence one time.
HOW TO: Enable/disable Voodoo
To Disable: Create a folder in /sdcard/Voodoo named "disable-lagfix" (without the quotes; capitalization is important). To Enable just remove this folder
Now reboot the phone.
Tips & Tricks/Missing Apps/Walpapers & Other Stuff
(11/16/2010) Con 2.3bv4: HOW TO: Install Missing Wallpapers & Keyboard
Live Wallpapers & SOme keyboards were removed from this ROM. Here is how to get them. Credit pinoymutt
http://forum.xda-developers.com/show...postcount=9095
(11/17/2010) Android Keyboard
http://forum.xda-developers.com/showpost.php?p=8431641&postcount=2
(11/18/2010)MMS Fix
Credit: mmoorman12
http://forum.xda-developers.com/showpost.php?p=8830645&postcount=4081
(11/18/2010)Some Google goodies for Froyo (Desk Clock, Genie Widget, Car Home, Music)
Might or not be compatible with all ROMS - Please try at your own risk
Credit: frauhottelmann http://forum.xda-developers.com/showthread.php?t=817092
(11/18/2010)androidIMATIONS | Custom Boot Animations for Android
Might or not be compatible with all ROMS - Please try at your own risk
Credit: cmbrougham http://forum.xda-developers.com/showthread.php?t=822955
(11/22/2010) 2.3b6 if you cannot get signal after flashing flash jj4 modem
http://forum.xda-developers.com/showthread.php?t=835272&highlight=modem
Credits:
Cognition Wiki
Many Many posts in XDA Captivate section

Other Stuff from Quoted from Cog Thread
GPS Settings:
To get to LbsTestMode: *#*#3214789650#*#* from your dialer
Originally Posted by cnewsgrp 1. Disable “Use Wireless Networks”
1. Navigate to Settings > Location & Security > uncheck the box next to “Use Wireless Networks”
2. Go to the phone and dial *#3214789650#
1. This step throws you into LBSTestMode menu
3. In the LBSTestMode menu change “Operation Mode” to MS Based
4. In the LBSTestMode menu, find “SUPL/CP Settings” and change the SERVER & PORT to supl.google.com and port 7276 (DO NOT use www. in front of supl)
5. REBOOT
6. Enable “Use Wireless Networks”
* Navigate to Settings > Location & Security > check the box next to “Use Wireless Networks”
Update: When using MS based, tracking is terrible, the gps often misses the fact that i have turned and thinks i am continuing forward.
Using standalone is a bit better, but still has times where it misses the fact that i have turned
Should you want to revert back to your original GPS settings, you’ll need to re-enter you factory specs:
Original settings:
Operation Mode: Standalone
SERVER: www.spirent-lcs.com
PORT: 7275​MMS Settings:
Name: AT&T
APN: wap.cingular
Proxy: leave blank
Port: leave blank
Username:[email protected]
Password:CINGULAR1
Server: leave blank
MMSC: http://mmsc.cingular.com
MMS Proxy: wireless.cingular.com
MMS Port: 80
MCC:310
MNC:410
APN Type: leave blank​Email fix if you have that "issue"
APK Download Here
adb pull /system/app/Email.apk
adb pull /system/app/Email.odex
adb push ./Email.apk /sdcard/
adb shell
su (at this point tell superuser to allow permissions if prompted)
rm /system/app/Email.apk
rm /system/app/Email.odex
cp /sdcard/Email.apk /system/app/Email.apk
chown root.root /system/app/Email.apk
chmod 644 /system/app/Email.apk
exit
exit
adb reboot​Cisco VPN Issue Fix:
VPN Links:
http://code.google.com/p/get-a-robot...9.apk&can=2&q=
http://code.google.com/p/get-a-robot...un.ko&can=2&q=
Simply follow these steps. ALL CREDIT GOES TO SUKKUBUS06 from another topic here on XDA. I modified a few steps that I think help the clarity of the instructions.
* Download the correct tun.ko for Android 2.2 here (it says Nexus One but works perfect with my Cognition ROM on Captivate): http://code.google.com/p/get-a-robot...un.ko&can=2&q=
Copy the tun.ko file to the ROOT of your internal SD Card.
Un-install any OpenVPN Settings, OpenVPN Installer, or OpenVPNC applications if they are installed. Perform these steps from scratch...TRUST ME.
You must have the Busy Box installer downloaded and install Busy Box. This app is availabe in the app store. use 1.17.
For the next step you must have the android SDK files on your computer. Open a command prompt, change directories to the C:\android-sdk-windows\tools directory then start the code commands.
Code:
adb shell
su(ALLOW ACCESS ON YOUR PHONE WHEN SUPER USER PROMPTS YOU)
mount -o remount,rw /dev/block/stl6 /system
cp /sdcard/tun.ko /system/xbin/
* create symlinks for busybox route and ifconfig (required by openvpn)
Code:
cd /system/xbin
mkdir bb
cd bb
ln -s ../busybox ./ifconfig
ln -s ../busybox ./route
* create directory for openvpn config files
Code:
mkdir /sdcard/openvpn
* create symlink for cp (unix command for copy). otherwise the install-script of the OpenVPNInstaller (see below) will fail!!!
Code:
ln -s /system/xbin/busybox /system/xbin/cp
* download OpenVPNInstaller from Android Market
run and configure OpenVPNInstaller
specify directories: busybox is in /system/xbin, ifconfig and route are in /system/xbin/bb
* copy vpn-config files (config, certs, key) to /sdcard/openvpn (i.e. via adb push or mounting the phone as a mass-storage unit)
* download OpenVPN Settings from Android Market
run and configure OpenVPN Settings
activate "load tun kernel module"
Tun module settings:
- Load module using insmod (instead of modprobe!!)
- Path to tun module: /system/xbin/tun.ko
Path to configurations:
/sdcard/openvpn
Path to openvpn binary
/system/xbin/openvpn
Now install the latest VPNC found here: http://code.google.com/p/get-a-robot...9.apk&can=2&q=
I rebooted my device at this point. I set up my connection in VPNC and it worked perfectly. Oddly enough when performing a lsmod command in the terminal, I see NO tun.ko module running but hey who cares! It works!
GOOD LUCK!​
How to edit notification bar/battery mods/transparent drawer:
http://forum.xda-developers.com/showthread.php?t=812541

Pirateghost said:
YEP
but if you already had everything setup the way you wanted....
Click to expand...
Click to collapse
With TiBu it really doesn't take too long to get back there,

Sorry if this is a dumb question but what is hsupa?
Sent from my SAMSUNG-SGH-I897 using XDA App

Yeah i got HSUPA but i had to do the harder way. That going to be a real treat for everybody.
Now we just need a kernal that can do it all, then there will be roms coming out everyone's ass we wont be able to keep up

TheTodFather said:
Yeah i got HSUPA but i had to do the harder way. That going to be a real treat for everybody.
Now we just need a kernal that can do it all, then there will be roms coming out everyone's ass we wont be able to keep up
Click to expand...
Click to collapse
this for sure

does the ugjh2 modem go into the pda spot in odin?? Never flashed just the modem

mauriciorubio said:
Sorry if this is a dumb question but what is hsupa?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
http://www.google.com/#hl=en&expIds...l=&oq=hsup&gs_rfai=&pbx=1&fp=1de331493393b8ab

buddy17 said:
does the ugjh2 modem go into the pda spot in odin?? Never flashed just the modem
Click to expand...
Click to collapse
nope, Phone slot. Kernel goes in PDA

wait....i think i meant to say kernal....unless i need to flash the modem AND the kernal?? I downloaded the reoriented kernal from the other thread that includes voodoo, is that all i need to get hsupa if i already have cognition?

im on sre2b6, if i flash to this cognitive will i need to mess with odin for the modem or is included...can i just rom manager over to this, i dont mind if it wipes everything

buddy17 said:
wait....i think i meant to say kernal....unless i need to flash the modem AND the kernal?? I downloaded the reoriented kernal from the other thread that includes voodoo, is that all i need to get hsupa if i already have cognition?
Click to expand...
Click to collapse
nope, you need the JH2 modem. it's hiding somewhere in the kernel thread. Zilch needs to be here tonight, he's usually on top of this ****

HSUPA is high speed uplink packet access and that with download makes HSPA or 3.5g.
or http://en.wikipedia.org/wiki/High-Speed_Uplink_Packet_Access
NOW Gears we need to optimize MTU settings!!!!
Maxium Transmition Units--------currently we are pegged at 1400 and with header it even lower i think 1352 to be exact.
1500 The biggest sized IP packet that can normally traverse the internet without getting fragmented. Typical MTU for non PPPoE, non VPN connections.
1492 The maximum MTU recommended for internet PPPoE implementations
1472 The maximum ping data payload before fragmentation errors are received on non-PPPoE non VPN connections
1460 TCP Data size (MSS) when MTU is 1500 and not using PPPoE
1464 The maximum ping data payload before fragmentation errors are received when using a PPPoE connected machine
1452 TCP Data size (MSS) when MTU is 1492 and using PPPoE
576 Typically recommended as the MTU for dialup type applications .. leaving 536 bytes of TCP data.
48 The sum of IP, TCP, and PPPoE headers
40 The sum of IP, and TCP headers
28 The sum of IP, ICMP headers
Clicking this link will show you your MTU and other important settings http://www.speedguide.net/analyzer...._TOS=0&IP=24.236.120.106&timestamp=1284959054
SO we can either have a max of 1500 or 1400 but when downloading a package that is a 10mbs it adds up real quick!
AT&T pegged us at 1400 for a reason we don't know if it will work unless we test for packet loss. If anyone can point me in the right settings I would love to play with it.

darkamikaze said:
I rather do that I think.. links to both D: ?
and which goes to where? like phone? pda? D:
Click to expand...
Click to collapse
extract the .tar file out of the zip and the .bin file out of the modem zip
tar goes in PDA
modem goes in PHONE
i had to flash them separately to get it to work 100%

OK, I am trying to disable the lagfix using the disable-lagfix file in the voodoo directory, but it doesn't seem to be doing anything(usually you hear the robot voice saying it is reverting back to RFS). I'm going to try removing the file, and see what happens.
EDIT: Hmm, removing it I hear the voice telling me it is applying the voodoo ext4 lagfix. Maybe I just missed it when I added the file before. There were a couple of drunk idiots I had to help at my job...

Demented71 said:
OK, I am trying to disable the lagfix using the disable-lagfix file in the voodoo directory, but it doesn't seem to be doing anything(usually you hear the robot voice saying it is reverting back to RFS). I'm going to try removing the file, and see what happens.
EDIT: Hmm, removing it I hear the voice telling me it is applying the voodoo ext4 lagfix. Maybe I just missed it when I added the file before. There were a couple of drunk idiots I had to help at my job...
Click to expand...
Click to collapse
Hey demented, deleting the files wont revert you back to rfs. Create a folder called "disable lagfix" with no quotes or hyphens
Sent from my SAMSUNG-SGH-I897 using XDA

wuxingwarrior3 said:
Hey demented, deleting the files wont revert you back to rfs. Create a folder called "disable lagfix" with no quotes or hyphens
Sent from my SAMSUNG-SGH-I897 using XDA
Click to expand...
Click to collapse
I know. I created the file via ES File Explorer, but I think I was outside my booth when it removed the lagfix, so I thought that it didn't do it.
EDIT: Just created it again, and it's reverting back to RFS.

TheTodFather said:
HSUPA is high speed uplink packet access and that with download makes HSPA or 3.5g.
or http://en.wikipedia.org/wiki/High-Speed_Uplink_Packet_Access
NOW Gears we need to optimize MTU settings!!!!
Maxium Transmition Units--------currently we are pegged at 1400 and with header it even lower i think 1352 to be exact.
1500 The biggest sized IP packet that can normally traverse the internet without getting fragmented. Typical MTU for non PPPoE, non VPN connections.
1492 The maximum MTU recommended for internet PPPoE implementations
1472 The maximum ping data payload before fragmentation errors are received on non-PPPoE non VPN connections
1460 TCP Data size (MSS) when MTU is 1500 and not using PPPoE
1464 The maximum ping data payload before fragmentation errors are received when using a PPPoE connected machine
1452 TCP Data size (MSS) when MTU is 1492 and using PPPoE
576 Typically recommended as the MTU for dialup type applications .. leaving 536 bytes of TCP data.
48 The sum of IP, TCP, and PPPoE headers
40 The sum of IP, and TCP headers
28 The sum of IP, ICMP headers
Clicking this link will show you your MTU and other important settings http://www.speedguide.net/analyzer...._TOS=0&IP=24.236.120.106&timestamp=1284959054
SO we can either have a max of 1500 or 1400 but when downloading a package that is a 10mbs it adds up real quick!
Click to expand...
Click to collapse
where is the MTU settings at in android

Related

HTC Stocks currency problem

The HTC Stocks app has the best widget of all other currency apps, so I was using it on my 1.5 Hero for displaying the EURO/GBP (EURGBP=X) rate.
After the 2.1 rom update I have a strange problem. When I try to add a new ticker for "eurgbp=x", I get the error message: "Unable to recognize the company name or stock symbol you typed. Please try again." However, this worked in the past like a charm. I have to note that adding "gbp=x" or "usd=x" works fine, with no problem at all.
Maybe this problem is related to an updated version of the Stocks app in the new rom. Is anyone experiencing the same problem? I haven't found a similar thread for a Sense Android phone. The same problem exists in the latest rom of HD2, but people have figured a work-around, by changing a file under "Application Data\HTC\", but this file doesn't exist on Android.
Any help would be more than welcome!
I experience the same problem (although I'm on VillainRom12). Previously adding currencies (EURUSD=X etc) was working, but right now I am unable to find it. This could be HTC problem as it was working fine on 1.5, but this could be also some Yahoo search glitch (I am unable to search for that quotes on mobile version of the Yahoo Finance page, while the desktop version works fine). The only workaround to that was to edit manually SQLite database of Stocks application (but this may require root - I can provide details if necessary). Once I added appropriate entries to the list of stocks, it seems to be working fine (it is displaying my currencies, but the search still does not work).
One other deficiency I found was the fact that graphs are not cached anymore - If I open the application and check for example a daily graph, I need to update it in order to see any chart - each time, even if I switch from 1D to 5D and back. It is also automatically updated each time I visit given tab, if I enable the automatic updates. Previously this app displayed previously cached graph. I'm not sure whether this happens also on stock 2.1 ROM.
Now that you mention it, I have the same problem with the graphs in the 2.1, too. It worked (showed the cashed graph) in the 1.5, but not any more. Blank graph until it updates.
Can you provide me some guidance about how to edit the Stocks' database? At least a link to something similar would be much appreciated. Can I access the phone's system folder without rooting it, through my PC (Win, Linux, whatever)?
eeVoskos said:
Can you provide me some guidance about how to edit the Stocks' database? At least a link to something similar would be much appreciated. Can I access the phone's system folder without rooting it, through my PC (Win, Linux, whatever)?
Click to expand...
Click to collapse
I'm new in the business, so I'm not sure if the root is necessary. You can try it, anyway to see if you will be able to push and pull files from the directory where Stocks stores its database.
Here's what I did:
Enable USB Debugging in Settings -> Applications -> Development -> USB Debugging
Download Android SDK from http://developer.android.com/sdk/index.html
In command line go to subdirectory tools of Android SDK
Close Stocks app and remove Stocks widget from the screen
Connect Phone via USB
... (Beginning of the optional part) ...
Go to Android shell
Code:
adb shell
List any processes to see if there's a com.htc.android.Stock process (like in this case)...
Code:
ps | grep Stock
7605 10007 130m S com.htc.android.Stock
7619 0 2156 S grep Stock
Kill any Stock processes (using the value in the first column):
Code:
kill 7605
Exit to command line
Code:
exit
... (End of the optional part) ...
Pull the Stock database:
Code:
adb pull /data/data/com.htc.dcs.service.stock/databases/stock.db stock.db
Sample output:
Code:
d:\Projects\Android\tools>adb pull /data/data/com.htc.dcs.service.stock/databases/stock.db stock.db
568 KB/s (5120 bytes in 0.008s)
Backup, just in case:
Code:
copy stock.db stock_backup.db
Run sqlite3
Code:
sqlite3 stock.db
Enable headers in sqlite:
Code:
.headers on
List contents of quotes table:
Code:
select * from quotes;
Sample output:
Code:
sqlite> select * from quotes;
_id|_name|_symbol|_price|_change|_percent|_open|_high|_low|_volume|_link|_type|_sequence|_updatetime
2|CHF/PLN|CHFPLN=X|3.08299994468689|0.0116999996826053|0.381900012493134|3.07209992408752|3.08550000190735|3.07010006904602|0|http://m.yahoo.com/htcwf/search?p=CHFPLN=X||0.0|1278490511305
3|USD/PLN|USDPLN=X|3.27649998664856|0.0200999993830919|0.617200016975403|3.25550007820129|3.27959990501404|3.24499988555908|0|http://m.yahoo.com/htcwf/search?p=USDPLN=X||100.0|1278490511305
4|EUR/PLN|EURPLN=X|4.1217999458313|0.0151000004261732|0.367700010538101|4.11250019073486|4.12349987030029|4.10799980163574|0|http://m.yahoo.com/htcwf/search?p=EURPLN=X||200.0|1278490511305
5|EUR/USD|EURUSD=X|1.25789999961853|-0.00469999993219972|-0.376199990510941|1.26170003414154|1.26259994506836|1.25689995288849|0|http://m.yahoo.com/htcwf/search?p=EURUSD=X||300.0|1278490511305
6|EUR/CHF|EURCHF=X|1.33689999580383|-0.000899999984540045|-0.0710000023245811|1.33879995346069|1.33910000324249|1.33609998226166|0|http://m.yahoo.com/htcwf/search?p=EURCHF=X||400.0|1278490511305
sqlite>
Note the last _id (here 6) and add new currency with _id higher by 1 (so here, 7):
Code:
insert into quotes (_id, _name, _symbol) values (7, "EUR/GBP", "EURGBP=X");
Check if it has been added:
Code:
select * from quotes;
Sample output:
Code:
sqlite> select * from quotes;
_id|_name|_symbol|_price|_change|_percent|_open|_high|_low|_volume|_link|_type|_sequence|_updatetime
2|CHF/PLN|CHFPLN=X|3.08299994468689|0.0116999996826053|0.381900012493134|3.07209992408752|3.08550000190735|3.07010006904602|0|http://m.yahoo.com/htcwf/search?p=CHFPLN=X||0.0|1278490511305
3|USD/PLN|USDPLN=X|3.27649998664856|0.0200999993830919|0.617200016975403|3.25550007820129|3.27959990501404|3.24499988555908|0|http://m.yahoo.com/htcwf/search?p=USDPLN=X||100.0|1278490511305
4|EUR/PLN|EURPLN=X|4.1217999458313|0.0151000004261732|0.367700010538101|4.11250019073486|4.12349987030029|4.10799980163574|0|http://m.yahoo.com/htcwf/search?p=EURPLN=X||200.0|1278490511305
5|EUR/USD|EURUSD=X|1.25789999961853|-0.00469999993219972|-0.376199990510941|1.26170003414154|1.26259994506836|1.25689995288849|0|http://m.yahoo.com/htcwf/search?p=EURUSD=X||300.0|1278490511305
6|EUR/CHF|EURCHF=X|1.33689999580383|-0.000899999984540045|-0.0710000023245811|1.33879995346069|1.33910000324249|1.33609998226166|0|http://m.yahoo.com/htcwf/search?p=EURCHF=X||400.0|1278490511305
7|EUR/GBP|EURGBP=X|||||||||||
sqlite>
Quit sqlite:
Code:
.quit
Push the file back to the phone:
Code:
adb push stock.db /data/data/com.htc.dcs.service.stock/databases/stock.db
Sample output:
Code:
d:\Projects\Android\tools>adb push stock.db /data/data/com.htc.dcs.service.stock/databases/stock.db
341 KB/s (5120 bytes in 0.014s)
Restart phone.
See if that worked
I hope HTC (or Yahoo) will be able to fix that, because the above is really a long process...
Anyway, I can't make it work. Entering "ps | grep Stock" gives me a "grep: permission denied" error message. I did some searching and I believe this is what people mean by saying "you need root access", right? I'll come back when I'm rooted (i.e. when I find a decent guide for rooting 2.1).
Thanks for your time & effort man. I really appreciate it.
eeVoskos said:
Anyway, I can't make it work. Entering "ps | grep Stock" gives me a "grep: permission denied" error message.
Click to expand...
Click to collapse
You can try to omit the "optional" part (steps 6-9) - the ps thing was just to make sure that Stock isn't running. But I noticed anyway that it never ran in the background when I closed it on the phone. Try to adb pull and adb push and see if you'll get any permission issues. If you do, then you indeed need a root (sorry I can't check that as I'm rooted)
A couple of days ago I updated the ROM of my HTC TD2, with the most recent one of HTC (WM6.5, Sense 2.5.20113030.0). Afterwards I noticed that I also could not get the stock app to accept the code EURUSD=X.
You mention the following
The same problem exists in the latest rom of HD2, but people have figured a work-around, by changing a file under "Application Data\HTC\", but this file doesn't exist on Android.
Click to expand...
Click to collapse
Can you tell me what that work-around is or point me to it? Hopefully this can help me.
Thank you in advance.
Check this thread:
http://forum.xda-developers.com/showthread.php?t=706732
eeVoskos said:
Check this thread:
Click to expand...
Click to collapse
Thank you for the link (which I am not allowed to repost ).
Last Monday I wrote an e-mail to HTC about this problem and a couple of days later I got a reply. They told me they tried to search for the currency rate (eurusd) and that they got a result. So I tried again and lo and behold I got a result as well. Searching for eurusd=x gave me a result while last weekend it was not working.
So I tried several other currency rates and they all rendered a result, also eurgbp=x. Perhaps it is also fixed for the Android app.
[Extra information added below]
Tried again and nothing
I was connected with a data connection to my carrier, so I switched to my wifi connection. Tried again and... result.
So it seems to be a difference in communication between an ordinary data connection and a wifi connection. Maybe this will help someone
Wird problem. I tried it too on both UK and Greek carriers and on WiFi, but nothing. No result for either of them: "eurgbp=x", "eurgbp", "eurusd=x", "eurusd". I have been trying occasioanly more than one month now.
I think I should drop them an email too...
Why don't you do a soft (temporary) root and make the database entries as described in here? I did it and now I got all the stuff I need, and no trace of root on the device.

Phoenix---->UPDATE IN PROGRESS!

PHOENIX UNLEASHED JS8
Its not just a rom, its a Cauldron of Awesomeness!!
WINNING!!!
It's that time again, Team Phoenix has now brought you Phoenix version Ultimate JS7!! This is the same great Phoenix ROM everyone knows and loves plus so much more!​
Screen Shots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD PHOENIX ULTIMATE JS7!
MIRROR
What it includes:
1. JK4 Modem
2. Speed Mod version C w/ memory tweaks
3. Security patch
4. FUGU Tweaks
5. New default font
6. New email apk
7. Telenav GPS
8. My(Adam's GPS File combo)
9. Lagfix, tweaks and BLN install on first boot(easy to change if this is not to your liking.)
I am sure there is more!
Included Apps
1. Tibu
2. Telenav voice guided GPS
3. XDA app
4. Latest SGS tools
5. Faster Fix GPS
6. My modded dialer from Phoenix 6.0
7. Voodoo Sound
8. Updated, themed market
9. Market Finger print is now fixed(Thanks to Geohentix for bringing it to my attention).​​
MODEMS
Alternate Modems
More Modems Here
KERNELS
Firebird
Glitterballs
SuckerPunch Voodoo
SuckerPunch non-Voodoo
Di11Pickle
Very much appreciated but by no means required. Thank you!​
​
Credits:
Team Phoenix
Di11igaf-always considered by me to be a silent part of Team Phoenix
JoeDV
ETheRealRemnant-Telenav finder
Comdei
blank to move to first post​
Change log
Change log from 7.0 to Phoenix Ultimate!
*JK4 modem
*Clean call recording mod
*Pandora works
*Dialer includes MMS option instead of 2nd VM button
*Updated SGS Tools
*Phoenix themed Miui Music apk
*Volume link in settings
*Stay on while plugged in added to settings
*Video player added back in
I think there is more but I need sleep.
Change log from whatever the last release was to PHOENIX UNLEASHED!
Code:
Phoenix Unleashed:
Theme updated
Removed Telenav(source of battery drain)
put clock back in status bar but added toggles to remove whole clock or just am/pm
Updated to latest Captivate Tools(SGS tools)
FUGU Tweaks (great with JS8)
Speed Mod version D Kernel
Good 'ol JK4 modem
I know there is more but it is 2 am, give me a break!
FYI-Reverted to classic Phoenix Theme
So is this one
FAQ
Will be Updating soon
DO NOT FLASH WITH THE USB PLUGGED IN!! YOU WILL NOT HAVE SIGNAL WHEN THE PHONE BOOTS.
3.5 starts here
Recovery:
​ Hold vol down + vol up
Hold power button
I wait for att screen, (keep holding)then for screen to go off,(keep holding) then the second time the att screen comes up release power button.
Download mode/odin:​ LINK TO ODIN ONE CLICK STOCK
1.Start odin first
2.Plug in usb to computer
3.Hold down vol up + vol down(not power)
4.Plug usb into phone
5.When you see the android with shovel, your in download mode!
How to flash PHOENIX Roms.
Roms Should be Flashed will 100% battery​
1. BACK UP!!!
2. Use Odin One click to Flash Stock
2a. Wait for it to reboot and then re-enable debugging, hook phone back up to pc and Master Clear
3. Load Clock Work update zip (attached at end of post) and new rom file to Phone memory
4. Remove sim and external SD, and unplug from USB
5. Boot into Recovery and reinstall packages (You may have to reinstall packages twice to get to clockwork recovery)
6. Once in Clock work recovery (Green Text) Select install zip from SDcard
7. Next Select Choose zip from sdcard
8. Scroll down to Phoenix ( Current version) and select.
9. If prompted on reboot to select an option choose with backup and restore. (for auto lagfix)
10. Let it finish and dont touch it till you see the launcher screen. Will this take awhile? YES
How To Disable Vodoo
1.Open A file Explorer ex. Root Explorer
2.Navigate to the Vodoo Folder
3.Inside the Vodoo Folder create a Folder Named disable-lagfix
4.Reboot
5.It will seem to hang on the boot screen Just leave it alone till it fully boots
Or Download attached zip file, unzip and move folder to vodoo folder and reboot and then sit back and wait. It will take awhile so just leave it be​
Wipe Battery Stats​1. Connect the phone to the charger with the phone powered on, and allow the phone to charge until it shows 100%
2. Disconnect the phone from the charger, and power it off.
3. Reconnect the phone to the charger with the phone powered off, and allow the phone to charge until the battery indicator shows 100% (you can use vol-up/vol-down to make the indicator come back up when the screen goes to sleep).
3a. Repeat step 1, 2, 3
4. Disconnect the phone from the charger and power it on.
5. Once the phone is powered completely on, power it off again and reconnect it to the charger until the battery indicator shows 100%.
6. Disconnect the phone, power it on, and use it.
7. Use ADB or a Terminal Emulator to run the following command:
Code:
su
rm /data/system/batterystats.bin
7a. Reboot into clock work Recovery, and choose advanced CWM features and select wipe battery stats
How to back up your APPS + data (not system data) with Titanium Backup​
Go to the market and download and install Titanium Backup
Load up Titanium Backup and allow super user.
Go into Preferences and change Backup Folder name to external_sd/TitaniumBackup (this will save a copy of the files to your external SD card for restoring after flash) then click back and it will reload.
Now go to batch and select backup all user apps. Select the apps you want and hit run batch (top of the screen) once it is finished (you will know as there is a notification in the drop down that it is done) Double check you external sd for the Titanium Backup folder, if it is there then you are good, if not double check the spelling. Make sure it is an underscore between external and sd. ex. external-sd = Wrong..... external_sd = right so it should read external_sd/TitaniumBackup
Ok So you Fully Bricked your Captivate Here is a last ray of hope
Download mode/JIG:​ ITEMS YOU WILL NEED TO BUY:
-301k OHM Resistor, no more no less & -MicroUSB Board
-Upon receiving items, go here.
-Remove SIM and MicroSD Card
-Plug in JIG and voila, you are back in download mode
-load up odin and flash back to stock
Themes and Stuff
Disable Vodoo before flashing themes like blackfroyo with recovery.
Voltage Settings (If Kernal Supports OC/UV)
VoltageApp settings will stick until reboot, but to get them to stay after rebooting, this is what worked for me; You will need Root Explorer for this one
Setup Voltage App like you want
Menu>Apply for Now
Menu>Save as boot settings
Open Root Explorer
Navigate to /etc/init.d
Locate file saved for boot settings (S_volt_scheduler)
Rename "S_volt_scheduler" to "S_98_volt_scheduler"
Save
Reboot
Open VoltageApp to verify settings stuck
AT&T Wap Settings​
ATT
wap.cingular
not set
not set
[email protected]
not set
not set
http://mmsc.cingular.com
wireless.cingular.com
80
310
410
not set
internet+mms
Power Cycle without pulling battery
Hold volume up and power for 10 sec. (This will reboot your phone without a battery pull)​
Backing Up your NV_data
Thread With more info
The reason its important to back up your NV_data (Non-volitile) is this has your imei, product code, unlock codes and model. This informatioin is not recreated with a JF6 OCD (One click downloader)
Certain Roms write data to your NV_data
(i think it was JPC leak from I9000 that was the first one. it changed everyones product code to I897ZKAKOR)
Axura changes the product code to I959ZKATMB or something like that
The Correct Product code for our Captivate is I897ZKAATT.
If your IMEI says 004999010640000 begin_of_the_skype_highlighting 004999010640000 end_of_the_skype_highlighting begin_of_the_skype_highlighting 004999010640000 begin_of_the_skype_highlighting 004999010640000 end_of_the_skype_highlighting end_of_the_skype_highlighting this is incorrect also and you may find your phone to stop making calls as this is like a debugging or prototype imei
Finally, if your unlock code is FFFFFFFF, you need this repair in order to unlock your code
All of these can be fixed with Helroz's Repair_nv_data.zip Found Here: http://perso.numericable.fr/helroz/P...ir_nv_data.zip
I did not create the software or any of the instructions, THis is credited to Helroz in the vibrant forum (please thank and donate to him) he came up with all of this, Im just sharing knowlage.
this can be found here: Unlocking Tmo Vibrant
http://forum.xda-developers.com/show...&postcount=103
Just read the read me first. then the .Doc Make sure you are at Stock JH7 (I didnt try jf6) and root with busy Box (Super One click by CLShort Fuse worked for me)
Then Step 2,3 and 4. Monitor your phone for SU access attempts, it has several and be patient and read what its asking you to look for,
Now if you havent Backed up your NV_data then now is the time. I Use root explorer and just copy the /efs folder to a safe place (I have a copy on my ext. sd card and a backup hard drive)
You can also Use SGS tools (not SGS tool Box) to do a product code check. This also copies all of the pertenant NV_Data files to a folder on your internal SD card. you can use these also if you want.
Flashing JPP Modem to enable 850
The only guaranteed method for enabling 850 on jpp that is proven to work every time is to:
Flash stock using odin
Flash jg8 modem
Flash rom with jpp modem
Hopping around to other modems and back to jpp after this will kill 850 as well.
For some this is not an issue as they are in areas where 850 is not utilized by AT&T but for others jpp will cause headaches if they try using it without following these steps.​
Themes and Graphics
Disable Vodoo before flashing themes like blackfroyo with recovery. (if Running vodoo)
How to change Boot Animation.
1.Find the animation that you want (most be compatible with captivate)
2.Copy bootanimation.zip (it must be named this) with a file explorer that gets you to system files ex. Root explorer to system/media
3.Reboot
Fonts
http://forum.xda-developers.com/showthread.php?t=801160
http://forum.xda-developers.com/showthread.php?t=748916
Phoenix Patches
All Patches and Fixes attached below
Phoenix 1.5= Email and phone APK. Copy to system/app , clear data in email app and reboot
Email FC after changing email Fix
Thanks to Newter55 for the find
Download the libcamera.so from here: http://dl.dropbox.com/u/11343737/libcamera.so
Use root explorer or whatever method you prefer and make a backup copy of /system/lib/libcamera.so just in case you need to get it back.
Copy the libcamera.so you downloaded from above link over the existing one in /system/lib.
Delete or rename the existing email.apk in /system/app to test that this fix works.
Reboot phone.
Open Barcode Scanner and enjoy the fact that it no longer force closes.
This will allow people to use whatever email.apk they prefer...or if they are like me they can get rid of the apk altogether.​
​
​
Ok Guys I wipped out all the Flaming in the thread. I have reopened it after the rules were met.
Here's a quick and dirty conversion to boot animation of that "Operation Phoenix" video if anyone wants it.
Download bootanimation.zip
app
Jeepsdaddy said:
How do you change the GPS server settings and wipe GPS data?
Click to expand...
Click to collapse
Sgs tools app, secret codes, lbs test mode, change supl settings, delete gps data
Sent from my SGH-I897 using XDA App
Also if anyone has issues with charge death or random shutoffs while charging. http://forum.xda-developers.com/showthread.php?t=887315
That kernel works well with this ROM.
Hey Adam thanks for all your hard work. This is my wallpaper
this looks so good adam!
A big congrats to you and your team...
Awaiting a full battery for the flashing to begin!
Smaller versions of the Operation Phoenix boot animation. It still looks fine even in the 10fps version IMO.
Tinyier uglier animated GIF rendition:
Small 10fps Version Download
Medium 16fps Version Download
Large 30fps Version Download
BTW, I Can't find the post now, but thanks to whoever originally found this animation.
zelendel said:
I agree with the sound. I even have a fire wav file that I used back on one of the boot animations for an old WM rom if you want adam
Click to expand...
Click to collapse
Hey Zel, Where did you get that Avatar, it would be sweet if we could light that on fire! Android Phoenix!
adamholden85 said:
NO FLAMING ALLOWED!! That is my # 1 rule. Smoke has helped me out tremendously. Let the past be the past. What's done is done. Smoke is the man in my book.
Click to expand...
Click to collapse
Sorry mate, wasn't meant as a flame.
Was just trying to say that there really isn't a leagl ground to try and shut down Phoenix, and I believe I speak for everyone when I say we would rather see you be able to develop Phoenix and make it all it can be, without the threat of a gun to your head.
All aside, I am looking forwards to hear what great things come out in the coming weeks.
Also, make sure you take time off and enjoy New Years with your family!
Yes we may be part of your family, but you gotta look after the RL ones too.
zelendel said:
Good morning everyone. As far as last night goes, it was taken care of so moving forward I am so looking forward to a 2.2.1 base with Phoenix beauty.
Click to expand...
Click to collapse
Morning...after 3pm.. Sheeshh
Felklaw said:
Personally, I have the following:
-Auto brightness (but use Screen Filter for night time)
-I initially had this set, but have since set it back to never sleep. Not really noticing big difference, and where I work and live, both are Wi-Fi already set up in my phone. Plus when Wi-Fi is off, I found my phone syncing would then use 3G on AT&T's stupid ass limited rates....
-Bluetooth off when not using it
-GPS turned off when not using it
-Have not touched the sync frequency
I had terrible battery the first few times, one MAJOR thing to do is go into SGS Tools and ensure you Update Stock Apps --> 3D Gallery
That stock gallery is a known battery raper. After doing that, I had 24hrs uptime and had 63% battery left.
Means I can go 2 days with moderate to medium usage (calls, texts, web browsing, games and App Market)
Gotta be happy with that!
Click to expand...
Click to collapse
+1 on all the steps but I wasnt aware of the gallery issue. If I read it right, this has the one baked in you reference. I have never gotten battery life to that level but following these steps did help me as well. You must have one bada$$ battery! Good post.
Good news/bad news
Good news, we are not getting shut down. Master's case was not strong enough. Bad news, who am I kidding, there isn't any. We are still moving firmwares though to get up with the times.
adamholden85 said:
Good news, we are not getting shut down. Master's case was not strong enough. Bad news, who am I kidding, there isn't any. We are still moving firmwares though to get up with the times.
Click to expand...
Click to collapse
Awesome news
adamholden85 said:
Good news, we are not getting shut down. Master's case was not strong enough. Bad news, who am I kidding, there isn't any. We are still moving firmwares though to get up with the times.
Click to expand...
Click to collapse
Excellent news.
Means 1 less stress for you and the team.
how can i chage the battery icon it looks like a christmas bell
Here is a free template I found that kinda looks cool if someone who knows html wants to screw with :
Preview : http://www.phoenix-hq.com
html files and images : http://phoenix-hq.com/Colorus.zip

[ROM] • FireFly 3.0 • [4/21/2011] | The Gold Standard of ROMs |

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Official FireFly Website
More screenshots are on the official website​DISCLAIMER:
Flash this ROM at your own Risk. Team FireFly and I are not responsible for what you do on your device.​ROM DOWNLOAD:FireFly 3.0:
Download
Included on the download page:
FireFly 3.0 - Base Rom with clock
Upgrade from 2.9 to 3.0:
This is a no wipe package
You will have to flash the kernel on your own
ORYou can download this ROM/Update using the FF Mods and Fixes app:
DOWNLOAD​
This app will allow me to send updates and fixes over the air.
It does require a internet connection and may take a few seconds to load.
A HUGE thanks to wilsongis.
Quick Info:
If you flash the ROM, and it is taking really long to boot, don't worry, this is normal. It will only happen on the first boot. Subsequent boots will be lightning fast.
Only use the update package if you are on FireFly 2.9. If you are on an older version, please use the update package in incremental order from the FF app[/URL]
Discussion for FireFly 3.0 starts here​Mods and Fixes are in Post #2​FEATURES:
Android 2.2
JK4 Modem
SpeedMod K13E
Rooted
Advanced Power Menu
5 Lock Screen Chooser
Voodoo Sound and Color Fix
Themed GB Launcher
3G-H symbol works as designed
Modified logsprovider to filter out Mms in the phone log
Hide AM/PM in the status bar clock (Settings->Date and Time)
Clock/No Clock Toggle
Auto Date/Time fixed
Stay awake option (Settings->Applications->Development)
Wifi Scan to 30 sec
MMS with timestamp fix
Awesome boot animation
Themed Market
Slick, polished and smooth UI
Semi-Transparent Power Control Widget
Right to left support
Special Edition Xtreme Yummy Dialer
Fugu Tweaks
Applied Malware Patch
English(Canada) Locale
Ability to select music files as ringtones
Fly animations
Hacked Gallery (does not drain battery)
Hacked Camera (takes picture with power button)
Camera not dependent on Email app
Browser optimized to run gif animations smoothly
New look for some of the Lockscreens (Puzzle, Epic, Rotary)
Fancy Widget FF clock skins included
Tons of wallpapers to choose from
17 Battery Mods to choose from!!
Fonts Galore!!
Right to left support
Optional Call recording
Awesome app called FF Mods and Fixes v1.5
Ability to receive updates and Fixes OTA
Selection of dialers with the ability to change dialers without rebooting
Change boot animations and flash battery mods
Included AppsFF Mods and Fixes
Miui Music
Music 3.0
Awesome Themed Dialer
Captivate Tools 4.7.3
Titanium Backup
XDA App
Themed Swype
Voodoo Sound Control App v0.10
Galaxy Tuner
Rescan Media​CHANGELOG:
Version 3.0 - Apr 21, 2011
50% Time without signal bug fix
Added themed Video Player
Re-added XDA app
Version 2.9 - Apr 14, 2011
Updated to SpeedMod K13E
Clock/No Clock Toggle
Auto Date/Time fixed (you can now manually change Date/Time)
Wifi Scan to 30 sec
MMS with timestamp fix is now included by default (about time, I know, sorry)
Removed the superficial SD card fix
Updated FF Mods and Fixes to 1.5
You can now change dialers without rebooting (You can haz new dialer everyday )
Also added a new section FireFly Extras
New Default Wallpaper + more wallpapers added to the wallpaper chooser
New Boot Animation
Updated Market
Updated Google Maps
A big thanks to thebone01, bryman27, fritzgerald, wilsongis and everyone else for helping out on this update.​Previous Changelogs can found on the FireFly website​Credits:
adamholden85
Kizzmiazz
Zelendel
Swift.Judgement - Link to his thread
Tsachi
xBarbarian
roger_n
defnow
Razzman
snorkle
ztoloev
eep2378
NunHugger
dfuse06
apparition
Haighter
modmyphone
JGGW
bryman27
fritzgerald
wilsongis
thebone01
HaiKaiDo
If I have forgotten to mention your name in the credits, I apologize.
Please send me a PM and I will promptly fix the list.​Look at post #3 for more information on how to flash this ROM.
For questions/issues regarding this ROM, please post in this thread. Team FireFly and I will try our best to answer/address your concerns.
If I did not respond to your question/concern, don't get mad. It gets pretty hectic sometimes.​FireFly Signature:If you want to represent FireFly in your signature and don't want to worry about continuously updating it as the versions go on, then use this sigpic. It will be updated automatically with each update.
Special thanks to modmyphone, these are his creative masterpieces.
Place the following code in your signature.
Replace "(" & ")" with "[" & "]"
Code:
(IMG)http://www.arnav.laxsav.com/FireFly/OP/FF_sigpic.png(/IMG)
​GOT QUESTIONS? - CLICK HERE
OR
Join our IRC | HERE |
Change the channel to: #FireFly
For those who already have an IRC client here is the server: irc.shadowcard.net
Channel: #FireFly
Port: 6667​★ Thank You and Enjoy! ★
​
GOT QUESTIONS? - CLICK HERE​MODS:
All of the following can be flashed using ClockWork recovery (except when stated otherwise)
These are only meant for FireFlyBattery Mods:
Android Dude Battery - DOWNLOAD
Circle Battery - DOWNLOAD
Large Number Battery - DOWNLOAD
Green Circle Battery - DOWNLOAD
Glossy Battery - DOWNLOAD
Android Dude with Wings - DOWNLOAD
Colored Android Dude - DOWNLOAD
Honeycomb Battery - DOWNLOAD
Gauge Battery - DOWNLOAD
GB Color Circle Battery - DOWNLOAD
Gen X Battery - DOWNLOAD
Crysis Battery - DOWNLOAD
Original GB Battery - DOWNLOAD
JazzK Battery - DOWNLOAD
Antonda Battery - DOWNLOAD
Landscape GB Battery - DOWNLOAD
Jumba Neon Battery - DOWNLOAD
You have a battery that you would love to have with FireFly? Send me a request.​Toggle Switches:
For the notification pull down
DOWNLOAD
Dialers:Xtreme Dialer:
You can find different colors of my dialer here
Themes:
Honeycomb - LINK
Dark Fire Red - LINK
Dark Fire Blue - LINK
SecularNun (Absolution) - LINK
SecularNun (Renewal) - LINK
SecularNun (Chastity) - LINK
SecularNun (Joy) - LINK
Smoke Theme - LINK
Stock FireFly Theme - DOWNLOAD
Themed Market:00.ante has created some pretty sweet themes for the Market app.
Click here to view his thread​FIXES:
+ Flash the following through recovery
Multitouch Keyboard » DOWNLOAD
Call Recording » DOWNLOAD
Remove Call Recording » DOWNLOAD
Gallery.apk without battery drain » DOWNLOAD (Thanks to JGGW for providing this)
Disable Fugu Tweaks » DOWNLOAD
Enable Fugu Tweaks » DOWNLOAD
Samsung Apps » DOWNLOAD
Remove Samsung Apps » DOWNLOAD
TO DO LIST:
.............
I am sure there is more, please let me know.​
FAQ
Will be Updating soon
DO NOT FLASH WITH THE USB PLUGGED IN!! YOU WILL NOT HAVE SIGNAL WHEN THE PHONE BOOTS.
Recovery:
​ Hold vol down + vol up
Hold power button
I wait for att screen, (keep holding)then for screen to go off,(keep holding) then the second time the att screen comes up release power button.
Download mode/odin:​ LINK TO ODIN ONE CLICK STOCK
1.Start odin first
2.Plug in usb to computer
3.Hold down vol up + vol down(not power)
4.Plug usb into phone
5.When you see the android with shovel, your in download mode!
How to flash FireFlyRoms.
Roms Should be Flashed will 100% battery​
1. BACK UP!!!
2. Flash to stock
2a. Wait for it to reboot and then re-enable debugging, hook phone back up to pc and Master Clear
3. Load Clock Work update zip (attached at end of post) and new rom file to Phone memory
4. Remove sim and external SD, and unplug from USB
5. Boot into Recovery and reinstall packages (You may have to reinstall packages twice to get to clockwork recovery)
6. Once in Clock work recovery (Green Text) Select install zip from SDcard
7. Next Select Choose zip from sdcard
8. Scroll down to Firefly.x and select.
9. If prompted on reboot to select an option choose with backup and restore. (for auto lagfix)
10. Let it finish and dont touch it till you see the launcher screen. Will this take awhile? YES
How To Disable Vodoo
1.Open A file Explorer ex. Root Explorer
2.Navigate to the Vodoo Folder
3.Inside the Vodoo Folder create a Folder Named disable-lagfix
4.Reboot
5.It will seem to hang on the boot screen Just leave it alone till it fully boots
Or Download attached zip file, unzip and move folder to vodoo folder and reboot and then sit back and wait. It will take awhile so just leave it be​
Wipe Battery Stats​1. Connect the phone to the charger with the phone powered on, and allow the phone to charge until it shows 100%
2. Disconnect the phone from the charger, and power it off.
3. Reconnect the phone to the charger with the phone powered off, and allow the phone to charge until the battery indicator shows 100% (you can use vol-up/vol-down to make the indicator come back up when the screen goes to sleep).
3a. Repeat step 1, 2, 3
4. Disconnect the phone from the charger and power it on.
5. Once the phone is powered completely on, power it off again and reconnect it to the charger until the battery indicator shows 100%.
6. Disconnect the phone, power it on, and use it.
7. Use ADB or a Terminal Emulator to run the following command:
Code:
su
rm /data/system/batterystats.bin
7a. Reboot into clock work Recovery, and choose advanced CWM features and select wipe battery stats
How to back up your APPS + data (not system data) with Titanium Backup​
Go to the market and download and install Titanium Backup
Load up Titanium Backup and allow super user.
Go into Preferences and change Backup Folder name to external_sd/TitaniumBackup (this will save a copy of the files to your external SD card for restoring after flash) then click back and it will reload.
Now go to batch and select backup all user apps. Select the apps you want and hit run batch (top of the screen) once it is finished (you will know as there is a notification in the drop down that it is done) Double check you external sd for the Titanium Backup folder, if it is there then you are good, if not double check the spelling. Make sure it is an underscore between external and sd. ex. external-sd = Wrong..... external_sd = right so it should read external_sd/TitaniumBackup
Ok So you Fully Bricked your Captivate Here is a last ray of hope
Download mode/JIG:​ ITEMS YOU WILL NEED TO BUY:
-301k OHM Resistor, no more no less & -MicroUSB Board
-Upon receiving items, go here.
-Remove SIM and MicroSD Card
-Plug in JIG and voila, you are back in download mode
-load up odin and flash back to stock
Themes and Stuff
Disable Vodoo before flashing themes like blackfroyo with recovery.
Voltage Settings (If Kernal Supports OC/UV)
VoltageApp settings will stick until reboot, but to get them to stay after rebooting, this is what worked for me; You will need Root Explorer for this one
Setup Voltage App like you want
Menu>Apply for Now
Menu>Save as boot settings
Open Root Explorer
Navigate to /etc/init.d
Locate file saved for boot settings (S_volt_scheduler)
Rename "S_volt_scheduler" to "S_98_volt_scheduler"
Save
Reboot
Open VoltageApp to verify settings stuck
AT&T Wap Settings​
ATT
wap.cingular
not set
not set
[email protected]
not set
not set
http://mmsc.cingular.com
wireless.cingular.com
80
310
410
not set
internet+mms
Power Cycle without pulling battery
Hold volume up and power for 10 sec. (This will reboot your phone without a battery pull)​
Backing Up your NV_data
Thread With more info
The reason its important to back up your NV_data (Non-volitile) is this has your imei, product code, unlock codes and model. This informatioin is not recreated with a JF6 OCD (One click downloader)
Certain Roms write data to your NV_data
(i think it was JPC leak from I9000 that was the first one. it changed everyones product code to I897ZKAKOR)
Axura changes the product code to I959ZKATMB or something like that
The Correct Product code for our Captivate is I897ZKAATT.
If your IMEI says 004999010640000 this is incorrect also and you may find your phone to stop making calls as this is like a debugging or prototype imei
Finally, if your unlock code is FFFFFFFF, you need this repair in order to unlock your code
All of these can be fixed with Helroz's Repair_nv_data.zip Found Here: http://perso.numericable.fr/helroz/P...ir_nv_data.zip
I did not create the software or any of the instructions, THis is credited to Helroz in the vibrant forum (please thank and donate to him) he came up with all of this, Im just sharing knowlage.
this can be found here: Unlocking Tmo Vibrant
http://forum.xda-developers.com/show...&postcount=103
Just read the read me first. then the .Doc Make sure you are at Stock JH7 (I didnt try jf6) and root with busy Box (Super One click by CLShort Fuse worked for me)
Then Step 2,3 and 4. Monitor your phone for SU access attempts, it has several and be patient and read what its asking you to look for,
Now if you havent Backed up your NV_data then now is the time. I Use root explorer and just copy the /efs folder to a safe place (I have a copy on my ext. sd card and a backup hard drive)
You can also Use SGS tools (not SGS tool Box) to do a product code check. This also copies all of the pertenant NV_Data files to a folder on your internal SD card. you can use these also if you want.
Flashing JPP Modem to enable 850
The only guaranteed method for enabling 850 on jpp that is proven to work every time is to:
Flash stock using odin
Flash jg8 modem
Flash rom with jpp modem
Hopping around to other modems and back to jpp after this will kill 850 as well.
For some this is not an issue as they are in areas where 850 is not utilized by AT&T but for others jpp will cause headaches if they try using it without following these steps.​
Themes and Graphics
Disable Vodoo before flashing themes like blackfroyo with recovery. (if Running vodoo)
How to change Boot Animation.
1.Find the animation that you want (most be compatible with captivate)
2.Copy bootanimation.zip (it must be named this) with a file explorer that gets you to system files ex. Root explorer to system/media
3.Reboot
Fonts
http://forum.xda-developers.com/showthread.php?t=801160
http://forum.xda-developers.com/showthread.php?t=748916
​
​
F5-ing
10 char
Lancez said:
F5-ing
10 char
Click to expand...
Click to collapse
Dont burn it out!
This rom is smoother than butter.
But why JL3? Is it better than JL1?
adamholden85 said:
Dont burn it out!
Click to expand...
Click to collapse
just Odin'd and waiting for link...
disellusional said:
This rom is smoother than butter.
But why JL3? Is it better than JL1?
Click to expand...
Click to collapse
JL3 offered higher ul speeds for myself while not compromising the GPS. Don't worry, the OP will have the modem link
disellusional said:
This rom is smoother than butter.
But why JL3? Is it better than JL1?
Click to expand...
Click to collapse
NVM, OP just answered your Q
Firefly.... loving it.
Sent from my Captivate testing Firefly
oh man took a nap and woke up to this looks like i'll be staying up a lil late
I have a request. Could you skip the GB launcher that seems to be in most roms? Not that I don't like it but being able to drag the phone/messaging/etc buttons around on the dockbar is the most useful thing. TW Launcher is cool. I'm running perception 10.1, one of the main reasons is the launcher
is hardcore's kernel compatible with firefly?
I don't know what u did man, but I'm using Phoenix 3.5 and my GPS has finally worked man, before I get 0 satellites and now I'm getting.like 6/7 in doors! It went from.not working at all ever to smooth has hell.. I can't wait for.firefly, it will get my support/donation
Sent from my SGH-I897 using XDA App
Willis111 said:
I have a request. Could you skip the GB launcher that seems to be in most roms? Not that I don't like it but being able to drag the phone/messaging/etc buttons around on the dockbar is the most useful thing. TW Launcher is cool. I'm running perception 10.1, one of the main reasons is the launcher
Click to expand...
Click to collapse
The GB launcher is my favorite. If you have a touch wiz launcher I recommend backing it up. I wish I could accommodate you, but if I do it for you I have to do it for the next. I hope you understand.
I've grown to love Go Launcher, myself.
Looking forward to this, Phoenix 3.5 is pretty awesome! Missed the stock firebird kernel, but I flashed it and its way fast! Great job, looking forward to the latest and great from ya!
Sent from my SGH-I897 using XDA App
You guys are definitely in for a real treat. This ROM reaches damn near perfection.
Awesome! Bye-bye stock.
Sent from my SAMSUNG-SGH-I897 using XDA App
The best one I've dealt with so far
Sent from my Captivate running Firefly beta.

[ROM] CM7.2 ICSunday Final mod (barebones ICS Final + changes) + guide for beginners

Edit: I recommend using my other rom, this one is out of date. : http://forum.xda-developers.com/showthread.php?t=1440396
ROM + Guide : Icecream sunday Final by jusada + changes. Aka: ICSunday Final mod
First, thanks to jusada , slaid480 , ketut.kumajaya , chainfire , nims11 , Grif_07 , GadgetCheck , djsky2011 , EmoBoiix3 and many others for all their hard work and time and the files/info.
This thread was first posted on Redflagdeals for canadians using Koodo mobile. Posting it here now with jusada's approval for everyone.
-------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What's different from ICS Final?
Removed:
Calculator, Calendar/Storage/Provider , Deskclock Widget , Download app , Email (gmail not removed) , FM radio , Gallery 3D ( I use quickpic instead, it is faster) , ICS Theme/Theme Manager/Theme Chooser ,
Media Uploader , Music , Pico TTS/TTS Service
Changed:
Market 3.4.4 , Turbo Boost 8.5 , gps.conf (see end of thread if you are not canadian) , boot animation (Android Particle Ring Blue) , Dolphin browser mini (stock browser removed) , blackhawk kernel by ketut.kumajaya , build.prop
Added:
Iphone ringtone/notification , Root browser free , LagFreeV1 , torch
You can download the removed apps here. To add the ones you want, open IceCreamSundayFinal.zip and add them in system/app (before installing the rom) :
http://www.multiupload.com/4Y0TCOX0P5
If you already installed the rom, copy them with root browser to system/app (don't install them, long press on it to see the menu with copy/paste/permissions) , set permissions to rw-r--r-- , reboot the phone.
-------------
Installation:
1. Download The files:
The ROM Without tweaks (Overclocks better? I put the deep sleep build.prop tweaks in this one as well so battery use will be good too, I recommend this one) :
http://www.mediafire.com/?47k9ha4zu8ytfhg /// http://www.multiupload.com/Z2Z4YB1PHM /// MD5: aa23c332d82476e34c1ab967a93f5ece
-----
The ROM With tweaks (UI feels slower to me, possibly uses less battery):
http://www.mediafire.com/?m1s840n1x004d1a /// http://www.multiupload.com/24JLWTNAQ0 /// MD5: 591e70c92c8ee132f5f76423013f9f47
ClockWorkModAce: http://www.multiupload.com/GXL1PWOSDE MD5: 08e4419cfb83fbd4217c5f486778f5e4
recovery-clockwork-5.0.2.6-galaxyace-fix: http://www.multiupload.com/IY2M1YV0QT MD5: ba3d09df567757081da5dd6e8fb2d0b0
2.Connect your phone to your pc with the USB cable, turn on USB transfer from the phone's status bar.
3.Copy the 3 zip files to your phone's SD card. Safely remove the drive from your pc (lower right corner in windows, eject/unmount in linux or mac).
(If you already have CWM, Skip to step 6) (To navigate in recovery mode, use Volume Up/ down to move up/down , home button to select items, back to go back.)
4.Shutdown the phone. Press Home and hold it, press power until your phone is on and let go of power, let go of home when you are in recovery, install ClockWorkModAce.zip from your SD card.
5.Reboot, go in to recovery, install recovery-clockwork-5.0.2.6-galaxyace-fix.zip
6.Reboot, go in to recovery, wipe data/factory reset , go in mounts and storage ; format /system ,
press back ; go in advanced ; wipe dalvik cache, press back, go to install zip from sdcard, choose IceCreamSundayFinal.zip
press back, reboot system now.
(Don't worry if you get a sd-ext error, it's because your sd card doesn't have a 2nd partition).
-------------
Setting it up:
Skip Set up your google account(no internet connection, we will do it later). Press next ( I unticked the location options, up to you if you want or not).
Go in Settings,
----
Wireless & Networks:
Turn on and set up wifi / bluetooth if you use them.
Mobile networks : Turn off Data enabled if you don't use mobile data.
If you use data go in : Access Point Names:
(for canadians with koodo)
Push on the Telus SP text (not the circle),
Name: Koodo SP ; APN: sp.koodo.com ; Proxy: 74.49.0.18 ; Port: 80 ; Username/Password/Server are blank ; MMSC: http://aliasredirect.net/proxy/koodo/mmsc ; leave the rest like it is.
Press Back and push the circle.
----
CyanogenMod Settings:
Input: Haptic feedback tweaks ; Untick Haptic feedback main if you don't like it ( saves battery too )
Interface: Status bar tweaks: Battery style "percentage" ; Tick Compact carrier label ; Tick Status bar brightness if you want it (change brightness by sliding finger on it)
Press back , go down to Overscroll effect , push on none.
Performance: Tick 16 bit transparency, Allow Purging of assets.
Sound: Mute camera shutter
----
ADWLauncher:
Screen preferences: Untick Wallpaper Scrolling
Drawer Settings: Go down and untick: Animated Drawer, Fade app labels
General Behavior: Untick Sense previews
System Preferences: Scrolling cache "Low quality"
UI Settings: Main Dock Style (I usually set it to 5 and add market, browser, phone, camera )
----
Display:
Animation: No animations
Screen timeout: 30 seconds
----
Location & Security:
Untick Use GPS Satellites
----
Applications: Tick Unknown Sources
Development: Untick USB debugging notify , Tick Stop app via long-press.
----
Accounts & Settings:
Add your google account. (now that we have an internet connection)
Disable Auto-sync if you want to save some battery (add the power widget to the desktop and setting the wifi turns on / off sync if you don't want it to work on 3g).
----
Reboot the phone.
Install SetCPU from the market or from the official thread :
http://forum.xda-developers.com/showthread.php?t=505419
(use Root browser and go to sdcard to install the apk)
Run SetCPU and click Autodetect Speeds. Allow Superuser.
Tick Set on boot.
Go to Profiles, tick enable / notifications.
Add profiles:
Profile 1: In call: Min 122880 , Max 787200 , Scaling conservative , Priority 100
Profile 2: Screen off: Min 122880 , Max 122880 , Scaling powersave , priority 90
Profile 3: Charging: Min 245760 , Max 825600 (set higher if you want, depends on the phone, I set it to 902400, your phone might reboot) , Scaling ondemand , Priority 80
Profile 4: Battery: 50%: Min 122880 , Max 787200 , Scaling conservative , priority 70 (remove this profile if you care more about performance)
Profile 5: Battery: 101%: Min 122880 Max 806400 (set higher for more performance and less battery life) , Scaling ondemand (set to conservative if you want to save more battery) , priority 60
(Set min CPU speed to 245mhz to fix wake up lag, uses more battery however.)
Add different/more profiles if you want, these are the ones I use.
----
Install Quickpic from the market (faster than Gallery)
You can add the power control widget to your screen to turn on wifi ( and you can set it to turn on / off sync ) and flashlight / etc. I use this instead of the status bar one (which you can disable in Cyanogenmod settings).
If you want different wallpapers / ringtones go to zedge.com or install their app from the market. Or in dolphin browser there is a speed dial link for wallpapers.
If you use an alternate keyboard, after you set it up, delete Latinime.apk/odex and UserDictionaryProvider.apk/odex from system/app with root browser.
---------
For gps.conf , go to http://www.pool.ntp.org/en/ , on the right it says Active Servers , click on your region , write down the first 2 servers (example : 0.europe.pool.ntp.org , 1.europe.pool.ntp.org ) , click on your country , write down 1 of the servers (example server 1.fr.pool.ntp.org ).
Go to system/etc with root browser , open it with text editor ( long press and scroll down ) , change the servers with the ones you wrote down. Save and reboot.
---------
secgps.conf (faster gps lock) : http://www.multiupload.com/5CHFKN2BF8 ; Copy secgps.conf in the zip file to your SDcard, then copy it to /data/gps/ with root browser (press your finger on it for a few seconds to see the copy and permissions option) , change persmissions to rw-r--r--
Live wallpapers : http://www.multiupload.com/9TJH4LHDKD ; Copy LivewallpapersPicker.apk to system/app with root browser , set permissions to rw-r--r--
Google Maps 5.8 (doesn't lag or crash, don't update it to the newer one) : http://www.multiupload.com/6BYO7YOOS7 ; Copy to google maps 5.8.apk to system/app with root browser , set permissions to rw-r--r--
Adobe Flash 11.0.1.153 : http://www.multiupload.com/NWQZY0UKU0 ; Extract and copy to SD and install as a normal app with Root browser.
----------------
How to Calibrate your battery ; guide by Hiroshirou :
1. (phone on) charge to 100% until it actually says full in settings > about phone > status > battery status
2. unplug charger and turn off phone
3. (phone off) plug charger in until it charges to 100%
4. unplug charger and power it on
5. (phone on) plug the charger in and charge it to 100%
6. unplug charger and reboot phone to recovery (into cwm5)
7. go to advanced and clear battery stats.
8. turn on the the phone and charge it to 100% - DONE!
-----------------
How to use link2sd (install apps to sd card):
Insert your SD card into your pc's SD card reader.
Format it with minitool partition wizard (gparted with linux) , make a primary (not logical) partition fat32 use everything but 500MB , make the 2nd partition primary and ext3 using the rest of the 500mb.
Put the SD card in the phone. Install link2sd from the market, open it and choose the ext3 option, set it to move apps automatically in the options.
i will try it >>> thx i like ur guide
Sent from my GT-S5830 using xda premium
When I tried to flash di Ice Cream Sunday Final zip.. it says "installation aborted" with the word [bad] . i already have cwm 5 for ace and also done with all the wiping.. is there something wrong?
hyrobicera said:
When I tried to flash di Ice Cream Sunday Final zip.. it says "installation aborted" with the word [bad] . i already have cwm 5 for ace and also done with all the wiping.. is there something wrong?
Click to expand...
Click to collapse
Probably a corrupt download , try downloading again
Herpderp Adreno + Tegra.
hyrobicera said:
When I tried to flash di Ice Cream Sunday Final zip.. it says "installation aborted" with the word [bad] . i already have cwm 5 for ace and also done with all the wiping.. is there something wrong?
Click to expand...
Click to collapse
I have exactly the same problem. Tried downloading from all sources in multiupload but still have the same problem.
myworld122 said:
I have exactly the same problem. Tried downloading from all sources in multiupload but still have the same problem.
Click to expand...
Click to collapse
me too the same problem
Sent from my GT-S5830 using xda premium
How the heck I get downloaded it and flashed it successfully?
Weird, I had multiple people download it sucesfully on redflagdeals , I will upload it to mediafire.
I will post a MD5 hash as well.
Edit: I think it has to do with extracting it from the first zip, it breaks it if you don't use windows explorer. (When I used 7-zip it extracted it bad) I will post it with everything already unzipped.
http://www.mediafire.com/?47k9ha4zu8ytfhg MD5: aa23c332d82476e34c1ab967a93f5ece
Edit: First post updated.
kevinlekiller said:
Weird, I had multiple people download it sucesfully on redflagdeals , I will upload it to mediafire.
I will post a MD5 hash as well.
Edit: I think it has to do with extracting it from the first zip, it breaks it if you don't use windows explorer. (When I used 7-zip it extracted it bad) I will post it with everything already unzipped.
http://www.mediafire.com/?47k9ha4zu8ytfhg MD5: aa23c332d82476e34c1ab967a93f5ece
Edit: First post updated.
Click to expand...
Click to collapse
ok i will try this new download link now.. and will be testing this rom
Thanks, hope you like it. I downloaded it to make sure and installed it, had no problems (took new screenshots too).
Shutdown* said:
Hi, Thanks for the tutorial.
Successfully installed ICS Final, Just wanna ask if how can I have the ICS Theme? I already installed the ROM. cant post in the thread, idk why (begginner stuff)
wait for your reply, tia
Click to expand...
Click to collapse
Hi, you need to download the removed apps , then copy Theme Chooser, Theme Manager apk and odex files and ICSandwichTransp-017-build-196.apk to your SD card. In root browser , copy those files to /system/app and change the permissions to rw-r--r-- , reboot the phone. Then you can set the theme in theme chooser/theme manager.
how is this rom? ics but it's really like or is it always the usual cm??
great tutorial
btw, is it the same as ICS Final of jusada's?
Siblyx said:
great tutorial
btw, is it the same as ICS Final of jusada's?
Click to expand...
Click to collapse
Hi, It's ICS Final by jusada with things changed.
cool hitted the thanks button for the effort.
I have a question, is it ok that Turbo Boost 8.5 is with Lagfreev1?
Siblyx said:
cool hitted the thanks button for the effort.
I have a question, is it ok that Turbo Boost 8.5 is with Lagfreev1?
Click to expand...
Click to collapse
Yea it's fine, I removed S78touchscreen
http://forum.xda-developers.com/showpost.php?p=21019586&postcount=20
Nice work man...Very detailed.. Will help the newbies around here
just now i m using cf-root b82ex on my stock ...can i flash directly on this rom or need to reflash and then install...on fresh stock rom...
manan001 said:
just now i m using cf-root b82ex on my stock ...can i flash directly on this rom or need to reflash and then install...on fresh stock rom...
Click to expand...
Click to collapse
You can flash from your current rom.
I facing Wifi problem! Its connected but it doesn't give me internet access.
I installed quickpic on my ace but is there a way I can remove the original gallery program on my ace instance trough root explorer?
Thanks in advance
Regards Rene
Sorry bad english

[GUIDE] [ROOT] Install a Linux OS alongside almost any Android device [DECEMBER 2017]

I spent weeks trying to find a way to install a Linux distribution alongside my Android devices, or replace Android with one entirely. While researching the possibility, I was really disappointed to learn installing a distribution alongside Android was already a 'fad' which had already come and pretty much gone. A lot of the methods that worked in 2012 and 2013, no longer work on current Android devices, or at least very few of them. However I don't go down without a fight. Please note, I did NOT create any of this software nor did I develop it. I just put it all back together, in a working order. Though it's pretty much impossible to brick your device using this guide, I still feel obligated to say: I am not responsible for any damage this guide may cause to your device, yourself, or the jealous friends you'll have after installation is completed xD
In order to install a Linux distribution, your Android device MUST be rooted. Unfortunately there is no way around that. After more than 2 weeks of research, reading and testing, I have managed to get three different distributions working across four devices, with plans to test it on at least one more device:
- Amazon Kindle HD 8.9 (Rooted with TWRP custom recovery and a custom CyanogenMod [CM] Marshmallow 6.0 ROM).
- Samsung Galaxy J1 (Rooted. Android Lollipop 5.1.1).
- Samsung Galaxy S3 (Rooted with TWRP custom recovery and a custom SlimRom Marshmallow 6.0 ROM).
- Samsung Galaxy S7 (Rooted, US Variant, Android Nougat 7.0).
- (Plan to test) Amazon Fire 7 (Rooted. Custom Lollipop 5.1.1 ROM).
The following guides will allow you to install any Linux distribution you desire (provided it's available). You can install the distributions as a .img on your internal storage/sdcard or partition part (or use all) of an removable sdcard (external storage). It is recommended you have at least 4GB of free storage space. If you want to try another distribution, it's just a case of deleting a few files or folders to uninstall them. Or you can partition another part of your sdcard (external storage). Please note you will not be able to repartition any internal storage.
These guides will be long. It will seem harder than it is. I really think this is one of the coolest things for Android I've stumbled upon. I haven't even begun to scrape the surface of what this allows you to do. Be patient and have fun
Part One: Installing a Linux distribution on internal storage
To get started, you need to do and have installed the following things:
- Make sure you have root.
- Make sure you have BusyBox installed and working.
- Terminal Emulator for Android, Termux and it's API or an SSH client.
- VNC Viewer for Android or your preferred VNC viewer.
- Linux Deploy
- AParted ( Sd card Partition )
1. Go to Sourceforge and download your preferred Linux .img. Those .img files are courtesy of a once awesome organization called 'LinuxOnAndroid'. Simply click on one of the nine distributions and download whichever one and size you prefer.
2. Extract the .zip in a folder on your PC. Name the folder the name of the distribution (i.e. Kali, Debian etc). **NOTE: You MUST download and extract all distributions on your desktop PC. These .zip files will not decompile and extract properly on your Android and the .img files will not boot.**
3. On your Android, using a root explorer, create a folder with the distribution's name in /sdcard or /storage/emulated/0. On your PC, in your extracted Linux distribution folder, copy and paste the .img file into the folder you created in one of those two storage directories.
4. If you haven't already, download and install Linux Deploy from Google Play.
5. It's now time to configure your distribution. Tap the three lines at the bottom right corner. You will then get a screen with a list of configurations. For the purpose of this guide, I have selected the Debian distribution. The first set of configurations should be as follows (See image below the list):
- Containerization method: chroot
- Distribution: Debian
- Architecture: armhf (This allows the Linux OS to be compatible with armv7)
- Source Path: (This will be an automatically selected URL and will vary from distribution to distribution. You should never have to change this configuration)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6. Now we configure the type of installation we will be doing. For this particular guide, we are installing the distribution on internal storage. Please configure your settings as listed (See image below the list):
- Installation Type: File
- Installation Path: /sdcard/Debian or /storage/emulated/0/Debian
- Image size: 6000 (The lowest recommended allocation is 4000MB [4GB])
- File System: ext4 (Not all devices support ext4. Some only support ext2 or ext3. If ext4 doesn't work, try one of the other two. You will also have to select the proper .img format from LinuxOnAndroid i.e. ext4, ext3, ext2).
- User Name: android (You can choose any name you like. This will be used to connect to the OS via a VNC viewer later on).
- User Password: ******* (Although the password is automatically generated, you can make this any password you want. This will be used to connect to the OS via a VNC viewer later on).
7. Set the configurations below See images below the lists):
- Privileged Users: root (This will be the name given to you when entering a root shell via the sudo command. You can change this to your liking)
- DNS: Automatic Detection
- Localization: en_US.UTF-8 (Language and region selection. If you're not sure of this setting, use Google to determine your local i.e. en = English, US = United States)
- INIT: Make sure box is checked to enable
- Init System: run-parts
- Mounts: Make sure box is checked to enable
- SSH: Make sure box is checked to enable (This allows you to set up an SSH client to connect to the Linux OS as opposed to using a VNC viewer)
- GUI: Make sure box is checked to enable (This tells the Linux OS to create a graphical interface so you're able to use a VNC viewer)
- Graphics Subsystem: VNC
8. Now you can configure GUI settings. This creates graphics of high or low quality. You are able to customize these settings to your liking and they will vary from device to device based on screen sizes and resolutions. In this case, I have the distribution loaded on my Galaxy J1 so these settings are set to my taste based on that device (See image below the list):
- Display: 0
- Depth (bits): 24 (The higher the number, the better the graphics)
- DPI: 100 (Dots per inch)
- Width: 800
- Height: 480
9. Tap the back button once. From the main screen swipe right or tap the three lines in the upper left corner and tap the settings option. Here you can configure the application settings for Linux Deploy. A lot of these options are already selected and some don't require any changes. Please set the settings according to the list below (See image below the list):
- Lock Screen: Make sure the box is checked
- Lock WiFi: Make sure box is checked (Some devices will turn off WiFi when you aren't using Android for a period of time. Some carriers and manufacturers do not give you the option to 'keep WiFi on' when the device is 'asleep.' Checking this box will allow the application to attempt to keep WiFi on)
- Wake Lock: Make sure box is checked. (This option can be set to your taste. However, to avoid problems with Linux Deploy and a VNC viewer in case you don't shut down your Linux environment or Linux Deploy, keep this box checked)
- Language: English (Obviously this option would change depending on your preferred language)
- Font Size: 10 = default (This changes the size of the text in Linux Deploy application only)
- Scroll Size: 100 (This tells Linux Deploy how many lines of text you're able to scroll back and look at in the application)
- Theme: Dark or Light (Take your pick)
- Timestamp: Shows the timestamp next to the lines of test in the application. Totally up to you)
- Show Icon: Make sure box is checked (Some devices will attempt to shut down Linux Deploy, even with root. Displaying the icon in the status bar allows a constant notification to be present, which generally stops the system from shutting down the app)
- Stealth Mode: Hides the application icon within your launcher
- Autostart: Check the box if you want Linux Deploy to open and start the Linux OS each time you reboot. This is not recommended especially for lower end/older devices
- Autostart Delay: Tells Linux Deploy how long after the system boots, to open and activate the container (Linux OS)
- Network Trigger: Check this box if you plan on leaving your distribution running while traveling with your device.
- Terminal Command: telnet 127.0.0.1 5023 (This allows you to open a terminal in your distribution that connects to the device. This is just a standard terminal so you don't have to open a terminal emulator in Android. In order to use this you'll need to install the telnet package once your distribution is operational)
- ENV Directory: Auto selected. No need to change (Not sure what exactly this does)
- Path Variable: Blank. (Also not sure of this setting so I didn't change it)
- Enable CLI: Make sure this box is checked (Allows the application to use a command line within, I believe, both the application and the distribution)
- Update ENV: Update the operating environment (This updates the operating environment setup of Linux Deploy. (Please see the next step on how this function works)
- Remove ENV: Removes/deletes the operating environment (This removes/deletes the operating environment. Anytime you change the settings in this settings menu, you MUST tap Remove ENV and tap yes. Then tap Update ENV and yes to update the settings you just changed. Only do these last two
steps when completely done changing settings)
- Telnet: Enable telnetd daemon (Make sure box is checked. You need this option if you choose to install and use the telnet application on your Linux distribution)
- Port: 5023 (Preconfigured. The port that telnet uses to connect to your device inside the Linux OS via terminal)
- Localhost: Make sure this box is checked. This is a security feature which allows only the localhost (that's you inside the Linux OS) to be allowed to connect to the distribution. Leaving the box blank can potentially set yourself up to be hacked, in a bad way. Leave it blank at your own risk and is you know what you're doing)
- Enable Httpd daemon: I am not sure what this does. The box is preconfigured as blank, so I left it as such
- Debug mode: Enable debugging information if you wish
- Trace mode: Enable if you wish.
- Logging: Enable if you wish. The setting below it tells Linux Deploy what type of file to save logs as
10. Now once all those settings are configured, scroll up and tap on Remove ENV and yes when it asks. Then tap on Update ENV and yes when it asks. You have not configured Linux Deploy. Tap the arrow (back) at the top left of the screen.
11. Tap the three dots at the top right of the screen. Tap 'Install'. If everything has been properly configured, and you placed your .img of your distribution in the correct place, Linux Deploy should begin to install your chosen distribution.
If installation doesn't work or fails to install for whatever reason, don't worry; it will NOT brick you're device. It is impossible. You CAN however, corrupt your sdcard, which usually just means you have to reformat it completely and repartition it (but that is a discussion for my next thread). The installation process requires a constant connection to WiFi until it completes. The time the installation takes depends on several variables i.e. your chosen img size and distribution, how good your WiFi connection is and so on. Based on my experience, installation took anywhere from 10 minutes to as long as 40 minutes. If for whatever reason it doesn't complete installation, it will list errors. Be sure to get a screen shot of those errors. I've never had Linux Deploy freeze during installation. You may see the same line of text for a few minutes, especially during the first few minutes of installation.
12. Installation will be complete when you see <<deploy appear as the last line of text. Tap stop at the bottom of the screen. When the process completes (usually a few seconds), tap the three dots at the top right again. Tap configure. This will assure your Distribution is configured to the proper settings that we set up earlier. It will also install any needed updates. This process could take anywhere from 30 seconds to a minute or two (usually). When completed tap stop.
13. You should be ready to launch the distribution. Tap start at the bottom of the screen. If absolutely no errors are given, this should boot up your distribution. If you see the word 'skip,' this is ok and is NOT an error.
14. Now here's the fun part. It's time to configure a VNC viewer. For the purpose of this guide, and one of two VNC viewers I use, we will be setting up VNC Viewer for Android. It will start in landscape mode, but you can rotate once the viewer connects to the distribution. Remember the settings you configured in Linux Deploy? Your distribution will be your chosen height and width once it loads.
15. You will need to set up VNC Viewer for Android as follows:
- Nickname: android (Or the name you chose in Linux Deploy as the 'username')
- Password: The password you set up in Linux Deploy
- Address: 127.0.0.1 (This should be universal for all devices and is what the Linux Deploy application uses to connect)
- Port: 5900 (Also preconfigured in Linux Deploy and it's the port it uses to connect)
- Username: You can leave this blank. I usually do
- Color Format: 24-bit color (4 bpp) (This allows for the best quality graphics possible. And honestly, the graphics are pretty great)
- Local Mouse Pointer: Check the box for a track-pad type mouse (I think? Should enable the mouse to act like a track pad on a laptop. Leave unchecked to use the mouse as pointer tapping?)
- Force Full Screen Bitmap: Make sure box is checked (Could be preference, but I've always had the box checked)
- Use Immersive mode (Devices running KitKat 4.4 and above ONLY)
- Use Wake Lock: Check the box if you desire
- Repeater: No repeater (Not a clue what this does)
That's it. You should be configured. Scroll to the top of the screen in the VNC viewer and make sure the box is checked where it says 'keep' to save the settings when you restart the application.
Now the moment of truth. Can I have a drum roll please? tap, tap, ap, tap, tap.....tap on connect.....iy might take a second or two for your distribution's wallpaper to appear. You may get an error box that pops up just before it fully boots. Just tap on ok or use the 'mouse pointer' to tap it. Sometimes the distribution boots a tad slower than the virtual connection through the viewer.
That's it! You have successfuly installed a Linux OS alongside your Android device. You can interact with your device in a terminal and view files and folders on your distribution, that exist on your device. Perhaps the coolest part of all, you now have access to hundreds, if not thousands of applets in the terminal. Tap on the far bottom left corner icon that will bring up your menu. Tap on system tools and tap on the terminal. Now you can use Linux terminal like it was a full, operating system...because it is You also get a root shell. In terminal type:
Code:
sudo -i
If you want to install an application, for example git (github for Linux. You have access to just about every repository on github now) you need to have a root shell first. Type in the terminal:
Code:
sudo -i
apt-get install git
Debian on my Samsung Galaxy J1, Lollipop 5.1.1
Type in the letter Y if propted. To get a list of all available applications you can install with that command (this is a very, very long list), type in the terminal:
Code:
apt list
To exit the VNC connection ONLY, simply tap your recent apps button and swipe it away. To stop the Linux distribution, in Linux deploy, tap the stop button at the bottom of the screen. Then tap the three bars at the top left and tap exit. This should be done EVERY time you want to end your session in Linux Deploy. Do NOT exit or stop Linux Deploy via the recent apps button.
Please stay tuned for the next post below this one titled: 'Part Two: Partitioning external storage (removable sdcard) and installing a Linux Distribution onto it'
I want to thank everyone who followed this guide. Please give me a thanks by tapping the thumb at the bottom of this post or consider a small donation I really think this is awesome and I haven't begun to scratch the surface. I've been too excited getting this to work on so many devices! Please post your results and problems. I very much look forward to your replies!
Reserved for part two guide
Reserved for part three guide
Reserved for my comment
Awesome guide though, will follow when I can download everything
The repeater in above mentioned is for setting up remote access and viewing. And httpd.conf:
---------- Post added at 09:21 AM ---------- Previous post was at 09:18 AM ----------
jeremyandroid said:
The repeater in above mentioned is for setting up remote access and viewing. And httpd.conf: is historically named after httpd daemon for Apache2 set up
Click to expand...
Click to collapse
jeremyandroid said:
The repeater in above mentioned is for setting up remote access and viewing. And httpd.conf:
---------- Post added at 09:21 AM ---------- Previous post was at 09:18 AM ----------
jeremyandroid said:
The repeater in above mentioned is for setting up remote access and viewing. And httpd.conf: is historically named after httpd daemon for Apache2 set up
Click to expand...
Click to collapse
Like your avatar. Speaking of Kali, I installed that one first. Love it. But I get a 404 when trying to upgrade most of the add on 'security' tools. Is there any way I can get those to work or an I out of luck?
Click to expand...
Click to collapse
DragonFire1024 said:
jeremyandroid said:
The repeater in above mentioned is for setting up remote access and viewing. And httpd.conf:
---------- Post added at 09:21 AM ---------- Previous post was at 09:18 AM ----------
Like your avatar. Speaking of Kali, I installed that one first. Love it. But I get a 404 when trying to upgrade most of the add on 'security' tools. Is there any way I can get those to work or an I out of luck?
Click to expand...
Click to collapse
404 error is .sources list problem usually providing you allocated enough space for Kali. May have to either use original ones or replace with rolling ones.
Click to expand...
Click to collapse
jeremyandroid said:
DragonFire1024 said:
404 error is .sources list problem usually providing you allocated enough space for Kali. May have to either use original ones or replace with rolling ones.
Click to expand...
Click to collapse
10000 should be enough? I will have to try it again and see what happens.
Click to expand...
Click to collapse
DragonFire1024 said:
jeremyandroid said:
10000 should be enough? I will have to try it again and see what happens.
Click to expand...
Click to collapse
Yes should be plenty Kali comes with like several hundred tools so I'm pretty sure it's over 4gig so that will be fine
---------- Post added at 10:02 PM ---------- Previous post was at 09:47 PM ----------
Also not trying to sound like I know everything because I don't! I just love to learn and love Linux and Android. Im just now back on here I authored roms for the Note 2 years ago so it's been a long time lol. However I have used Linux for years and made custom distributions and kernels. Android has changed so much I'm catching up lol
Click to expand...
Click to collapse
So I had 3/4 of the second Guide written when the house lost heat. It got so cold my fans on my PC were starting to run too slowly, so it shut down as a precaution. I lost the work I had done on the second guide. So until I get heat back at home, I can't write the second guide. Apologies for the delay.
Latest Ubuntu running like a champ Thanks man!
Though any idea on how to make the screen bigger (without zooming in)?
Craz Basics said:
Latest Ubuntu running like a champ Thanks man!
Though any idea on how to make the screen bigger (without zooming in)?
Click to expand...
Click to collapse
You have to mess around with the VNC settings in Linux Deploy. Might take a few times to tweak to your liking.
DragonFire1024 said:
I spent weeks trying to find a way to install a Linux distribution alongside my Android devices, or replace Android with one entirely. While researching the possibility, I was really disappointed to learn installing a distribution alongside Android was already a 'fad' which had already come and pretty much gone. A lot of the methods that worked in 2012 and 2013, no longer work on current Android devices, or at least very few of them. However I don't go down without a fight. Please note, I did NOT create any of this software nor did I develop it. I just put it all back together, in a working order. Though it's pretty much impossible to brick your device using this guide, I still feel obligated to say: I am not responsible for any damage this guide may cause to your device, yourself, or the jealous friends you'll have after installation is completed xD!
Click to expand...
Click to collapse
Quick question for anyone who might know...
I'm running Debian on my Xperia Xc, and I'm interested in copying files back and forth from Linux to Android. I was able to figure out how to mount the loop device, and get access to it in terminal, but files don't show up in file manager, even though I go to the same directory I can see them in terminal.
How can I get the device to show up in the file manager?
Thanks
Edit - I was able to get it working in reverse, (show my Android file system on Linux), by using custom mount point option in LD, so I guess that works... Would still be interested to know if there's a way to do it the other way...
Question, Does installing a Linux Distro in this fashion allow one to pair and access simple B/T serial devices other than a B/T mouse our keyboard? I installed GNU Root Debian Jessie and got is working with LXDE but
none of my tracking apps that have to use a USB or B/T connection to an outboard receiver are accessible. Don't have access to /dev so I could change permissions on the ports the GNU Root Debian. Wireless or USB peripherals
are useless. I want to specifically run Xastir with outboard datastreams. Piece 'o cake with a laptop but no dice with GRB. Kurt KC9LDH
Any idea how to get it to work with magisk? I think it's due to busybox not working but when set to chroot, nothing happens when trying to start or install.
Humpie said:
Any idea how to get it to work with magisk? I think it's due to busybox not working but when set to chroot, nothing happens when trying to start or install.
Click to expand...
Click to collapse
I have no idea actually. I only have two devices with unlocked bootloaders and niether of them have magisk. Sorry I'm not more familiar with it.
DragonFire1024 said:
I have no idea actually. I only have two devices with unlocked bootloaders and niether of them have magisk. Sorry I'm not more familiar with it.
Click to expand...
Click to collapse
Ahhw that's a shame. It really is the cleanest way to root since apps like Netflix will still be available in the play store and Google pay etc will still work.
But I have a module which should have put busybox in /system/xbin (and it works in termux, I can type "chroot")
Edit: I'm a bit further, I set PATH to /system/bin/sh and chroot now at least runs, but it won't mount the img, let's download that again..
Edit2: mounting container gives me a fail... Any idea?
Okay I've got debian working by installing it into a folder instead of an IMG file. For some reason the img didn't work (might be android 8.1 or magisk related). I also didn't have to download an img from sourceforge as the app can download the files itself.
Humpie said:
Okay I've got debian working by installing it into a folder instead of an IMG file. For some reason the img didn't work (might be android 8.1 or magisk related). I also didn't have to download an img from sourceforge as the app can download the files itself.
Click to expand...
Click to collapse
An .img works best if you use external sdcard. You can partition it or use the whole thing.
DragonFire1024 said:
An .img works best if you use external sdcard. You can partition it or use the whole thing.
Click to expand...
Click to collapse
Yes, however my pixel 2xl doesn't have an sdcard slot .

Categories

Resources