Affichage des articles dont le libellé est Guide. Afficher tous les articles

Q&A for [GUIDE] Xposed Framework On Samsung Lollipop ROMs

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [GUIDE] Xposed Framework On Samsung Lollipop ROMs. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)





[GUIDE] Xposed Framework On Samsung Lollipop ROMs
You will need the following:

Edit core-libart.jar
Edit services.jar
Donwload XposedInstaller_3.0-alpha2.apk, xposed-sdk21-arm.zip at http://forum.xda-developers.com/show....php?t=3034811
Step 1: Extract core-libart.jar.zip (attachment) and copy all files to core-libart.jar.out/smali/. Recomplie core-libart.jar

Step 2: Search all files in services.jar.out/smali contain this string:
Code:
Ljava/lang/String;->clear()V
And remove all lines contain string above. Recomplie services.jar

Step 3: Install XposedInstaller_3.0-alpha2.apk.

Step 4: Reboot to recovery, flash all modified files and xposed-sdk21-arm.zip.

Step 5: Reboot and enjoy

Tested on DarkLord S6 Port for Galaxy Note 3.

this is @darkera13 work ... tank u bro for ur hard work





You will need the following:


Quote:









  • Edit core-libart.jar

  • Edit services.jar

  • Donwload XposedInstaller_3.0-alpha2.apk, xposed-sdk21-arm.zip at here






Step 1: Extract core-libart.jar.zip (attachment) and copy all files to core-libart.jar.out/smali/. Recomplie core-libart.jar

Step 2: Search all files in services.jar.out/smali contain this string:

Code:


Ljava/lang/String;->clear()V

And remove all lines contain string above. Recomplie services.jar

Step 3: Install XposedInstaller_3.0-alpha2.apk.

Step 4: Reboot to recovery, flash all modified files and xposed-sdk21-arm.zip.

Step 5: Reboot and enjoy :)

Tested on DarkLord S6 Port for Galaxy Note 3.









Sent from my XOLO A600 using xda app-developers app





I Hope This Guide Is Working For You



In Some Rom That We are Porting It To Our Device The Screen Resolution Is Not Matched With Our Device Resoulition So This Guide Will Help you.

Prereqierd»
: Your Phone Must Be Rooted.
: Root Browser Installed
: Little bit Kwnoledge About Your Rom.


Lets start..

Goto Root browser
System»»Built.prop

In Additinol Build properites
A line like it
ro.sf.lcd_density =240
"240" or other Is the value of your resolution screen

Just change your new rom Density with your Stock Rom Densitiy Value

Thats it
Done!!!!!!!




If This Guide Work For You Hit A big Thanks:thumbup:





XDA:DevDB Information
Droidbuster Fabulous Fabs, Device Specific App for all devices (see above for details)

Contributors
Droidbuster, Droidbuster

Version Information
Status: Stable
Current Stable Version: v1

Created 2015-05-20
Last Updated 2015-05-20





As an Android newbie, what bothered me most was coming across terminology beyond my comprehension. Not coming from a Linux background it became hard to keep up with the oh-so-commonly-used words spread all across the development community. Likewise, since I didn’t understand the terms, consequently I was unable to determine is something was of any use to me or not. From what I have seen, this problem extends to many novice and even average users.

One commonly occurring word when playing with custom ROMs and firmware, and even themes is deodexed and odexed. Most users fail to understand what these terms actually imply, and while developers would boast again and again about their themes and ROMs being deodexed, the average user is left clueless as to what is going on.


WHAT IS AN ODEX FILE?

In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.

THEN COMES DEODEX

Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.

In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.


HOW THIS WORKS

For the more geeky amongst us, Android OS uses a Java-based virtual machine for running applications, called the Dalvik Virtual Machine. A deodexed, or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK. An .odex file, on the other hand, is an optimized version of this same .dex file that is stored next to the APK as opposed to inside it. Android applies this technique by default to all the system applications.

Now, when an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.

By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages. Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.


ADVANTAGES & DISADVANTAGES

The advantage of deodexing is in modification possibilities. This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first, since that would not only allow him to modify various APKs, but also leave room for post-install theming.

On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times. However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used. Longer boot times may only be seen again if the dalvik cache is wiped for some reason.

For a casual user, the main implication is in theming possibilities. Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.


