Showing posts with label Create. Show all posts
Showing posts with label Create. Show all posts

Monday, 1 August 2016

Cannot clone device or create new hardware profile



I just started learning android studio from thenewboston but I'm stuck with this problem.I cant clone a device or create a new hardware profile from the avd manager.It shows an error message saying "null".I'm able to click next,finish and also select devices.Yes I did try cloning by right clicking the phone profile too but I got the same error.It does open the explorer to import hardware profiles though.Please help me for free kappa!(seriously please help me)
this is the error message details btw:
null
java.lang.NullPointerException
at com.android.tools.swing.util.FormScalingUtil.scale Component(FormScalingUtil.java:183)
at com.android.tools.swing.util.FormScalingUtil.scale ComponentTreeWorker(FormScalingUtil.java:140)
at com.android.tools.swing.util.FormScalingUtil.scale ComponentTree(FormScalingUtil.java:111)
at com.android.tools.swing.util.FormScalingUtil.scale ComponentTree(FormScalingUtil.java:98)
at com.android.tools.idea.avdmanager.ConfigureDeviceO ptionsStep.<init>(ConfigureDeviceOptionsStep.java: 97)
at com.android.tools.idea.avdmanager.CloneDeviceActio n.actionPerformed(CloneDeviceAction.java:46)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.jav a:6535)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3324)
at java.awt.Component.processEvent(Component.java:630 0)
at java.awt.Container.processEvent(Container.java:223 6)
at java.awt.Component.dispatchEventImpl(Component.jav a:4891)
at java.awt.Container.dispatchEventImpl(Container.jav a:2294)
at java.awt.Component.dispatchEvent(Component.java:47 13)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4466)
at java.awt.Container.dispatchEventImpl(Container.jav a:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750 )
at java.awt.Component.dispatchEvent(Component.java:47 13)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:758)
at java.awt.EventQueue.access0(EventQueue.java:97)
at java.awt.EventQueue.run(EventQueue.java:709)
at java.awt.EventQueue.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 76)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 86)
at java.awt.EventQueue.run(EventQueue.java:731)
at java.awt.EventQueue.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEven t(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeE ventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEv entQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:109)
at java.awt.WaitDispatchSupport.run(WaitDispatchSup port.java:184)
at java.awt.WaitDispatchSupport.run(WaitDispatchSup port.java:229)
at java.awt.WaitDispatchSupport.run(WaitDispatchSup port.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSup port.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl $MyDialog.show(DialogWrapperPeerImpl.java:792)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl .show(DialogWrapperPeerImpl.java:465)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(D ialogWrapper.java:1638)
at com.intellij.openapi.ui.DialogWrapper.show(DialogW rapper.java:1587)
at com.intellij.openapi.ui.DialogWrapper.showAndGet(D ialogWrapper.java:1602)
at com.android.tools.idea.wizard.dynamic.DynamicWizar d.showAndGet(DynamicWizard.java:531)
at com.android.tools.idea.avdmanager.CreateAvdAction. actionPerformed(CreateAvdAction.java:41)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.jav a:6535)
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3324)
at java.awt.Component.processEvent(Component.java:630 0)
at java.awt.Container.processEvent(Container.java:223 6)
at java.awt.Component.dispatchEventImpl(Component.jav a:4891)
at java.awt.Container.dispatchEventImpl(Container.jav a:2294)
at java.awt.Component.dispatchEvent(Component.java:47 13)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4466)
at java.awt.Container.dispatchEventImpl(Container.jav a:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750 )
at java.awt.Component.dispatchEvent(Component.java:47 13)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:758)
at java.awt.EventQueue.access0(EventQueue.java:97)
at java.awt.EventQueue.run(EventQueue.java:709)
at java.awt.EventQueue.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 76)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 86)
at java.awt.EventQueue.run(EventQueue.java:731)
at java.awt.EventQueue.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEven t(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeE ventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEv entQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)



Wednesday, 27 July 2016

[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Wileyfox Swift



Creating custom splash.img for Wileyfox Swift:

Note:
This is not bootanimation, this is the splash screen (the 'Wileyfox' logo which is displayed when device is switched ON)
This is for Wileyfox Swift only..

Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..

STEPS:




1. Make sure you have a picture for your custom splash with:
i. Resolution: 720x1280
ii. PNG or JPG format
iii. picture size less than 200kB
iv. less colorful

(Tip: Try compressPNG.com to reduce no. of colors in PNG picture.
Upload your picture, click Settings, reduce number of colors to 16 or below & download it)

2. Download this tool to your computer: CM_Splash_Maker.zip
And extract it.

3. Drag & drop your splash picture on the file "CREATE_Logo.bat" & select your device.

4. After the custom splash image (filename.img) is created, the output directory will be opened..

5. Transfer the filename.img to the device's internal storage & flash it using Terminal Emulator like:

Code:


dd if=/sdcard/filename.img of=/dev/block/bootdevice/by-name/splash

(Or you can flash it from fastboot as given below)




Note:
Incase you flashed & your device doesn't bootup, don't worry ;)
Just flash the original splash.img from fastboot like:

Code:


fastboot flash splash splash.img

Credits:
1. Based on my original tool for Yu devices here..
2. @GokulNC (myself ;)) who created this tool..
3. @beroid (who provided the stock splash.img & tested this).


Hit the Thanks :good: button if it worked for you ;)

You're welcome to post the custom splash screens that you made :)







Thursday, 14 July 2016

How to create an android update?



