Related
I am starting this thread to provide guide to newbies (still anyone left?) for enabling them to get following
1. How to root HTC HERO SPRINT CDMA? Post: #2
2. How to backup SD card (along with nandroid backup)? Post: #3
3. How to partition SD card to get it ready for A2SD? Post: #4
4. How to install preferred ROM? Post: #5
5. How to install a custom kernel and get Overclock working? Post: #6
6. FAQ section covering Post: #7
A. How to upgrade 2GB micro-sd to 16GB micro-sd, with out hassle
B. SWAP and Dalvik-cache on SD. What can go wrong?
C. How to flash adhoc update zips?
D. How to take screenshot of phone?Idea of this thread is to link new comers to corresponding detailed thread and not to repeat the thing here. Threads are already available for each activity above, but for a new comer, it is difficult to understand the link among them. First few posts will be updated regularly to try to make it as easy as possible for new comers.
First post is reserved for basics, explaining the over all concept. This will be followed by four more post explaining steps for each one.
Before starting, why do we need to do this? What will we get out of this, if you are a regular phone user?
Get Power to install more application
By default Android phone (OS version till 2.1, not 2.2 and later) does not allow you to install applications on SD card. SD card can be used for storing data, not application. This limits your capability to install more and more applications / games If you follow procedure four, all market applications will automatically install in SD Card.
Overclock
All mobile phone processors speeds are configurable. Step 5 and 6 will allow you to either overclock your phone, which will increase the speed or under some critical condition, you can also reduce speed to increase battery life.
Connect your Laptop/PC with internet through Phone
Wireless tether, which allows you to use your phone as modem.
Use adware application without ads
Some applications requires special permission like AdFree. After installing AdFree, you can enjoy ad enabled freewares with out ad
If you do not foresee any requirement for above mentioned points, you can live without root.
Credits are mentioned in next set of posts as it will be actually linking to actual post. Along with link, I will build FAQ, which shall list known questions and answers.
Special credits:
1. regaw_leinad: His ROOT 2.1 thread never gave me a chance to ask a question. Gave me the required confident to root my phone.
2. nfinitefx45: For guiding my first flashing and partitioning. Even though information is available in this forum, but it is scattered. It doesn't give enough confident for a newbie to start. He just guided me with steps / links. Some of the points in this thread are based on his comments.
1. How to root HTC HERO SPRINT CDMA?
Following thread by regaw_leinad is an excellent thread providing step by step procedure.
http://forum.xda-developers.com/showthread.php?t=694572
Known issue faced:
1. Ensure that you are not running sprint update 2.27.651.6. It is explained in first and second post. If you are already running 2.27.651.6, follow second post in that thread and then follow first.
2. If you are planning to use custom Kernel and over clocking, it is suggested to use recovery image mentioned just after step 10 in that post. It will ask you to loop back to step #9. Just follow.
If you are thinking, what will you loose by downgrading to 2.27.651.5, custom ROM installation procedure will take care of same.
How to backup SD card (along with nandroid backup)?
If you want to install applications in SD card, you need to partition your SD card. This will lead to complete data loss.
Steps mentioned in the thread above will create a backup of your phone in SD card. It is advisable to keep a copy of the same in some other safe location. This will be handy, if it is required for recovery.
Option #1: Easiest way is to switch off your phone. Pull micro-sd card, mount it in your PC using a card reader. Perform a copy.
Option #2: Through phone menu (Settings -> Connect to PC -> Default connection type -> Disk drive), prepare SD card data data transfer using unmount SD card and copy data from SD card to PC. This is also safer option. This option might not work starting Android 2.2, since unmounting SD card will force close all application installed in SD card. If you are using A2SD, it works as A2SD uses different partition. Read here
In both cases, you need to ensure that you have copied/backed up /nandroid/ directory of your SD card. If you are planning to perform partition, back complete SD card to your PC.
Now you are ready for partition.
How to get partition your SD card for getting it ready for A2SD?
1.What is A2SD?
As mentioned in first post, by default Android phone (OS version till 2.1, not 2.2 and later) does not allow you to install applications on SD card. SD card can be used for storing data, not application. This limits your capability to install more and more applications / games If you follow procedure four, all market applications will automatically install in SD Card.
2. Why does it require partition?
By default all your SD cards will have FAT16 or FAT 32 partition. To run application through SD card you need EXT3 or EXT4 partition. In addition, it is advisable to provide some SWAP partition to OS, which will enable it to store data of running application in SD card.
3. Why will it lead to data loss?
Standard procedure will format SD card and re-partition it. It means you will loose data. Commercial tools are available to re-partition without data loss, but I have not tried it in recent past. If required do a google.
4. What is the procedure?
Critical : BACKUP YOUR SD CARD TO YOUR COMPUTER. Steps are in the post 2 of this thread.
Following steps are taken from http://forum.xda-developers.com/showpost.php?p=6292446&postcount=1
Step #1: Reboot into recovery. Post #9 explains the same
You will get into Android System Recovery.
Step #2: select Partition sdcard
To move up/down, you need to rotate TRACKBALL. To select the option, press TRACKBALL.
You will get into Partition sdcard menu.
Step #3: select Partition SD
Step #4: It is menu driven. Just follow instruction. I have allocated 64Mb for swap, 1024Mb for EXT and rest for data. It is not advisable to allocate more than 1024Mb for EXT.
After this step you will get back to Partition sdcard menu. Now you need to change your partition type to EXT3.
Step #5: select SD:ext2 to ext3
Step #6: As most of the ROMs are not supporting EXT4 (especially Sprint Stock ROM), do not upgrade SD:ext3 to ext4
Step #7: Press the back button on the phone to go back to the main menu.
Step #8: Select Reboot system now.
This will reboot your system. You would have lost all your SD card data. Now you are ready to flash new ROM.
Step #9: Select If you had taken backup of your data earlier, you can restore them now. In particular, to flash your ROM, you need to copy ROM ZIP file to root directory of your SD Card..
Steps for those struggling with partition option (ie step #4):
Step #4.1:
Partition sdcard?
Press HOME to confirm.
any other key to abort.
Click to expand...
Click to collapse
press HOME button
Use trackball or volume-keys
to increase/decrease size.
HOME to set (0=NONE) :
Swap-size = 32 MB
Click to expand...
Click to collapse
Using TRACKBALL select 64 MB.
Press HOME to set.
Ext2-size = 512 MB
Click to expand...
Click to collapse
Using TRACKBALL select 1024 MB.
Press HOME to set.
FAT32-size = Remainder
Continue partitioning?
Press HOME to confirm.
any other key to abort.
Click to expand...
Click to collapse
Press HOME.
It will take few minutes.
Your card is ready (with out data ).
How to install preferred ROM?
Next step is to flash a custom ROM. I successfully flashed ROM available in thread http://forum.xda-developers.com/showthread.php?t=703267
It is based on Sprint 2.27.651.6 STOCK. You need to download HeroCSprint_2276516-xxxxxxxxxxxxx from that thread.
Step #1: Download required ROM. Ex: Sprint 2.27.651.6 STOCK Deoxed w/A2SD Update 3 has HeroCSprint_2276516-... Size of the ROM will be approx 100 MB to 150 MB
Step #2: Copy downloaded ROM to root directory of SD card. It shall be available in /sdcard/. For copying, you can use the steps followed to copy files from PC to phone which you were rooting the phone by getting into adb shell. Keep the file as ZIP file only. Do not unzip.
Step #3: Reboot your phone in recovery mode as mentioned in post #9
Step #4: From Android system recovery screen select Wipe option. Rotate TRACKBALL to highlight the required option and press TRACKBALL to select
Step #5: You need to wipe data, dalvik-cache. If you are already having A2SD, you shall wipe SD:ext partition.
Select them one by one and press HOME button to wipe data.
Step #6: Go back to main menu by pressing BACK button
Step #7: Select Flash zip from sdcard
Step #8: Select the just copied ROM from the list of zip files.
Step #9: Press HOME button confirm flashing
Step #10: It will install ROM. Once completed system will go back to main menu.
Step #11: Reboot by selecting Reboot system now option.
Enjoy your new ROM.
How to install a custom kernel?
It turned out to be simpler that what I thought.
Step #1: Download required kernel.
With Sprint 2.27.651.6 STOCK Deoxed w/A2SD Update 3 ROM mentioned above, DarchKernelv4 710mhz with Free Memory Tweak For Infinitefx Kernel is found to be working.
Click to expand...
Click to collapse
Step #2: Copy the zip file Infinitefx_v4_710_M.zip to root directory of sdcard.
Step #3: Reboot you phone in recovery mode. Refer to post #9
Step #4: From Android system recovery screen select Wipe option. Rotate TRACKBALL to highlight the required option and press TRACKBALL to select
Step #5: You need to wipe dalvik-cache. As you are only updating kernel, you need not wipe data and ext partition.
Select them one by one and press HOME button to wipe data.
Step #6: Go back to main menu by pressing BACK button
Step #7: Select Flash zip from sdcard from menu using trackball
Step #8: Select the zip file copied into sdcard in step #1.
Step #9: Press HOME button
It is advised to once again wipe dalvik-cache post kernel flash.
Step #10: From Android system recovery screen select Wipe option. Rotate TRACKBALL to highlight the required option and press TRACKBALL to select
Step #11: You need to wipe dalvik-cache. As you are only updating kernel, you need not wipe data and ext partition.
Select them one by one and press HOME button to wipe data.
Step #12: Go back to main menu by pressing BACK button
Step #13: Reboot the phone by selecting 'Reboot Phone' option
Your phone is ready. 710 Kernal will by default set the clock speed as 710Mhz. You can adjust the speed by using market applications.
Frequently asked questions.
A. How to upgrade from 2GB to 16GB micro-sd
Step #1: Ensure you are using RA 1.6.2 as recovery image. It will be the last line in your phone, when you are in recovery mode (Check Post #9). Lower and upper versions are being reported as having some issue as on this date. If you are having any other version, Flash RA 1.6.2
Step #2: Take nandroid back up on you phone on old SD card and save it in your PC. (Post #2)
Step #3: Nandroid would have saved backup of your phone in SD card. Mount your SD card in your PC and take complete backup of your SD card's FAT32 partition.
Step #4: Prepare your new SD card as mentioned in post #3.
Step #5: Once you prepared your new SD card, mount it in your PC.
Step #6: Restore your backed up copy of old SD card to new SD card(on FAT32 partition)
Step #7: Boot your phone in recovery mode.
Step #8: Perform a nandroid restore. You need to restore from new SD card.
Step #9: Reboot your phone. You shall be up and running now using your new SD card.
B. SWAP and Dalvik-cache on SD. What can go wrong?
1. Enable Dalvik-cache on SD card, only if you have at least CLASS-4.
2. Enable swap on SD only if you have at least CLASS-6.
SWAP / Dalvik-cache might perform frequent read-write on your SD card, which might impact its life.
C. How to flash adhoc update zip
If you come across instruction to flash some zip file,
1. Copy that file to your /sdcard/ (root directory of SD card).
2. Reboot you phone in recovery mode. Refer to post #9. Then follow the instruction from Step #7 in this post. (ie. You need to perform Flash zip from sdcard)
D. How to take screenshot of phone
1. Connect your phone to PC
2. Ensure PC has ANDROID SDK installed
3. Goto tools directory of Android SDK.
4. Execute a batch file called DDMS
5. Select your device.
6. Then from menu, goto Device, Screen Capture (or Ctrl+S)
7. Save the screenshot
8. Detailed steps can be found at how-to-take-screenshots-of-android-device or at how-to-capture-screenshot-on-android-phones
How to remove default applications?
Even though steps are simple, it is advised to follow it under expert guidance. You shall know what you are doing and do it properly.
Step #1: Get into android SDK tools directory to access adb program. You should have learnt it by now. (Or refer to post #2 and ensure adb devices lists your device)
Better to keep a backup of application you are going to remove.
Step #2: Reboot your phone in recovery mode (Post #9). Expert might state it is not required, but will prefer this way.
Step #3: Enter following set of commands one by one in command prompt.
md c:\backup\AfterRootAPKBackup\
adb shell mount -v /system
adb pull /system/app/ c:\backup\AfterRootAPKBackup\
adb shell umount -v /system
Click to expand...
Click to collapse
First command will create a directory in your PC to keep backup.
Second command will mount internal ROM and make it available for you to play.
Third command will make a copy of all installed applications.
Fourth command will unmount the internal ROM.
Your mobile shall still be in recovery mode.
Step #4: List contains application, I have removed 20 days back and my mobile is still working without any issue. To remove them get into adb shell first.
adb shell
Click to expand...
Click to collapse
You are in adb shell prompt, which shows #
Step #5: Enter following set of commands one by one in adb # prompt.
mount -v /system
cd /system/app/
rm Sprint*
rm Stock*
rm HtcFacebook.apk
rm HtcFootprints.apk
rm HtcFootprintsWidget.apk
rm HtcMusic.apk
rm HtcRingtoneTrimmer.apk
rm Field*
rm Face*
rm Flickr*
rm amazonmp3.apk
rm com.htc.MusicWidget.apk
rm com.htc.StockWidget.apk
cd /
sync
umount -v /system
reboot
Click to expand...
Click to collapse
First command mounts the internal ROM for read/write.
Second command gets you into application directory.
All rm commands removes unwanted applications. Ensure android is case sensitive and you shall respect upper and lower case. Run these command at your own risk.
cd / brings you back to root directory.
sync ensures that it is actually deleted. It is advisable to wait for few (5 to 10) sec between sync and umount command
umount command mounts it back.
reboot command reboots your mobile.
Step #6: You can reboot your mobile by typing following in command prompt
adb shell reboot
Click to expand...
Click to collapse
How to reboot into recovery mode
Simple option:
Step #1: Turn phone off
Step #2: Hold Home button while pressing power on, you'll get to the recovery screen
Complex option:
Step #1: Goto android SDK tools directory in command prompt.
Step #2: In command prompt type
adb shell
Click to expand...
Click to collapse
Step #3: In '#' prompt of adb shell, type
reboot recovery
Click to expand...
Click to collapse
Command reboot recovery will reboot your phone into recovery mode. Simple reboot will reboot it in normal way.
Being a noob yourself you probably shouldve checked out the sticky threads at the top of every forum. There is a wiki already for this kind of stuff...Maybe this could be combined into the wiki? Perhaps? You should be able to modify the wiki with your info. Good info either way.
sekarpdkt said:
Simple option:
Step #1: Turn phone off
Step #2: Hold Home button while pressing power on, you'll get to the recovery screen
Complex option:
Step #1: Get into adb shell.
Step #2: reboot recovery
Command reboot recovery will reboot your phone into recovery mode. Simple reboot will reboot it in normal way.
Click to expand...
Click to collapse
another way to do this is through fast boot, which i personally use, or the app quick boot
for installing custom rom remember wiping, kernel-make sure it's for your build lol
VinceOB said:
Being a noob yourself you probably shouldve checked out the sticky threads at the top of every forum. There is a wiki already for this kind of stuff...Maybe this could be combined into the wiki? Perhaps? You should be able to modify the wiki with your info. Good info either way.
Click to expand...
Click to collapse
Great suggestion but Wiki is down.
danbula said:
Great suggestion but Wiki is down.
Click to expand...
Click to collapse
Uggggh does that page EVER stay up?
Great how-to. Thank you for your time and effort.
nwkenning said:
Great how-to. Thank you for your time and effort.
Click to expand...
Click to collapse
Thanks for comment. If you have steps for those two missing points, let me know. Will update.
Nice job! I expect to link to this info often when helping out the new folks. I was one once and was guilty of not reading as much as I should have. I think they get intimidated by having a question and then seeing 1,800 posts! Yes, the search button is there but, you know..... This would have helped me a bunch.
Great idea. Thanks for the work. This would have come in quite handy when I was first getting started. I think I read for 3 weeks before I tried my first root and rom.
I read that it is a good idea to wipe dalvik after flashing a new kernel
Wiki is always down
So it seems
Sent from my HERO200 using XDA App
great writeup, thanks. bookmarked, wiki can be cluttered sometimes.
Hey Guys whenever i download any apps from market i get the error Install Unsuccessful .... Insufficient storage ...
What to do :-/
Rom Hell Fire v7.2
UOT Kitchen Flashed 1
Overclocked 729 Mhz
Wildfire
delete apps or move some to SD card? If your memory is full it's logical you can't add apps
Sounds to me that a2sd is not properly set up.
I been having some issues running out of storage internaly. and after some fiddeling around with a2sd it was ok. And how to do it is posted in this rom's explanation on how to install it.
ruymanca said:
The ROM takes about 10 minutes to start for the first time since the beginning makes for a facility, I recommend formatting the memory trageta do a clean install or possibly delete the folders: ANDROID, LOST DIR ANDROID as these folders SECURE conflicts created by data from the old roms
I recommend making partitions ie swap64mb ext512 and the rest as fat32 mind too expensive or necessarily recommend formatting the card will memory or possibly delete the folders in the same android, haer all the wipes, the Rom takes a few minutes to make first start since being installed all the extras on the first boot takes 3 to 5 minutes, once this echo this start and made previous settings obligation is to do a reboot for full functionality telefeno
Installation of the rom:
1. reboot in recovery mode
2. we wipes all
3. selected to install update sip
4. restart the tlf
5. enter the terminal console and register the following:
his press enter
# a2sd cachesd or enter
the phone will reboot and have about 150 megs of free internal memory
Click to expand...
Click to collapse
nope dint workk :-/
Type "su" first (Without Quotes), then try the a2sd command.
Can u mention it Step by Step?
Hi all, i have same issue.
Yesterday i finally rootat my Wildfire and put Cyanogenmod 7.0.3.stable on it.
Its very nice!
BUT cant allways install apps from market. I have 87mb free on inside memory and 1,7gb in sdcard... So what is problem?
What i need to do? I can full wipe all my data from telefone if somone tell me how i can do this..
Can somone help?
Use dalvik wipe from xrecovery to clean ur phone data..
Sent from my U20i using XDA Premium App
try istalling darktremor a2sd script (need to be istalled from recovery if not already integrated into your rom) and download a2sdgui from market, it's a gui for the script mentioned earlier. into recovery you have to partition your sd card too (advanced) 1024mb ext and i suggest 64mb swap, then open the app I told you (a2sdgui) and move everything to ext, dalvik cache too.
I agree with the poster above.
if you have issues with a2sd, I recommend installing A2SDGUI from market. (I assume you already have darktremors a2sd script installed). I had darktremors script working fine, but after flashing a zip file, it was not working. So I installed the A2SDGUI from darktremor and fixed the script. Now it is working. Just search the market and install it. It is great. Now I have around 168 MB free after all the installed apps.
Hope this helps,
SOLUTION TO INSUFFICIENT STORAGE:
1. Use FROYO+ default apps2sd. It gives the option to force moving of 95% of the apps to sdcard. Even root is not necessary. You can move 95% of apps only after using the adb command "adb shell pm setInstallLocation 2". This command is not even needed in cm7. And this method uses the fat/fat32 partition of sdcard not the ext partition. Specifically apps will be installed to .android_secure folder in the root of sdcard.
2. This method includes creating ext partition on sdcard and using an app called "link2sd". This is a root only app. No scripts are needed. That app has option to even link individual apps to ext partition. Also links dalvik cache.
3. Creating ext + swap partition and using dtapps2sd script. Root is required. Also custom recovery is required for flashing the script. This might be the toughest one but it is pretty awesome. Moves apps , data, dalvik cache to ext partition. Everything can be done with commands from the terminal emulator. Or you can use the "a2sdgui" app for graphical user interface.
Sent from my HTC Wildfire using XDA App
The GUI for the script is much more user-friendly than emulator terminal. And you can undo everything you did if it's not as you tought faster than from terminal.
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Thanks a lot!
I just get my new sd-card( 16 Gb) and install darktremor a2sd script + a2sdgui.
Works just like it says!
No more thinking what program van install and what not....
Well I just installed the MOdd Again ... and I was done
Though i bought Samsung Galaxy ace as its my second time the Touch Panel doesn't work ... first in Tattoo and den in Wildfire
So ... Thanx a lot guys for Helping
DestinyAwaits said:
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Click to expand...
Click to collapse
Working perfectly fine for me Thanks!
09/01/2012:
this tutorial may work for those who are having encryption issues on ics or jb roms (the error is related to mmcblk0p2(data))
well, after some months of work, here´s an tutorial about how to fix the mostly common sdcard issues.
1º Of all :***Be sure of what you´re doing,or else you can corrupt the partition table of you sdcard/brick your phone,and I´ll not be responsible of it***
2º-Do Not send me PMs, post here so everyone that have the same problem can now how to fix it.
3º-If you are an starter, you can post here your questions,but be sure that you haven´t found answers on Google or other threads.
and 4º-Read ALL topic before start and try one solution than the other,they´re in order of difficulty and risk of get an "permanent" brick.
0 - Always backup your EFS folder, maybe its not related to this thread but it´s also very important to remember.
I -If you have a folder called "voodoo" in your sdcard, you may have voodoo enabled on your ROM, so be sure of disabling it before trying a new rom or a stock rom.
if you´re on another rom already and having problems in mounting partitions, try to flash you last rom or a kernel that supports voodoo and it´s compatible with your new rom.
II-If you´re getting problems in mounting DBDATA,Download a full rom that contains DBDATA to flash with odin(or only flash dbdata,but you´ll have to do a full wipe later). To see if it haves dbdata.rfs by opening your .tar file in 7zip or others.
III-If you´re getting Can´t mount data (dev/block/mmcblkl0p2) File exists, try to flash an kernel with voodoo suport,if it still the same, format data in the menu of your recovery.
IV-If you´re getting can´t mount sdcard (/dev/block/mmcblk0p1)File exists, try to access it via ADB and send pull file command to recover your files(must have root),if you could do that, so try to format it via recovery.If not work,Download gparted, burn it on cd (it´s an CD with a tool of linux) and go to ADB shell to run this command:
su
echo /dev/block/mmcblk0 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
now
reboot your PC in gparted and format mmcblk0p1(it´s the first partition) in FAT32.
Done
V-If you´re getting cant mount sdcard (/dev/block/mmcblk0p1) with (invalid argument) You can try the fix IV and see if it works,if not, proceed to VI.
VI-If you´re getting cant mount data(dev/block/mmcblk0p2) or can´t mount sdcard (/dev/block/mmcblk0p1) with (invalid argument) or (no such file or directory) you may have to do this:
***search on google for 'fdisk' commands first***
You MUST*¹ remake your partition table manually,so the phone have the /data partition back to boot.
*¹
In some cases you can use gparted to do this, without doing it manually,
you shoud only mount mmcblk0 before.
you can run this command line on adb shell to mount it:
echo /dev/block/mmcblk0 > /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
You Will have to format it and it MUST have the partitions as said below.
YOU SDCARD MUST HAVE THE FOLLOWING PARTITION TO BOOT ON AND RECOGNIZE INTERNAL SDCARD:
/dev/block/mmcblk0p1
AND
/dev/block/mmcblk0p2
Start:
Open ADB,comnect your phone and proceed.
run adb shell
su
fdisk /dev/block/mmcblk0
p (you should see your partition table,POST HERE BEFORE CONTINUING)
YOU ARE NOW ABOUT TO REMAKE YOUR PARTITIONS:
partition 1 will correspond to mmcblk0p1(SDcard) and partition 2 will correspond to mmcblk0p2 (DATA)
**DO ONLY AS I SAY HERE, UNLESS YOU MAY GOT I/O ERROR ON YOUR SDCARD AND ITS ALL OVER. I say because it happened to me and i had to dissolder the internal sdcard an use only the external.**
**********IF YOU DONT HAVE ANY IDEA OF LINUX COMANDS: DO NOT PROCEED !!!!!!!!!*************
tap on adb:
n (will create a new partition)
1 (partition number)
press enter on keyboard so it selects the first block
get a calculator and estimate the size of the partition 1.IT MUST HAVE around 2GB left.
write the block number you got in calculator(BE SURE OF WHAT YOU TAPE HERE)
t
b (partition 1 is done and formatted as fat 32)
Now again:
n
2
enter on keyboard
enter again so it select the last block
(DO NOT TYPE COMMAND "T" FOR PARTITION 2, IT BY DEFAULT SET TO LINUX EXT FORMAT)
p (you will see you new partition table)
****IT MUST HAVE 2 partitions, partition 1 is in fat 32 format and partition 2 is in linux format(AND MUST HAVE AROUND 2GB)****
w (IT WILL WRITE YOU NEW PARTITION TABLE ON YOU SDCARD,SO BE SURE IT's ALL CORRECT)
Done,
now tap:
q
fdisk /dev/block/mmcblk0
p (you should see your new partition table, if ok reboot your phone, flash an stock rom for vibrant (I sugest an T959UVJFD ROM only to correctly format your partitions),root it,backup it,and enjoy,You can put a custom rom if you want so.)
If You have an error That does not appear here and you think it may me related to you sdcard just ask. In one or two days I or others developers may post here a possible solution.
Thanks For Google and some XDA users who indirectly helped me doing this.
You can try Paragon Hard Disk Manager in place of gparted
but remember: mmcblk0p1 is FAT32 and mmcblk0p2 in EXT2 (in truth it´s not EXT2, its in rfs, but the stock rom T959UVJFD is the only that I have absolute sure that will do the conversion).
Sorry for my bad english, it´s not my native language.
Great post doiiido!
Hay doiiido, you have been thanked and this post has been added to the [REF][KERNEL] ✰ The Official Vibrant Kernel ßible Thread ✰ → 07/05/12.
Great post!
News
Original pos by: ferhanmm
link to it:
http://forum.xda-developers.com/showthread.php?t=1665123
[FIX] Data wipe error or Can't mount /dev/block/mmcblk0p1
Data wipe error, Can't mount /dev/block/mmcblk0p1, or Vibrant screen boot loop even after flashing stock odin JFD phone will not boot. Phone will only boot Eugenes JK2 but internal and external storage will still list as corrupted and Lists 0.00 MB in storage.
Internal storage has been destroyed, I’ve been able to fix a phone using this technique to be mostly working. The external SD card will always have to be in the phone for this to work.
1. Partitioning the MicroSD Card
Get an 8gb(or larger) micro sd card. Class 10 would be better here. Put it into a Card Reader, then run Gparted.
Gparted (usb method is easiest) - http://gparted.sourceforge.net/liveusb.php
Using Gparted, delete everything else and create 2 partitions and :
6000mb FAT32 as PRIMARY
1607mb(remainder) Reiser as PRIMARY
2. Flash to Stock
Open up Odin flash stock JFD with pit file and repartition checked.
After phone boots completely, power off.
3. Flashing CM9
Take MicroSD out of phone an put it in pc, then copy update.zip, GAPPS, Cyanogenmod Rom all to the FAT32 partition that we created earlier. In Windows it should show up where all of your drives are listed in.
update.zip (https://www.dropbox.com/s/ju5eg5ernxcaqpt/update.zip),
GAPPS (http://www.goo-inside.me/gapps/gapps...317-signed.zip)
CyanogenMod Rom Zip(http://download.cyanogenmod.com/get/...mtd-signed.zip)
Enter recovery mode with volume buttons and power.
Reinstall packages twice.
Install zip from sd card select update-cm-9-20120520-nightly-vibrantmtd-signed.zip phone will boot loop on vibrant screen so take out the battery then enter recovery a second time installing the cm9 update again.
Then flash Gapps zip the same way.
When phone boots up camera, and gallery will not work until the next step.
4. Edit Vold.Stab file
Downlad ES File Explorer from play store.
Hit Menu button, settings, Check box for Root Explorer, Check box for mount file system, check box for Up to Root
Press Up once, you should now be at "/"
Open system directory, open etc directory, scroll to bottom and select Vol.fstab, select Text, Select ES Note Editor, update text to the following:
#internal sdcard dev_mount emmc /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
#external sdcard dev_mount sdcard /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
After edits, click back and click yes to save changes. Exit out of es file explorer and restart phone. Post results:
Should work with any version of CM9, newer nightlies would obviously be preferred. Will make more detailed guide soon.
Credit to these guys for providing the solution -
http://www.youtube.com/watch?v=zdMhYYdMB08
http://forum.xda-developers.com/show....php?t=1447303
Samsung Vibrant
News
Original post by:
draikz
Link to original post:
http://forum.xda-developers.com/showthread.php?t=848737
** [GUIDE] FIX AND RESCUE YOUR VIBRICK + ODIN SUPPORT! N00b Friendly **
Fixing so-called "Bricks"/Odin Errors
This guide is open to contribution/editing/correcting
I DO REALIZE THAT MOST OF THESE LINKS ARE BROKEN, PLEASE SCAN THE THREAD TO FIND UPDATED LINK. I'M NOT VERY ACTIVE ANYMORE, SORRY!
-----------------------------------------------------------------------------------------------------
BOOT CYCLE
This is where you get the annoying Samsung Screen/Galaxy S screen.
DOWNLOAD REQUIRED (CREDITS TO JUSTANOTHERCROWD):
Quote:
Originally Posted by justanothercrowd
JFD ODIN Images from Samsung (PDA)
www.justanotherdev.slackdev.com/T959UVJFD.tar
MD5:632730f6b637f53e5b10e5cbc8b966a7
512 PIT File (PIT Extract first!)
www.justanotherdev.slackdev.com/s1_odin_20100512.rar
MD5:b5628c8e183fdd8f4c703321ca40e33a
ODIN
www.justanotherdev.slackdev.com/Odin3.rar
ALL 3 Files plues the root update.zip
http://tinyurl.com/2bc5b6r
thx to KopyKatKiller
1. Get into Download Mode (WITH THE PHONE PLUGGED IN) by following the steps below
*Turn off the phone until you get to the charging battery screen (keep in mind, your phone is currently PLUGGED IN)
*Press volume up and down, and power all at once.
*As soon as the screen turns black, release your power button.
2. Unplug phone from USB
3. Open Odin (in Administrator if you're running W7 or Vista), try one of the ones I attached to this post, at least one of them is bound to work, some don't work for me, but works for others, some doesn't work for others, but works for me, whatever floats your boat
4. Load in the files into Odin that you have downloaded from above Just load in the files corresponding to the text field.
DO NOT CHECK REPARTITION.
5. Plug in your phone with the DL mode
6. Click start and wait for the magic
-----------------------------------------------------------------------------------------------------
NO-BOOT PHONES
This is where your phone does NOT turn on, no combo of buttons works and power button does nothing.
DO THIS ONLY WHEN YOU PLUG IN YOUR PHONE AND NOTHING SHOWS UP ON THE SCREEN!!! If else, follow the steps from above.
This method is basically same as above, EXCEPT the way you get into Download Mode as your phone is HARD BROKEN.
1. Download all the files required in the "BOOT CYCLE" section of this post.
2. Remove everything from your phone (SD card, sim, battery).
3. Plug your phone into your computer WITHOUT the battery, as you have already taken it out in the last step.
4. Press and HOLD vol. up and vol. down.
5. As you are HOLDING these buttons, reattach your battery.
6. You should be in Download Mode.
7. Unplug phone from USB
8. Follow steps 4-8 from the "BOOT CYCLE" section.
Troubleshooting:
-Odin stuck at some random process?
*Switch to another odin
*Make sure you did NOT check repartition, if you did, just repeat all the steps over again, except for the downloading parts, obviously.
-Phone not responsive?
*Try "NO-BOOT PHONES"section of this guide
-Phone stuck at Galaxy S logo screen?
*Put it in to DL mode, and run Odin again, it's just a bad install.
-All three ODIN is nonfunctional, stuck or giving "FAILED" errors?
*DO NOT CLOSE ODIN ONCE IT HAS FAILED!
*Unplug your phone
*Replug in your phone, get it into DL mode
* Unplug once it is in DL mode
*Replug and ODIN should recognize your phone
*Leave all the settings the same, then click "Start" again.
-Cannot get into download mode using the method I listed? Use the method(s) below:
Soldering Method
More methods coming soon
-----------------------------------------------------------------------------------------------------
I know how much of a pain posting in the Q/A section can be and the wait time is pretty bad, so if you need help regarding UNBRICKING and ONLY UNBRICKING feel free to post in here.
Hope you enjoy, this is my first guide, please don't flame. Any comments or suggestion is suggest, or if you have your own method I'll also post it
POST YOUR RESULTS!
-Steven
The only forums this guide should be posted on is XDA, DZ, and PHANDROID under the username DRAIKZ and EXPLOSIVE. If it helped you, feel free to donate a coke or two!
Hello I've Created installer script for PhoenixOS with help of grub installer script taken from remixos deb package file.
I am not responsible for anything that may happen to your PC/Laptop/Tab as a result of installing and using this script. you do so at your own risk and take the responsibility upon yourself.
Click to expand...
Click to collapse
Note: Backup your custom.cfg file if you are dual booting with other os if not then proceed further.
custom.cfg should be in /boot/grub/custom.cfg if EFI install then /boot/efi/EFI/yourdistroname/custom.cfg
p7zip-full should be installed its need for extracting ISO file.
Script should be placed where desired files or ISO is present.
--> This is tested and working fine in kde neon lts on MBR and GPT disks & EFI is not tested as I don't have that installation so it should work.
--> Other then Debian based distros IDK if my script works on them or not, so please test it yourself and inform.
--> If your home folder is defined on other disk or partition please add insmod part_gpt insmod ext2 OR insmod part_msdos insmod ext2 according to disk partition table to grub entry in custom.cfg
Click to expand...
Click to collapse
Features
Path defined root and home only.
Method defined FILES and ISO & EXE only.
Has Uninstall options.
Data folder is created in os folder
Click to expand...
Click to collapse
Make script executable
Code:
chmod +x PhoenixOS-Installer-Linux
Then Run
Code:
./PhoenixOS-Installer-Linux
reserved
reserved post
Not enough information. Please elaborate on the installation procedure itself. On Ubuntu of course it should install to sda2. I chose the path /dev/sda2/ then used .iso for the install method, and then upon trying to do the install using option 2 it simply keeps bringing me back to the menu where choices 1-4 are present.
I actually got PhoenixOS to install using the USB method, however I cannot find a working boot sequence for GRUB bootloader. I'm kind of at a loss for finding a way to easily switch between Ubuntu and PhoenixOS.
Deucalion29710 said:
Not enough information. Please elaborate on the installation procedure itself. On Ubuntu of course it should install sda2. I chose the path /dev/sda2/ then used .iso for the install method, and then upon trying to do the install using option 2 it simply keeps bringing me back to the menu where choices 1-4 are present.
I actually got PhoenixOS to install using the USB method, however, I cannot find a working boot sequence for GRUB bootloader. I'm kind of at a loss for finding a way to easily switch between Ubuntu and PhoenixOS.[/QUOTES]
I got this done by making different partitions. Sounds like a no-brainer, but it works. My main OS is MacOSX, then I made different partitions of FAT32s using Disk Utility, I created them all in different sizes (to prevent confusion). After that, I just install the other OS one by one (Phoenix will always be the last). And, I made some extra partitions during Linux installation (just in case) and deleted them after.
As for the Phoenix post, Thank you
Click to expand...
Click to collapse
It does not work...
I have placed the script and the iso file in the same home directory, chdir in that place but the script does nothing ... It asks for sudo and the it does not create any directorys.
To complicated to debug for me....
EDIT:
I have managed to install it in home / iso mode
I had to edit the generated schipt for modifying GRUB. It was copiing the whole script and not stopping at EOF ?!
It works great
Setup;
1 - Download Phonix OS ISO image on Phonix OS web site
2 - Create a folder with any name
3 - Copy the Iso file to this folder and extract the PhoenixOS-Installer-Linux.zip file to this folder
4 - Open the terminal and go to the folder you created
5 - Now run "chmod +x PhoenixOS-Installer-Linux" and "./PhoenixOS-Installer-Linux" command
6 - The script will run
7 - Select "Select Path & Method"
8 - Type "home" for path and press enter
9 - Type "iso" for method and press enter
10 - Select "Install Rom" and follow the steps
11 - Run the "sudo update-grub" command using the terminal when the process is finished
12 - Restart the computer and select Phoenix Os
I'm sorry for my bad english
bycoder said:
Setup;
1 - Download Phonix OS ISO image on Phonix OS web site
2 - Create a folder with any name
3 - Copy the Iso file to this folder and extract the PhoenixOS-Installer-Linux.zip file to this folder
4 - Open the terminal and go to the folder you created
5 - Now run "chmod +x PhoenixOS-Installer-Linux" and "./PhoenixOS-Installer-Linux" command
6 - The script will run
7 - Select "Select Path & Method"
8 - Type "home" for path and press enter
9 - Type "iso" for method and press enter
10 - Select "Install Rom" and follow the steps
11 - Run the "sudo update-grub" command using the terminal when the process is finished
12 - Restart the computer and select Phoenix Os
I'm sorry for my bad english
Click to expand...
Click to collapse
it works but when i try to boot it stucks at command shell. any idea ?
Greetings,
i did go through dual-booting linux on our device kind of process and spend a bit of time, trying to figure out the correct steps.
Was not easy, for a newbie like me, i dont know much about linux itself, most of the inscrutions are written in "foreing language" for me, so here is more of a detailed guide.
This guide is only for installation on the SDCARD, i did not try out internal storage
!!! Im not responsible for anything that happens during/using these steps, you and only you are responsible to what happens, use with caution !!!
Requirements:
Unlocked bootloader: https://forum.xda-developers.com/t/...6c-boot-for-asus-memo-pad-7-me176c-x.3780225/
Installed TWRP: https://forum.xda-developers.com/t/...p-3-3-1-for-asus-memo-pad-7-me176c-x.3745190/
Both of these guides are made step by step, so there should be no questions about this
First of all, go to https://images.postmarketos.org/bpo/v22.12/asus-me176c/ , there are 3 different types of UI, the kernel itself should be the same, but i dont know for sure myself
Phosh - very well working on our device, missing a bit of RAM to launch firefox stable for example
Plasma-mobile - i found this one was very hardware heavy, it takes quite alot of more storage aswell, i do not recommend this for our device
Sxmo - this one did boot up just fine, but i wasnt able to get more testing as my hardware inputs were not recognized by the software, i do not recommend this one
There are multiple software version, i did try only the latest one
Possible to try out the lower (outdated) versions yourself
After downloading these files, you should have 2 of the .xz archives, unpack them somewhere, i did put them into the same folder, but thats just my own preference
After unpacking them, you should have
XXX-asus-me176c-bootpart.img
XXX-asus-me176c.img
XXX are reference to date of the build
To have ourself things easier, we will rename both of these build and leave only the "asus-me176c.img/asus-me176c-bootpart.img", you can leave them named as theyre, but it will take you a bit more time in the terminal
After that, we will move one of our images (the non-bootpart one) to the internal storage of the device.
Make sure, to have enough space available. I have the 8GB version and it was kind of struggle for me to install the plasma-mobile version.
I did also try moving that file to USB-OTG and SDCARD, but i had some problems with USB-OTG in TWRP and SDCARD gets wiped when you install the OS.
So, please, use internal storage for the file, the OS IS NOT GOING TO GET INSTALLED ON YOUR INTERNAL STORAGE IN THIS WAY, WE ARE GOING TO INSTALL IT ON A SDCARD.
After moving our file to the internal memory, we will go and reboot our tablet to fastboot mode
when powered off, press volume down + power on, release power when screen lights up
in the custom bootloader menu, using volume keys (power one does not work), we select Fastboot (power down to move and power up to select)
Our phone should boot into fastboot mode, we go and connect our phone to the computer
after connecting the phone, we go to the folder where our xxx asus-bootpart.img is located, go ahead and SHIFT+RIGHTCLICK on empy space in the folder, select Open a terminal/powershell window here
in the terminal/powershell we type in command " fastboot flash APD asus-me176c.img "
let the command process, after its done, go and type in " fastboot reboot-bootloader "
our phone gets rebooted into the bootloader, with volume keys once again, select RECOVERY
when our device gets booted to TWRP, go to Mount -> Tick ESP
anywhere on your PC, open up the default text editor, paste in:
title postmarketOS
volume 80868086-8086-8086-8086-000000000007
linux /vmlinuz-edge
initrd /intel-ucode.img
initrd /initramfs
# Comment this out to get more output on screen while booting
options console=null
this text is only used for the latest version of the OS, for lower versions, please follow https://wiki.postmarketos.org/wiki/ASUS_MeMO_Pad_7_(asus-me176c)
select the file type as "every files" instead of text document
name it pmos.conf and save it anywhere you like
at your computer, download MiniDiskPartition tool, or other partition tool
partition your sdcard using the selected tool
i have 32GB sdcard, i did partition my sdcard roughly 8GB with FAT32 for file sharing between android/linux/windows and the rest with EXT4 for the Linux itself
i believe the partition size for Linux doesnt matter aslong as its over 4GB, the installation itself should resize the partition on sdcard itself, depending on how it needs, BUT im still not 100% how this works
connect your phone to the computer
in TWRP go to MOUNT and tick ESP
in the folder where you saved the pmos.conf, open up a terminal (once again SHIFT+RIGHTLICK and open terminal/powershell here)
type in " adb push pmos.conf /esp/loader/entries/ " , press enter
in TWRP go to Advanced and go to Terminal
type in " df "
then you should see your partitions, we are looking for one that belongs to /external_sd/ , usually dev/block/mmcblkX0Y (X and Y are not specified), it should have it written at the end
mine was " /dev/block/mmcblk0p1 " YOURS CAN BE DIFFERENT! in the original guide, they specify, it can be also SDXY (XY belongs to any number)
after we find our partition that belongs to /external_sd/ , we go into the terminal in TWRP and type in:
dd if=/PATHTOYOURIMGFILE/ of=/PATHTOYOUREXTERNALSDCARDPARTITION/ bs=4m
i did have the IMG file in my internal storage, therefore my command was:
dd if=/sdcard/asus-me176c.img of=/dev/block/mmcblk0p1 bs=4m
make sure to use the bs=4m instead of bs=4M (as specified in the original guide), otherwise you will get "illegal number" error
after this, you should wait! The file is 1,6 - 2,4 GB, it takes time
your result should appear in the terminal
if your installation was succesfull, you can go in TWRP to REBOOT and select BOOTLOADER
you should have postmarketOS option available in the bootloader boot options, select it
you should boot your postmarketOS now
if you didnt, you probably didnt follow the guide correctly, read the steps once again
if you couldnt install the postmarketOS and youre sure you did follow the steps correctly, contact me on XDA (preferably make a comment under this thread)
Original thread:
ASUS MeMO Pad 7 (asus-me176c) - postmarketOS
wiki.postmarketos.org