Was this article helpful? If you are confused with some other terms and want us to help explain them, please let us know in the comments.





INTRODUCING

Hello Xperia Community
I just want to share how to understanding your Android and become advance user, this thread meant that every member at xda-developers can improve their experiance on Android in XDA.

NOTE : That this guide is for ROOTED PHONES!

INDEX

1. Manage Your Android Applications in storage
3. How to PORTING SONY Applications into your current ROM
4. How to make Stock Firmware FTF for your Xperia
5. How to make System Dump from scratch
6. Analizing App Force CLose and how to fix it


CREDITS
I would like to mention
@serajr for my smali teacher
@ibanez7 my brother for always help if i stuck on Theming

and all member that posting any other guide on xda





This is primarily for those of you who have a Grandfathered Unlimited Data Plan with Verizon Wireless and would like to not have to pay for tethering while we wait for customs roms. I apologize in advance for not being able to post links. The required files are attached.
  1. If you are not already rooted, please follow GigaSPX's guide on how to root your Z3v.

  2. Please download and install wifi_tether_v3_1-beta14.apk from code.google.com/p/android-wifi-tether/downloads/list

  3. Open the installed app and verify that Disable Update-Check is selected under settings

  4. Press the big button to start tethering. Click grant when prompted for root access. The big button will turn yellow. Press it again to stop tethering. You will get a bunch of errors during this process, this is normal. This will install the required binaries and config files to /data/data/com.googlecode.android.wifi.tether/

  5. Restart your phone.

  6. Verify that tether.edify is located in /data/data/com.googlecode.android.wifi.tether/conf/ using root explorer or another file manager of your choice. If it does not exist repeat the above steps.

  7. Replace tether.edify with my modified version located in the attached tether.7z archive.

  8. You can now tether over wifi using this app.


NOTE:
  • Enable WiFi-Encryption does not work.

  • Enable Access-Control does work and can be used to prevent unauthorized access to your network.










Greetings,
My friend own a Grand duos and he is on android 4.2.2 (rooted) and wants to install a Blisspop.). So i wanted to know that what to do before flashing it.I mean,flash it over the current rom or??





Splash Screen Creation!!!
I have unlocked bootloader and S-OFF. (The attached android-info.txt is for the Sprint Variant only)
per usual, not responsible for bone-headed ness
I'll be uploading some created ones in Post #2...

You will need:
  • benny3's Image Converter (extracted in a project folder)

  • an image in the dimensions of 1080x1920 (can be .png, .jpg, .bmp)

  • latest Attachment 3317520

  • **optionally** Photoshop, GIMP, Paint (I guess this could work. eek)

Steps to make your HTC One not blind you upon a restart...
  1. Edit photo to liking

  2. MAKE SURE IMAGE IS THE CORRECT SIZE ---> [ 1080x1920 ] <---

  3. Open benny3's converter FOLDER, copy image to the 'place-image-here' folder

  4. Run CLICK-HERE.BAT

  5. Convert .jpg (.bmp, .png) to .img, close upon completion

  6. copy custom.img(from place-image-here folder) to Project Folder, rename file to splash1.nb0

  7. copy android-info.txt to same Project Folder

  8. Zip/Archive these two files (I use winRAR), archive format MUST be .zip

  9. Copy ProjectFolder.zip to sdk directory (wherever your fastboot command is located)

  10. Reboot into Download Mode

  11. type: fastboot devices (make sure device is attached)

  12. type:

    Code:


    fastboot oem rebootRUU
    fastboot flash zip ProjectFolder.zip
    fastboot reboot



Enjoy
Thanks to @schmeggy929, @SoLdieR9312, @benny3 for the tool and the community for the information :good::good:














Attached Files





File Type: txt android-info.txt -
[Click for QR Code]
(444 Bytes)









Hi! I'm back for making a new guide for ya! :D

In this thread, i'll tell you how to Add Extra Informations that like TeslaROM based CyanogenMod!



Okay here we go!



Guide Add Extra Information di Settings.apk!



Recuirements:

- Apktool v1.5.2

- Knowing what is Compare



- Merge all files to its places

- Then add this in res/drawable/xml/DeviceInfoSettings.xml -->



<PreferenceScreen android:title="@string/teslaextrainfo" android:key="extrainfo" android:summary="@string/teslaextrainfo_summary">

