Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Thursday, 15 October 2015

Tutorial to change filesystem to F2FS?



Can someone help me to change my filesystem to f2fs from ext4?
im using stock rom and project t kernel ze550ml
i just done some random attempt and when i boot up my data corrupted .. so i had to revert back to ext4 .. can someone show me proper step by step guide? :confused:



Android Stutio Tutorial Project error



So I'm pretty new to android development and I'm going through the tutorials on the android development site and I'm having a problem.

The code that the tutorial says will be in activity_my.xml is in content_my.xml.

So here is my question:
Can someone please refer me to a tutorial site for android studio as well as Java. Text based only please, I unfortuantely have a data cap.

Thank you!



Sunday, 11 October 2015

[Tutorial] Edit your Note 4's Boot Splash Screen!



I've tried to find a tutorial for this, but seems like it doesn't exists. So I've learned about S6, Note 5 and even a russian Note 3 Neo tutorials to make it work. So let's start!
What do you need?
-Patience
-A PC with a Photo Editor (Paint.net should do the trick)
-Terminal Emulator with a little of practice
-(Optional) an external keyboard, since you have to execute quite a lot of commands and there's no way to copy paste into a terminal like in CMD.

1)We start by pulling "param.bin" file out:
It's located in /dev/block/mmcblk0p8 so we have to execute these commands:

Code:


su
dd if=/dev/block/mmcblk0p8 of=/mnt/sdcard/param.bin bs=4096


2) This will extract param.bin to your main sdcard folder, then we have to create a new folder and then untar it, by executing this:

Code:


mkdir /sdcard/param
cd /sdcard/param
tar xf /sdcard/param.bin


3) If everything went fine, you should see a folder called "param" with all the bootloader's images. We will focus on logo.jpg, but you can change the others like download.jpg and warning.jpg. Extract these files to your PC and edit them, make sure that the images doesn't go up to 400 kb, otherwise they will not show in the device. To achive this you can downgrade the JPEG quality from 100% to 80% or any % you feel confortable to use. Once you finish the editing process, place them inside your main /sdcard folder.

4)Now we have to paste your edited images inside /sdcard/param folder and retar param.bin, we have to execute these commands:

Code:


cp -f /sdcard/logo.jpg /sdcard/param/logo.jpg
(OPTIONAL) cp -f /sdcard/warning.jpg /sdcard/param/warning.jpg
(OPTIONAL) cp -f /sdcard/download.jpg /sdcard/param/download.jpg
rm -f /sdcard/param.bin
cd sdcard/param
tar cf - `ls | sort -t.` > /sdcard/param.bin


5) Last but not least, we have to place param.bin back again in the system, so:

Code:


dd if=/sdcard/param.bin of=/dev/block/mmcblk0p8 bs=4096

If everything went fine, reboot and you will see the new logos come up! Make sure to backup param.bin once it gets extracted, in case if something goes wrong. There's no way to brick the device, the major risk is a blackscreen while booting, but the device will boot fine so you can repair it without problem (IF you made a backup, otherwise you will have to reflash the bootloader in ODIN).
I hope you like it! Leave your questions below and I'll try to answer them ASAP. Cheers!



Saturday, 10 October 2015

Materialized App Icons for ALL Android (Download & Tutorial)



Hi, this is my first real thread and I hope this helps or makes someone's day :o

Apps like Snapchat, Instagram, Kik, among others are behind on material design. Their launch icons are not material. I am not claiming that I have found this, but I'd like to share this.

First, you will need APK Editor Pro, in the Play Store. When you open it, it will say

If you have APK with you downloaded, use it. If not use APK from app(system apps can't be used, you'll have to extract the apk or convert to system app).

Pick the app's icon you are going to change. I chose ROM Toolbox Pro.

When you click it, it will say this..

You'll want to click simple edit.

When you do that, you'll come up with this---

NOW read very carefully there are two ways of replacing the image.

Way 1: Find the HDPI folders.
Android apps have these folders that contain the images of the app. You can find them usually by clicking /RES folder. In ROM Toolbox Pro, the app icon is here.

We got lucky, but in some apps you'll have to replace it multiple times for multiple DPI and HDPI's.