Hello everyone.
I want to know how to create an adroid update myself?
I use an LG optimus Lte2. Its a korean phone and its stuck on android 4.1.2. I want to know the way to create an android update to kitkat myself. I know there has to be a way. Coz the mobile company also makes the updstes. So if they can then theres a way. I would be very very thankful if someone can tell me a way to do this.

I desperately need to find a way for this and to update my mobile's android version to kitkat.



Can't create an APN



I use an old HTC Sensation running Android 4.0.3 to hold my French SIM card when I travel to France. Clicking on Access Point Names opens a window where I see APNs written at the top but I have no way of adding one, the window is totally black and pressing on the title APNs doesn't do anything.



Tuesday, 5 July 2016

[Photo Copyright] easy to Create watermark on Image/ Photo (no limit size of Photo)



Watermark Image/ Photo Free is the most effective App for creating photo watermark.
It can help you protect copyright on the images quickly and easily .
It supports a lot of features:
+ No limit size of the exported photo
+ No limit user text fonts
+ Change the Text Watermark:
- Rotation (360 degrees)
- Color
- Font (24 default fonts + no limit user fonts)
- Size (zoom in, zoom out)
- Position
- Transparency
+ Change Watermark Image:
- Rotation (360 degrees)
- Size (zoom in, zoom out)
- Position
- Transparency
+ Show original photo:
- ZoomIn (Gesture)
- ZoomOut (Gesture)
- Move (Gesture)
+ Reload the last Watermark
+ Automatically create Watermark for photo folder

+ Restrictions of the free version:
- Up to 10 photos for "Automatically create Watermark"
NOTE:
- Do not open a very large picture ( > 6M pixel ) if your device is not powerful enough
Google download link: https://play.google.com/store/apps/d...rmarkPhotoLite




Monday, 4 July 2016

[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Redmi 2



Note:
This is not bootanimation, this is the splash screen (the 'Lenovo' boot logo which is displayed when device is switched ON)
This is for Redmi 2 Only.. I don't know about Redmi 2A/2S Prime.. (Please send the splash.img of 2A/2S/Prime if you want me to check if it'll work on your device)

Requirements:
1. Rooted Redmi 2 (any ROM)
2. Terminal Emulator app

STEPS to create splash.img:




Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..

1. Make sure you have a 720x1280 picture in PNG format.

2. Download & Extract this: Redmi_2_Splash_Maker.zip

3. Now rename your picture as splash.png & replace it inside "pics" folder of the extracted folder.
(Similarly you can also change splash2.png if you wish to change the picture of fastboot)

4. Finally, run the 'Create_Splash.bat' to create splash.img , which you can find inside the "output" folder.




STEPS to flash splash.img:




1. Transfer the splash.img to your device's Internal Storage.

2. Open Terminal Emulator & enter the following to flash it:

Code:


su
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash


(You can also flash from fastboot as given below)

Note:
Incase something goes wrong or device doesn't bootup, flash the stock splash.img from fastboot like:

Code:


fastboot flash splash splash.img





Credits:
1. @GokulNC (myself ;)) who wrote this script
(This one is just a copy from my thread here: [GUIDE] How to Create Custom Splash Screen for Lenovo A6000)
2. @kumajaya for the stock splash.img of Redmi 2

Hit the Thanks :good: button if it worked for you :)

You're welcome to post the splash images that you created..














Attached Files






File Type: zip Redmi_2_Splash_Maker.zip -
[Click for QR Code]
(11.76 MB)







Sunday, 3 July 2016

[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Lenovo A6000



Note:
This is not bootanimation, this is the splash screen (the 'Lenovo' boot logo which is displayed when device is switched ON)
This is for Lenovo A6000 & A6000 Plus Only..

Requirements:
1. Rooted Lenovo A6000 or A6000 Plus (any ROM)
2. Terminal Emulator app

STEPS to create splash.img:




Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..

1. Make sure you have a 720x1280 picture in PNG format.

2. Download & Extract this: Lenovo_A6000_Splash_Maker.zip

3. Now rename your picture as splash.png & replace it inside "pics" folder
(Similarly you can also change splash2.png if you wish)

4. Finally, run the 'Create_Splash.bat' to create splash.img , which you can find inside the "output" folder.




STEPS to flash splash.img:




1. Transfer the splash.img to your device's Internal Storage.

2. Open Terminal Emulator & enter the following to flash it:

Code:


su
dd if=sdcard/splash.img of=/dev/block/bootdevice/by-name/splash


(You can also flash from fastboot as given below)

Note:
Incase something goes wrong or device doesn't bootup, flash the stock splash.img from fastboot like:

Code:


fastboot flash splash splash.img





Credits:
1. @GokulNC (myself ;)) who wrote this script
2. @mshoaib7 who provided the stock splash.img of A6000







Friday, 1 July 2016

Create a full backup to recover from without root



I have a LH H343/Risio. I want to root it so I can use my sd as internal storage. I can't find anu specific ways of rooting, so I was just going to use kingroot one click. But I am worried about bricking my phone. I have read around thay your an create an image to recover from if you brick it. Honestly, I am not sure how to even recover if it does happen, it is impossible to find any info breaking it all down. But I figure I should make an image just in case. But I can't find any way to make an image without root, which defeats the whole idea of having an image to restore from if I brick in the process of rooting. So what I am looking for os comprehensive guides to.
1. Rooting LG H343/Risio
2. Making an image to recover from without root.
3. How to restore from that image if I brick my phone

Sorry for the noob questions, but I have beem searching all day and can't find anything solid that makes me confident in what I'm doing.

Thanks a ton!