unlocking samsung android based phones-method- - Upgrading, Modifying and Unlocking

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

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.

[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.

How to root SM-T217T with Heimdall

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

[HOW-TO] UNLOCK & ROOT+MAGISK - HERO SP-001 Access Wireless

The Hero SP-001 is a free Lifeline phone from Access Wireless made by Shenzhen Eternity Technology Co., Ltd.
You must Unlock the phone before Rooting it. The Steps for both are provided below.
[Unlock Phone]
****Be aware that you will lose all user data when you unlock bootloader***
1) Unlock Developer options
2) Enable OEM unlocking from Dev options
3) Enable Android Debugging from Dev options.
4) Connect phone to computer
5) From command line type 'adb devices'
6) From command line type 'adb reboot fastboot'
7) From command line type 'fastboot devices'
8) From command line type 'fastboot flashing unlock'
9) Press the volume up button to accept unlocking warning
10) From command line type 'fastboot reboot'
You will see a warning saying it is unlocked everytime you reboot phone.
**EDIT** You can use the RE Live Distro mentioned below to do the above commands if you dont want to fuss with installing adbd on your computer.
----------------------------------------------------------------------------------
[Root+Magisk]
If your'e on Windows you will have to download and install python and git and MTKClient and UsbDK 64 and abdb. I'm not going to get into how to do all that because there is an Ubuntu image tailored made for all MTK based devices. It has all the programs installed. it is called RE Live made by viperbjk . I recommend doing it this way especially if you have any other devices using MTK chips.
Download Re Live DVD V3. The account credentials are Username: user Password: user
You can create the bootable usb thumb drive with Rufus if you're using windows.
The following steps are based on using the Re Live DVD:
***Your phone must be unlocked before you can root it. *****
1) Power off the phone and do not have it connected to the computer.
2) Boot up RE Live and type 'user' at the login screen.
3) Double-click the 'MTK' icon on the desktop.
4) Plug the USB cable into the computer. Do not plug it into the phone.
5) In the terminal type: python mtk r boot,vbmeta boot.img,vbmeta.img
6) When you see "Preloader - Status: waiting for PreLoader VCOM, please connect mobile" in the terminal you will hold the down volume button and plug the cable into the phone. Let go of the button a second or two after you connect phone. It will show you a progress bar as it downloads the 2 images you need.
7) Unplug the phone and power it on.
8) from that same terminal screen type: wget https://raw.githubusercontent.com/v...9e22fa276698f6c03bc1168df2c10/app-release.apk
or use the shortened url if you dont want to type all that: wget https://tinyurl.com/magiskmtk
9) plug the phone and type in the terminal: adb install release-apk [ look at the phone and accept auth rsa request on mobile screen so it can install the app.]
10) in the terminal type: adb push boot.img /sdcard/Download
11) Start magisk, tap on Install, select boot.img from /sdcard/Download.
12) in the terminal type: adb shell ls /sdcard/Download [You should see the boot.img file and another file name 'magisk_patched.something.something.img']
13) in the terminal type: adb shell mv [name of the patched file] boot.patched
14) in the terminal type: adb pull /sdcard/Download/boot.patched
15) Unplug the phone and turn it off (keep the usb plugged into the computer)
16) in the terminal type: python mtk w boot,vbmeta boot.patched,vbmeta.img.empty
17) When you see "Preloader - Satus: waiting..." hold the volume down button and connect the phone. release button when u see it connect and let it do its thing.
18) Unplug phone and power it on. Phone will now be rooted.

Android 8.1 Car Dash Cam/DVR Navigation Layout Mod Guide (No Root)

Note: I'm not responsible for any damage to your device!
The device tested on:
Model: V10E_TGC
Android Version: 8.1.0
Ram: 2GB
Rom: MZL_V10E_TGC_M5_1000_Media_Sleep_2022062917
OS used Windows 11
Steps:
(On Device)
1: Go to settings, system, then about phone. Tap on build number 7 times to enable developer mode.
2: Press back then head into developer options - Toggle OEM unlocking, USB debugging, Remote ADB (if connected to home network), then enable Adb Root (2846).
(On PC side)
1: Download the Minimal ADB portable zip, then create an ADB folder and copy contents from the adb zip into the created folder, copy cmd.exe from system32 into that folder as well.
2: Open cmd.exe type "adb connect 192.xxx.xx.xxx:5555" will prompt the device - allow the connection, tap accept, and ok.
3: Type "adb remount", then "adb pull /system/qc.prop" (make a copy).
4: Open qc.prop with notepad or editor. in the qc.prop search for (persist.sys.navigationbar.right=)
and change to (persist.sys.navigationbar.right=true), close, and save.
5: Type "adb push qc.prop /system/qc.prob" , then type "adb shell chmod 644 /system/qc.prop" then type "adb reboot".
Sorry, the steps were missing, also there is a way to change the navbar to be on the bottom if you change (#decide the postion of navigationbar. 0:bottom 1:left 2:right
ro.navigationbar.position=1) to (#decide the postion of navigationbar. 0:bottom 1:left 2:right
ro.navigationbar.position=0) but you lose access to the gear icon and reverse cam icon.

Categories

Resources