Click the little pencil and box right next to the floppy disk(save) icon and replace the image with absolutely any image you want. I changed it already, but for the sake of this tutorial, I'll change it again.

As you can see I've already downloaded and done some apps, I'll show then at the end.

Once you pick an image,

Hit the save button.

Way Two:
Go to images, find the launcher icon, replace and save.
HINT: the name is usually either: appicon ic_launcher_icon or something along that line.
Hit the save button.

It will come up with this.

Click install and you have your custom/materialized icon!

Gallery:


Disclaimer: IF THE APP UPDATES YOU WILL HAVE TO REPEAT THIS PROCESS. I AM NOT RESPONSIBLE FOR ANY BROKEN APKS OR DAMAGE OF ANY KIND YOU INFLICT. GUNS DON'T KILL PEOPLE, PEOPLE KILL PEOPLE.
If anyone wants my APK's just ask and I'll see what I can do.

Tales From The Borderlands Before and After:

Credit for Icon : POOTERMAN @ DeviantArt-



Wednesday, 7 October 2015

UPDATED ROOT AND CUSTOM ROM TUTORIAL FOR DOCOMO XPERIA A (Japanese ZR, aka SO-04e)



This is an updated tutorial (as of Oct 2015) to root and upgrade the Japanese Sony Xperia A (SO-04E, Android 4.2.2) to Android 4.4.4 and higher. You need an extra (external) microSD card in your phone for this to work. If you don't have one, you can buy one at convenience or electronics stores. Min 4GB should be fine but why not buy more for your photos and music later?

I did not come up with the most important moves here. That was done by others in this thread, notably aperception and mgg4000. I only updated some steps that no longer work due to files getting lost, software features changing etc. I also broke this down into more detail for people who are less familiar with the process of rooting and installing unauthorized ROMs. I have to warn that this will take an inexperienced person at least one full day, and possibly more. You may want to plan two full days. If you are one of the totally clueless you might save yourself the trouble and simply buy a newer phone.