<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.tesla.ex trainfo.MainActivity" />

</PreferenceScreen>



- Now add this in AndroidManifest.xml -->



<activity android:theme="@*android:style/Theme.Holo.Dialog.NoActionBar.MinWidth" android:name="com.android.settings.tesla.extrainfo .MainActivity">

<intent-filter>

<action android:name="android.intent.action.MAIN" />

</intent-filter>

</activity>



- Next add this in res/drawable/values/strings.xml -->



<string name="teslaextrainfo">Extra information</string>

<string name="teslaextrainfo_summary">Display extra info for cpu, display, etc</string>



- Recompile dan Sign

- Decompile your Settings.apk again

- In here we must compare the ID in Public.xml to smali for work!

- Open smali/com/android/settings/tesla/extrainfo/MainActivity.smali

- Search code with "0x7"

- 0x7f0400d6 --> extrainfo_layout.xml

(layout)

- 0x7f0802bc --> mainLinearLayout (id)

- Then compare dan paste that code to ID Public.xml to smali

- Next Recompile and Sign

- And push!



If this guide doens't work on your Device, pls make sure post the log in comments so i will know and try to fix it :)



Thanks to:

- Allah SWT

- Prophet Muhammad SAWW

- My GF :D



Download:

Settings Files



Credits:

- Cyanogen Team (Big thanks for you for helping me!)

- TeslaROM

- AICP

- AOKP

- PAC-ROM

- GzROM

- ROM that based CyanogenMod!

- Jawaad Saeed for making original guide!








A quick video guide to unroot/unbrick Galaxy S6 Edge!



Download needed files and other information: http://www.androidrootz.com/2015/05/...d-s6-edge.html





This is a guide for XPERIA ACRO S (other xperia users can also reffer needed information)

I make this guide for noobs as there weren't such guide (even for my first time of flashing ROM I didn't get any such guide, so I decided to make one)

This Guide is especially for flashing BPaul's 5.1.1 ROM

So here Iam giving detail process to install Bpauls 5.1.1 with every links needed.

we are going to take below steps;

1. unlocking bootloader
2. flashing kernel with recoveries
3. backing up stock rom
4. installing bpauls 5.1.1

Special Thanks;

@BPaul (for awesome ROM)
@cobrato (for stock kernel)
@jajb (for gapps)


NOTE: I'AM NOT RESPONSIBLE IF YOU DAMAGED YOUR PHONE BY CROSS FLASHING OTHER ROMS,KERNELS ETC.
BELOW PROCESS IS SUCCESSFULLY CARRIED ON XPERIA ACRO S. AS NOOBS CAN MAKE MANY MISTAKES
I'AM NOT RESPONSIBLE FOR YOUR DAMAGE. -DO AT YOUR OWN RISK-



-Here we START-

*_UNLOCKING BOOTLOADER_*

(unlocking bootloader will erase everything on your phone, i suggest you to take backup of your data)

First of all you need to take unlocking code from official sony website (link below)

developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/

after clicking on above link, on the page scroll down

1.select your device

2.provide your imei

3.you'll get unlock code (save it properly)

Next you need to download minimal adb and fastboot (link below)

https://drive.google.com/file/d/0B1S...akE/view?pli=1

install it to your computer.

Now we have to connect phone in fastboot mode, follow below steps

1.Turn on usb debugging mode.

(setting > developer option > usb debugging)

2.Turn Off your Xperia Acro S

3.Press and Hold volume up button and then connect usb to computer.
(If you see Blue LED of phone, then everythis is going right)
(Let your computer install essential fastboot drivers)

Now open minimal adb and fastboot (we installed previosly)
Type below command

-fastboot devices

-fastboot -i 0x0fce oem unlock 0x(your unlock code without this brackets)

-fastboot reboot

DONE

(Now you have successfully unlocked your bootloader)


*_FLASHING KERNEL WITH RECOVERY'S_*

As you have STOCK ROM, you need to flash STOCK KERNEL with recoveries (link below)

forum.xda-developers.com/showthread.php?t=2309117

-The above kernel cantain CWN as well as TWRP

After opening above link, download respective kernel
Save the above downloaded kernel to fastboot folder on your computer.

-Get into fastboot mode and connect to computer

Now open minimal adb and fastboot (we installed previosly)
Type below command

