How to root SM-T217T with Heimdall - Galaxy Tab 3 Q&A, Help & Troubleshooting

Worked perfectly for my Galaxy Tab3 7inch from T-Mobile (SM-T217T). I used Linux, but should work the same way with Windows/OSX:
1. Download Heimdall (incl. frontend, if you use Linux).
2. Download recovery file (CWM -ClockworkMod) for SM-T217S or SM-T217T and extract the zip/tar file so you will get the recovery image file (you should get a file called recovery.img). See attachment for file.
3. Download SuperUser (for getting root access later on) and save it to your external SD card on your Galaxy tab. See attachement for file. Please don't unzip the file, save the zip file as it is on your SD card.
4. Put SDCard into your GalaxyTab
5. Connect your Galaxy tab to your PC via USB and start it up in Download mode: Power + Volume DOWN.
6. Open Heimdall (under Linux as root).
7. Go to tab 'Utilitites'.
8. Click on 'Detect'.
9. Choose destination file for PIT file and click on 'Download'.
10. Then change tab to 'Flash'.
11. Open your PIT file and click on 'Add'.
12. Choose recovery as partition name and add the CWM file.
13. Click on start (I prefer to automatically reboot the device after flashing recovery, so I won't activate any of the options next to the start button such as 'No Reboot', etc.).
14. Your device should now reboot. Once in Android, please power off your device.
15. Start your device with Power + Volume UP, so recovery mode will be invoked.
16. Choose the menu point ‘load from external SD card’ and execute SuperUser file – see attachment. This will actually root your device.
17. Reboot your device and you should be rooted now….
Cheers
Christoph

Enable auto-start up when plugged in
If you want to enable the Galaxy Tab 3 7" (SM-T217T) to boot automatically, when you plug it into the charger please follow these steps:
1. Download a command line tool for Android.
2. Change to root via command 'su'.
3. Change to directory /system/bin via command 'cd /system/bin'.
4. Give write permission via command 'mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system'.
5. Make a copy of the file 'lpm' via command 'mv lpm lpm.orig'.
6. Create a new file with the name 'lpm' via command 'vi lpm' (this also open the vi text editor).
7. Press 'i' to get via into insert mode.
8. Enter the following line of code:
#!/system/bin/sh
/system/bin/reboot
9. Press 'ESC' and enter 'ZZ' to save the file and to quit the vi editor.
10. Give required permission to the file via command 'chmod 755 lpm'.
11. Remove write permission via command 'mount -o ro,remount -t yaffs2 /dev/block/mtdblock1 /system'.
12. Check, whether lpm and lpm.orig file have the same permissions via 'ls -l *lpm*'.
Cheers
Christoph

Related

Alternative method to Root your HTC Hero

HTC Hero Root access
By fakker1
1. Download:
1. http://developer.android.com/sdk/download.html?v=android- sdk-windows-1.5_r3.zip
2. http://rapidshare.de/files/47972320/orange-htc-hero-uk-boot.img-28-july-2009.zip.html
2. Install HTC Sync from your HTC device
1. Connect device to computer using USB cable.
2. Mount the SD card from the HTC Alerts Menu (Drag from the top of the screen).
3. Install the sync application from the newly discovered drive in Windows.
3. Extract the two zip files into some folder (separate folders for each zip).
4. Go to the Android SDK folder and open the tools folder.
5. Copy the two files from the boot image zip (1.b) into the tools folder:
1. boot.img.insecure
2. boot.img
6. Shutdown the phone.
7. Press and hold the back key and power on the phone.
This is get you into the fastboot screen (the white screen with three androids at the bottom).
8. Connect the phone to the USB cable if it’s unplugged.
9. On Windows, open cmd.exe (Start -> Run -> cmd.exe -> Enter):
1. Change the directory to the tools directory you’ve created earlier.
2.Run fastboot.exe boot boot.img.insecure from within the tools directory.
Output: downloading 'boot.img'... OKAY
booting... OKAY
3. Now your device will start from the given image with root access.
10. Gain root access:
1. In the phone’s alerts menu, click HTC Sync. This will popup the HTC Sync tool in Windows. Ignore it!
2.In cmd type: adb.exe shell
Output:
#
3. From the prompt you got (#) run the following command to mount the phone’s file system in RW mode:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
11. Add su command to your Phone
1. Run the the following commands in the shell (#) – Run each command separately (don’t just copy-paste all the lines!):
1.cat /system/bin/sh > /system/bin/su
2. chmod 4755 /system/bin/su
12.Reboot the phone by typing reboot in the shell (#).
13. The phone will restart and load the original Android ROM.
14. Enjoy the your Rooted Device
From Android Forum
Perhaps better titled "Alternative method to Root" since I personally had a nightmare just installing HTC Sync and on reading, this method certainly seems more complex than the one here http://forum.xda-developers.com/showthread.php?t=543571
Dayz xx
hummm
sorry but that would lose many n00bs....just like me...
i am going to change the title and let the pubic go for what they think is best.
liamhere said:
sorry but that would lose many n00bs....just like me...
i am going to change the title and let the pubic go for what they think is best.
Click to expand...
Click to collapse
You Noob!
Lol. Just kidding, Yeah i think this title is much better! I've been Rooting Android Devices since the g1 came out so im familiar to all this.
Im still waiting for my HTC Hero to arrive, it should be here any second. Once my dog starts barking, it will probably mean fedex guy is here.

Help installing theme

This is the theme I would like to apply. Ive only installed ones in zip form, and i tried to adb push this but i dont have the correct commands or its not the right way to install? Please help me get this to work
http://forum.xda-developers.com/showthread.php?t=716727
To copy a framework-res.apk to your phone:
Edit: MAKE A NANDROID BACKUP BEFORE ATTEMPTING THIS
1. Boot into clockwork recovery (hold volume down and power while phone is off then choose recovery)
2. Plug the phone into the usb port on your computer.
3. In clockworkmod, scroll down to partitions and select it.
4. Select "mount /system"
5. Now copy the framework-res.apk file that you want to put on your phone into the sdk tools folder from wherever you downloaded it.
6. While you have the tools folder open on your desktop, hold shift and right click somewhere inside the folder. Choose "open command window..."
7. Type the following command:
adb push framework-res.apk /system/framework/
8. When it finishes copying, go back to your phone and choose "unmount /system"
9. Now go into the command window and type:
adb reboot
Once your phone reboots, you should have the replaced framework-res images.

unlocking samsung android based phones-method-

For safety reasons commands should be COPY & PASTED (without quotation marks).
Do this at your own risk.
1a. Make sure you have the USB drivers installed (they come with Kies).
1b. Make sure your phone is rooted. Use Universal Androot.
2. Create a new folder called EUROPA. Save this folder anywhere such as in My Documents or Desktop.
3. Download adb_usb_drivers: http://forum.xda-developers.com/atta...2&d=1306420890
4. Extract adb_usb_drivers into the EUROPA folder.
5. Open a Command Prompt Window (Windows Start button then search / run the term "cmd" to open Command Prompt)
6. Type "cd" (leave a space) then drag and drop the EUROPA folder onto cmd screen and press enter.
7. Connect phone to USB.
8. Type "adb shell"(enter)
9. "su"(enter)
10. "cd /"(enter)
11. "mount -o remount,rw -t rootfs rootfs /"(enter)
12. "mkdir /efs"(enter)
13. "mount -o nosuid,ro,nodev -t vfat /dev/block/stl5 /efs"(enter)
14. "cat /efs/mits/perso.txt"(enter)
You will see some numbers at start of file....
Then you will see your SP unlock code followed by some 000000000 codes and another code. Write the first one (and second just in case) down.
15. "umount /efs"(enter)
16. "reboot"(enter)
Shut the cmd window.
Shut down the phone and put it a "locked" sim. Start your phone, input the pin, and when asked for a unlock code give it the first code. Your phone is now unlocked.
_______________________________________________________________
i used this method to get the unlock codes for two samsung gravity smarts so it does work on samsung phones only i belive
i did all of this through Term

[Guide]Deodexing Stock Rom including Email.apk/Email.odex

For those who want to deodex the Stock Rom of Samsung Galaxy Y and having a problem deodexing the Email.apk/Email.odex of Galaxy Y here is a tutorial on how to deodex it successfully. I already tried this process on my own device and it worked perfectly.
What you will need is:
1. baksmali.jar (not my work so credit's not mine)
2. smali.jar (not my work also)
3. java.awt.jar (not mine either)
4. xUltimate-v2.3.3.zip (definitely not my work)
5. Busybox Installer (must be the latest version. this is downloadable for free from the android market)
6. files from \system\app and \system\framework of you phone (most importantly)
Instruction:
1. Download all the attached files at the bottom of this post. Wait until the download finishes.
2. Extract xUltimate-v2.3.3.zip by right-clicking it and selecting "Extract to xUltimate-v2.3.3.zip\"
3. Connect your phone to your computer (just make sure that "USB debugging" option of your phone is checked. To see if it's checked go to Menu -> Settings -> Applications -> Development and there you will see "USB debugging" option, it must be checked)
4. Go to xUltimate-v2.3.3 folder (this is what you extracted in step #2). Run "Main.exe" and wait until the options shows.
5. When options are already shown, type "1" in your keyboard then press enter. Wait until it finishes then press enter to continue.
6. This type type "2" in your keyboard and wait until it finishes then press again enter to continue.
7. Before proceeding to the next step we will remove first the "Email.odex" in the "orig_app" folder to avoid error in the process of deodexing the other odex files. To do this, go to "orig_app" folder then find the file "Email.odex" then move it into your desktop by right-clicking the file and selecting "cut" then right-click on desktop and select "paste"
8. Go back to xUltimate program and select now the option #3 by typing "3" on your keyboard and press enter. Wait until it finishes and press enter to continue.
9. Type "4" in your keyboard and press. Wait again until it finishes and close the xUltimate program when it's finished.
10. In this step we will manually deodex Email.apk/Email.odex so that we can include it in pushing the deodexed files in your phone. Go to your drive C: and make there a folder named "missingchord". After creating a folder go to "xUltimate" folder then "jar" folder then find this files there baksmali.jar, smali.jar, and java.awt.jar copy the following files then paste those three files in the "missingchord" folder.
11. Go to "orig_framework" folder and find this files bouncycastle.odex, core.odex, ext.odex, framework.odex, android.policy.odex, services.odex, core-junit.odex, twframework.jar, and twframework.odex then copy those files and paste it in the "missingchord" folder.
12. Find the "Email.odex" file that to move into your dekstop then copy it then paste it in "missingchord" folder.
13. Open command prompt. To do this go to start -> run then type cmd then press enter. Command prompt should be open by this time
14. Type this in the command prompt
Code:
cd c:\missingchord
then this (choose from the two codes below if which of it will work for you)
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -x Email.odex
or
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -a 10 -x Email.odex
15. Wait until it finishes without error. Then type this again in command prompt
Code:
java -jar smali.jar out
16. Wait until step #15 finishes without error. Find for the file "out.dex" inside "missingchord" folder then rename it to "classes.dex"
17. Go to "orig_app" and find for "Email.apk" then add "classes.dex" (from the "missingchord" folder) inside the "Email.apk". To open "Email.apk" you can use WinRar or any other similar software. Save the "Email.apk" after you successfully added the "classes.dex" inside the "Email.apk" file.
18. Copy "Email.apk" and paste it in the "done_app" inside "xUltimate" folder
19. Copy the "done_app" and "done_framework" into your sdcard
19. In xUltimate folder look for "jar" folder then right-click it and select "Open command prompt here". If you don't know how to "open command prompt here" then try to search it in the web.
20. At this point, i'm assuming that you already installed the latest version of busybox on your phone and your phone is still connected in your computer. When the command prompt is open type this following code one at a time.
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
21. Your phone will automatically reboot. Wait for it until it finish rebooting. Then check all you applications if there are missing application.
22. You have now deodexed rom. Enjoy!
Note: If you got an error in step #20 in cp /sdcard/done_app/* /system/app/ command then you must restart you computer and try again step #20 after restarting you computer.
For those who have tried this guide and got a problem, please allow me to know it so that i can help you resolve your problem.
Please press "Thanks" if you find this thread useful
PS: Those attached files are not my work so no credit goes to me.
missingchord said:
For those who want to deodex the Stock Rom of Samsung Galaxy Y and having a problem deodexing the Email.apk/Email.odex of Galaxy Y here is a tutorial on how to deodex it successfully. I already tried this process on my own device and it worked perfectly.
What you will need is:
1. baksmali.jar (not my work so credit's not mine)
2. smali.jar (not my work also)
3. java.awt.jar (not mine either)
4. xUltimate-v2.3.3.zip (definitely not my work)
5. Busybox Installer (must be the latest version. this is downloadable for free from the android market)
6. files from \system\app and \system\framework of you phone (most importantly)
Instruction:
1. Download all the attached files at the bottom of this post. Wait until the download finishes.
2. Extract xUltimate-v2.3.3.zip by right-clicking it and selecting "Extract to xUltimate-v2.3.3.zip"
3. Connect your phone to your computer (just make sure that "USB debugging" option of your phone is checked. To see if it's checked go to Menu -> Settings -> Applications -> Development and there you will see "USB debugging" option, it must be checked)
4. Go to xUltimate-v2.3.3 folder (this is what you extracted in step #2). Run "Main.exe" and wait until the options shows.
5. When options are already shown, type "1" in your keyboard then press enter. Wait until it finishes then press enter to continue.
6. This type type "2" in your keyboard and wait until it finishes then press again enter to continue.
7. Before proceeding to the next step we will remove first the "Email.odex" in the "orig_app" folder to avoid error in the process of deodexing the other odex files. To do this, go to "orig_app" folder then find the file "Email.odex" then move it into your desktop by right-clicking the file and selecting "cut" then right-click on desktop and select "paste"
8. Go back to xUltimate program and select now the option #3 by typing "3" on your keyboard and press enter. Wait until it finishes and press enter to continue.
9. Type "4" in your keyboard and press. Wait again until it finishes and close the xUltimate program when it's finished.
10. In this step we will manually deodex Email.apk/Email.odex so that we can include it in pushing the deodexed files in your phone. Go to your drive C: and make there a folder named "missingchord". After creating a folder go to "xUltimate" folder then "jar" folder then find this files there baksmali.jar, smali.jar, and java.awt.jar copy the following files then paste those three files in the "missingchord" folder.
11. Go to "orig_framework" folder and find this files bouncycastle.odex, core.odex, ext.odex, framework.odex, android.policy.odex, services.odex, core-junit.odex, twframework.jar, and twframework.odex then copy those files and paste it in the "missingchord" folder.
12. Find the "Email.odex" file that to move into your dekstop then copy it then paste it in "missingchord" folder.
13. Open command prompt. To do this go to start -> run then type cmd then press enter. Command prompt should be open by this time
14. Type this in the command prompt
Code:
cd c:\missingchord
then this (choose from the two codes below if which of it will work for you)
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -x Email.odex
or
Code:
java -jar baksmali.jar -c :java.awt.jar:twframework.jar -a 10 -x Email.odex
15. Wait until it finishes without error. Then type this again in command prompt
Code:
java -jar smali.jar out
16. Wait until step #15 finishes without error. Find for the file "out.dex" inside "missingchord" folder then rename it to "classes.dex"
17. Go to "orig_app" and find for "Email.apk" then add "classes.dex" (from the "missingchord" folder) inside the "Email.apk". To open "Email.apk" you can use WinRar or any other similar software. Save the "Email.apk" after you successfully added the "classes.dex" inside the "Email.apk" file.
18. Copy "Email.apk" and paste it in the "done_app" inside "xUltimate" folder
19. Copy the "done_app" and "done_framework" into your sdcard
19. In xUltimate folder look for "jar" folder then right-click it and select "Open command prompt here". If you don't know how to "open command prompt here" then try to search it in the web.
20. At this point, i'm assuming that you already installed the latest version of busybox on your phone and your phone is still connected in your computer. When the command prompt is open type this following code one at a time.
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
21. Your phone will automatically reboot. Wait for it until it finish rebooting. Then check all you applications if there are missing application.
22. You have now deodexed rom. Enjoy!
Note: If you got an error in step #20 in cp /sdcard/done_app/* /system/app/ command then you must restart you computer and try again step #20 after restarting you computer.
For those who have tried this guide and got a problem, please allow me to know it so that i can help you resolve your problem.
Please press "Thanks" if you find this thread useful
PS: Those attached files are not my work so no credit goes to me.
Click to expand...
Click to collapse
Can I use this if maps and phonesky has a error?
Jay_SEAN said:
Can I use this if maps and phonesky has a error?
Click to expand...
Click to collapse
Well, I tested from my side with the Play Store and it worked. Make a backup with CWM and try it.

PUSH ZIP FILES To SDCARD While in RECOVERY

SEND FILES THROUGH ADB When IN RECOVERY MODE
1. Connect phone in recovery mode to pc….
2. In TWRP mount menu select sdcard to mount
3. Copy the Rom.Zip(I want to push the Zip file which name is Rom.Zip) file to platform tools folder which can be found in sdk folder .
4. Now open command prompt and change the directory path to sdk\platform-tools.(mine platformtools path is C:\adt-bundle-windows-x86-20140702\sdk\platform-tools so check yours and change it to that path)
5. Now check wheather device is connected or not. type adb devices and press enter(if device not connected then goto www.adbdriver.com and download adb driver installer,its about 9 mb,then install it and run the program while your phone is connected in recovery mode and it will automatically detect your phone and click on istall adb driver(in this process your phone should stay connected as in recovery mode and internet is required) then move to next step
6. If device found connected type adb remount and press enter(it will give message remount succed)
7. Here you type the push command to push the file
adb push Rom.zip /sdcard press enter and it will send file to your phone.now you can flash the Rom.zip through recovery….
Hope it will help you…press thanx button if it helps you

Categories

Resources