Anyway, here we go. In case a file linked to in the tutorial is missing, please see if it's among those I backed up in a Mega account, list at bottom of post.
1. Cancel all your appointments, hire a dog walker and tell your wife she had best stay with some friends this weekend.
2. Write down all APN settings of your phone – you will need to manually enter them later.
3. Make sure your phone’s Developer Options are enabled, USB debugging is enabled, and Installing from Unknown Sources is enabled (google if you don’t know this stuff).
4. Install the minimal ADB and Fastboot tools from here: http://forum.xda-developers.com/show....php?t=2317790
5. Install Flashtool from here: http://www.flashtool.net/downloads.php . Watch this tutorial to do this and the next steps right: https://www.youtube.com/watch?v=ZfD9kT1DVz0
6. Power down your phone, hold down the Lower Volume key and connect phone to PC via USB cable. Flashtool will now show your phone as connected in Flashboot mode.
7. Using Flashtool, flash this to your phone: https://www.dropbox.com/s/p0m8fzv22m..._Hong_Kong.ftf
(or another C5503 Android 4.4.2 firmware – find one on XDA) . In the Flashtool settings, make sure you wipe the APPS_LOG, and check none of the Exclude items; if after this process the phone keeps rebooting, flash the same thing again, this time also wiping USERDATA)
8. Disconnect and reboot. If any trouble, see my comment above in brackets (under point 7).
9. You should now have a clean install of a Sony C5503 stock firmware. Confirm this in /Settings/About Phone.
10. If you check your Storage now, you will see only 4.59GB available internal memory, even though the Xperia A has 32GB total. To fix this, use Flashtool to flash back one part of the original SO-04E firmware here:
https://ftf.あんどろいどのこと.みんな/
I used 10.3.1.B.2.13 which worked fine. When flashing this, you must wipe the APPS_LOG (and maybe USERDATA) again, and exclude EVERYTHING except PARTITION. In other words, all items in the Exclude list must be checked, except PARTITION.
11. When this is done, reboot once more and check your storage again. You should now see ~25GB of usable internal space. Yay!
12. Now make sure you have phone network access. For 4G/LTE you will need to manually enter the APN settings from Step 2 above first. Just one of them, the one you usually use is fine (in the case of DoCoMo, the most common one is moperaU) (Or, instead of messing around with the LTE and APN settings - which takes time and will need to be repeated several more times if you want to use your mobile network connection for downloads - enable Wifi; this will usually be easier.)
13. Once your phone has mobile network (or wifi) access, go through the process of enabling Developer Options, USB Debugging and Installing from Unknown Sources again.
14. Log into the Google Playstore and install SuperSU
15. Now root your device with this: http://rootkitxperia.com/
16. Start SuperSU and set it up. Use a root checker from the Playstore to confirm it’s done.
17. Now install custom recovery. Get the file from here:
https://onedrive.live.com/?id=D419E7...&action=locate (or presumably the latest dual recovery for ZR from here will also work fine: http://nut.xperia-files.com/). With the phone connected, run the English language install .bat
18. When done, power down device. Power it back up. As soon as the LED lights up (in other words, when the Sony logo appears) and until after you feel a brief vibration press any button on the phone repeatedly (e.g. the volume buttons) to enter recovery. The Clockwork Recovery service will boot up.
At this point, if you haven’t yet, you need to familiarize yourself with Clockwork Recovery.
Wipe the cache partition, the dalvik cache (under Advanced), and wipe data/factory reset. Once you reboot, you will once again need to reestablish Playstore access etc.
19. Now place the following file on your external SD card
https://mega.co.nz/#!4o0jlQ6b!ZVxOj-...9paCqsR1EQBlGU
20. Boot into Recovery, wipe cache and do a factory reset. Then install the above file from the external SD card (the device has two SD cards, one external and one internal). This will install Android 4.4.4. Once done, power off the device using the according command in Recovery. When I did this, Recovery warned that Root may be lost and asked whether to fix this. I chose “Yes, fix it” and rebooted. The good news was that Android 4.4.4 was installed correctly. The bad news was that Root was lost. WTH??? You may want to try NOT fixing it, see if that goes any better. Anyway, install SuperSU and the root checker from the Playstore and see if you have root or not. If yes, skip to step 22.
21. ONLY if you have lost root like I did, follow these instructions to regain Root (the root kit from step 15 will no longer work on this new version you now have; you can use the Flashtool we installed in step 5, no need to download the official Sony one)
http://techbeasts.com/2014/09/18/how...cked-unlocked/
After flashing the two firmwares and rebooting, each time a “repairs in progress” type of screen appeared and shortly thereafter the phone seemed to power down. I had to remove the battery each time to get the thing started again. Also, while on the Nordic firmware, the phone kept vibrating for no reason. This problem disappears when flashing back the second firmware from the above instructions.
22. You now have a rooted Android 4.4.4. Presumably you will want to move on to the very latest Android version which is Android 5.1.1. Keep in mind that the Xperia A has a locked bootloader so only ROMs that are designed for a LB will work. I installed this one, works perfectly except for NFC:
http://forum.xda-developers.com/xper...ajeev-t3215063

That’s it. Unfortunately, links included in this tutorial are liable to go dead after a while. Here are the ones likely to vanish, duplicated in a Mega account I set up for this.

Step 7: C5503 HK firmware (C5503_10.3.1.A.2.67_Hong_Kong.ftf):
https://mega.nz/#!R1p2wKII!rs9UFrMHN...pk-451sZEpzv34

Step 10: SO-04E firmware (10.3.1.B.2.13):
https://mega.nz/#!UwgHTT7Z!kKHlcPyPO...5op1IOFZ8fUGIU

Step 19: Pre-rooted 4.3.3 (C5503_10.5.1.A.0.283_NCB_PRE-ROOTED_PRFCreator.zip):
https://mega.nz/#!8tQEEJxY!Xd7HoRwWT...2b_LFXsZWRLgBM

Step 21: Nordic firmware (C5503_10.5.A.0.230_Nordic NCB.ftf):
https://mega.nz/#!koIiRISS!fUH-OWT4s...m6N_rSzm9o_m64

Step 21: C5503 Kitkat (C5503_10.5.1.A.0.292_RU.ftf): https://mega.nz/#!pw4jmIhL!ClHKkkSX1...Kr9IDfhyiqDT9g