-fastboot devices
-fastboot flash boot kernel_62B196_acroS.elf
-fastboot reboot

DONE

(Now you have successfully flashed kernel with recovery)


*_BACKINGUP STOCK ROM_*

As you have successfully flashed kernel with recoverys, its easy to take a full backup of your system.
To enter into recovery follow below steps

1.To get into CWM reboot your phone, press volume up key for few times when the magneta LED appears.
(To navigate use volume buttons, for selecting use power button)

2.To get into TWRP reboot your phone and tap the screen for few times when the magneta LED appears.

3.Select Backup.

DONE

(Now you have successfully Backedup your ROM)


*_FLASHING ROM BPaul's 5.1.1_*

For Flashing This ROM your phone (Xperia Acro S) needs to be rooted (if your not, use towelroot app, for me it was the easiest way to root my phone)
and USB Debugging in developers option should be enabled.


A] Download ROM BPaul's 5.1.1 (link below)

forum.xda-developers.com/showthread.php?t=2799765&page=54#post60570826

-Extract the above downloaded ROM to your computer
(you'll see 2img files and 2recoveries)



B] Here you need to download acro s kernel (link below)

d-h.st/nJXM



C] Download below minimal GApps for 5.1.1 and copy it to your sdcard/ext_sdcard(link below)

forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330

(keep this downloaded kernel to above extracted folder)

Now to flash this rom you need to download FLashtool (link below)

d-h.st/Kb8

install the above downloaded Flashtool to your computer.

1.Now to flash recovery open the extracted ROM, and open recovery folder (2recoveries)

2.Pick your Recovery CWM or TWRP (TWRP Recommended) and copy it to internal storage of your phone.

3.Open minimal adb and fastboot

Type below command;

-adb shell
-su
(confirm popup su request from your phone)
-dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p11 OR dd if=/sdcard/cwm.img of=/dev/block/mmcblk0p11

Now you need to flash 2img files, to do so follow below steps

1.Open Flashtool

2.Click Flash button (Lightning icon, top left)

3.Select Fastboot mode

4.Reboot phone to fastboot (power off phone>push vol up key and connect usb)

5.Now in flashtool select SYSTEM to flash and open system.img (wait for 6 minimum minutes)

6.Now select KERNEL to flash and open boot_07_05_15.img

7.Now select REBOOT DEVICE INTO SYSTEM.

8.Open your respected recovery (CWM or TWRP)

9.Install>your downloaded gapps from sdcard/ext_sdcard

10.Wipe cache + Dalvic cache + Factory reset

11.Reboot

DONE
(You have successfully installed BPaul's 5.1.1)





ONE CLICK METHOD TO ROOT LG OPTIMUS L90

In this tutorial we will use the Windows computer. This method should work on any LG official firmware (Kitkat 4.x.x / Lollipop 5.x.x). I am not responsible for any gain or loss incurred as a result of following this guide. Root your device at your own risk.

Preparation

Make sure your phone battery is charged to 70% or more
Enable USB Debugging, by open Settings > Developers Option > USB Debugging
If Developers Option is hidden, go to Settings > General > About phone > Common > Software info (tap on it for 5-8 times)
Download and Install the LG USB Driver on the PCDownload and extract the LG One Click Root
ONE CLICK METHOD TO ROOT LG OPTIMUS L90 D415:
  • Connect your device with computer

  • Run One Click Script by double-clicking the LG Root Script.bat file

  • This will open a command window. Follow the instructions.

CMD
  • Wait until the root process is complete.

  • If the SuperSU App exist on your Application Menu on your smartphone it means you’ve succesfully rooted your device.

SuperSU

Caution!
If the phone not recognize, try to switch between MTP and PTP options.
If you got “MSVCR100.dll is missing” error, install Visual C++ Redistributable.
Download: 32 bit / 64 bit.

For more details, please watch following video:



Congratulation! Now your LG Optimus L90 D415 was rooted. You can verify that your LG Optimus L90 D415 is successfully rooted or not by downloading Root Checker App on Play Store. Hopefully the tutorial of One Click Method to Root LG Optimus L90 D415 useful for you. Source: Smartphone Clinic

I DO NOT TAKE CREDIT FOR ANY PROGRAMS OR SCRIPTS IN THIS THREAD