[MOD] Overscroll Effect and CRT Screen off animation for GALAXY FIT S5670 - Samsung Galaxy Fit GT 5670

Overscroll Glow MOD for Gingerbread Galaxy FIT S5670
Only for DEODEXED ROM.
For CRT screen off animation see post 2.
Source works with all Gingerbread Firmwares.!!
Here is the Overscroll Glow effect for GALAXY FIT running on Gingerbread similar to the one in CM7 and stock Gingerbread. dhiru1602 have ported the Functions and Code required for the Overscroll Glow to Gingerbread Stock firmware XXKPG and XWKPI. I made the Modifications to smali files to make it work in G-FIT with the help of dhiru1602. Thanx to him.
Note: Few Touchwiz apps that have "Swipe to Message or Call Feature" will have the default scrolling and this MOD doesn't take effect for such Scroll Lists, since this feature is a part of Touchwiz and not Stock Android. Its hardcoded directly in the APK and they would require appropriate edits which is not a part of this MOD. All the regular Android Scrolling Lists will have Overscroll Glow.
For Developers and Themers
There is an important thing to note. Some Touchwiz applications use calls to inbuilt scrolling functions, hence it is important to preserve the old functions so that scrolling in few TW Apps works fine.
1. Extract the Classes.dex from framework.jar (Use a Framework.jar with Extended Menu as a Base)
2. Use baksmali to decode the DEX file to .smali files.
3. Download the ZIP package and extract the files inside android/widget/
4. Use smali to recode the edited .smali files to a DEX file.
5. Use a file manager to add the newly created DEX file to the framework.jar
6. Copy the framework.jar to your device and reboot.
If you are facing problems with overscroll effect like white background or some other image instead of glow then You might need to change the Resource ID's for the Overscroll PNG Images
AbsListView.smali: (line 10884 and 10892)
.line 666
.local v2, res:Landroid/content/res/Resources;
const v3, *Resource ID of overscroll_edge.png*
.line 667
.local v0, edge:Landroid/graphics/drawable/Drawable;
const v3, *Resource ID of overscroll_glow.png*
Click to expand...
Click to collapse
Click to expand...
Click to collapse
For Users [DEODEXED XXKPG, XWKPI ROM ONLY]
ADB Method:
Download the framework.zip file and copy the file inside the zip to ur sdcard.(not in any folder)
use these commands:
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/framework.jar /system/framework/
reboot
Click to expand...
Click to collapse
Recovery Method:
Download the overscroll.zip
copy it to sdcard
now restart in recovery mode(switch off ur device and hold middle(OK) button and power on)
now select "apply update from sdcard" option.(press vol down button to navigate through options)
select overscroll.zip u just copied to sdcard
wen its complete select "reboot system now" option.
Click to expand...
Click to collapse
Initial boot will take sometime. So please be patient.
Click to expand...
Click to collapse
Changing the Glow Color
Change the png's in framework-res.apk.
overscroll_edge.png
overscroll_glow.png
Click to expand...
Click to collapse
Thanks to dhiru1602 who ported this mod to SGS. I used the same source and made it possible for G-FIT. All credits goes to dhiru1602 and some for me for making it available for G-FIT.
Tested on XXKPI and XXKPG. If u face any issues them reply here. i wil try to help u. THANX.
SCREENSHOT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I accept no responsibility for your bricked or non functional device from using this MOD. Use it with caution.
If u like this dont forget to press thanks button.

CRT Animation for GALAXY FIT S5670
CRT Screen off animation for GALAXY FIT Gingerbread.
In SAMSUNG GINGERBREAD ROM this animation is disabled by default but code for this still present.
So Here are the steps to enable it in SAMSUNG FIT:
Only for Stock ROM. Follow this step Only if u r having stock ROM and Stock theme as this file contains stock res. Otherwise skip this step.
Download the CRT ANIM.zip and extract it to ur sdcard.
And follow these steps.
ADB Commands:
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
stop
cp /sdcard/framework-res.apk /system/framework/
cp /sdcard/build.prop /system/
reboot
Click to expand...
Click to collapse
Click to expand...
Click to collapse
For developers :
1. Get apk manager
2. Put framework-res.apk in "modding" folder
3. Run apk manager, decompile (option 9)
4. Go into projects\framework-res\res\values\bool.xml
5. Make config_animateScreenLights to false
6. Go back to apkmanager and select compile.
7. Say y
8. Say y
9. Delete resources.arsc from keep folder
10. Enter in apkmanager again
11. U'll find unsignedframework-res.apk in "modding" folder
Click to expand...
Click to collapse
For users :
Copy the unsignedframework-res.apk to your sdcard and rename it to framework-res.apk.
It should be in root of ur sdcard.(not in any folder)
Code:
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
Click to expand...
Click to collapse
Click to expand...
Click to collapse
And at last u need to modify the build.prop
Pull it from ur mobile or use the one i attached. It is inside the CRT ANIM.zip file.
Open the build.prop file in any Text editors (i used notepad++) find "debug.sf.hw=1" and add # (making it comment) at first.
It should look like this:
#debug.sf.hw=1
And save.
Now copy it to ur sdcard and then use
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/build.prop /system/
reboot
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Now the Screen off animation should work.
Thanks to Daneshm90 who made this Guide. I made it to work on G-FIT.
Credits to Daneshm90 and to me for small changes.
If u like this post Then Please dont forget to press Thanks Button.
I am not responsible for any damage. Dont blame me if u didnt follow the steps correctly.

Nice work, over scroll looks too overdone..Maybe its the .png size in the framework, I'll Photoshop it to look smaller

which other overscroll colours are available and how do i change it???

thnx... btw hw did ya change d notification bar icons??? metamorph themes?

dint work on xxkpi :/

TRIED D ADB METHOD.. UNZIPPED D FRAMEWORK.JAR TO SD.. BUT ON PUTTING cp /sdcard/framework.jar /system/framework/ IT SAYS FRAMEWORK.JAR NOT FOUND

My rom is s5670xxkpi... Nw is it deodexed or d stock rom??????

xm2406 said:
TRIED D ADB METHOD.. UNZIPPED D FRAMEWORK.JAR TO SD.. BUT ON PUTTING cp /sdcard/framework.jar /system/framework/ IT SAYS FRAMEWORK.JAR NOT FOUND
Click to expand...
Click to collapse
did u unzipped the jar file or zip file? u need to have framework.jar file in sdcard. dont extract the jar file...

xm2406 said:
My rom is s5670xxkpi... Nw is it deodexed or d stock rom??????
Click to expand...
Click to collapse
XXKPI is stock rom and u need to deodex it manually. This mod have deodexed files....

xm2406 said:
dint work on xxkpi :/
Click to expand...
Click to collapse
U might have missed something. check the steps again. its tested on XXKPI in my phone.

reply
vishwanathptl said:
did u unzipped the jar file or zip file? u need to have framework.jar file in sdcard. dont extract the jar file...
Click to expand...
Click to collapse
i unzipped the zip file to d sdcard.... i hv d framework.jar on d sd.. still no luck...
i use better terminal emulator... even tried changng d sd.. nothng seems to work

reply
vishwanathptl said:
did u unzipped the jar file or zip file? u need to have framework.jar file in sdcard. dont extract the jar file...
Click to expand...
Click to collapse
by the recovery method it says succesfull but i c no overscroll effects!

wth!
vishwanathptl said:
XXKPI is stock rom and u need to deodex it manually. This mod have deodexed files....
Click to expand...
Click to collapse
hw do i de-odex?
http://wiki.sdx-developers.com/index.php/How_to_deodex_a_ROM ???????????????
man too complicated!

bro u did not reply me here
http://forum.xda-developers.com/showthread.php?t=1110591

xm2406 said:
hw do i de-odex?
http://wiki.sdx-developers.com/index.php/How_to_deodex_a_ROM ???????????????
man too complicated!
Click to expand...
Click to collapse
SORRY FOR LATE REPLY. I WAS BUSY.... DIDNT HAD TIME TO CHECK MY THREADS....
to deodex simply use xUltimate.... and GUIDE is here. In that guide skip step 5. Its not for our phone....

After deodex
Hi,
I just wanted to ask you that after I deodexed my G-Fit (XXkpi) my android doesn't work. I installed market externally but it doesn't open. It shows a white screen and closes. Also superuser app also force closes everytime !!

invincible authority said:
Hi,
I just wanted to ask you that after I deodexed my G-Fit (XXkpi) my android doesn't work. I installed market externally but it doesn't open. It shows a white screen and closes. Also superuser app also force closes everytime !!
Click to expand...
Click to collapse
guys wai for some time.... i wil post a basic deodexed, jit enables and all my mods included rom here... then all of u wil get deodexed rom....

vishwanathptl said:
guys wai for some time.... i wil post a basic deodexed, jit enables and all my mods included rom here... then all of u wil get deodexed rom....
Click to expand...
Click to collapse
That'll be awesome !!!
Will wait eagerly........

Manange app block on this theme some metode to work manange app?

Related

[Guide]How to mod a stock kernel (add adb root, init.d & bootanim support)

How to mod a stock kernel Tutorial (with Windows)
by: broodplank1337
​
In this tutorial I will explain how to unsecure a kernel and how to add init.d / custom bootanimation support to a stock kernel, in this tutorial we will be using Cygwin as shell, with Dsixda's Android Kitchen.
Requirements:
- Cygwin with Packages and Dsixda's Android Kitchen
- JRE or JDK
- Winrar
- A stock Kernel
- Some common sense
Chapters:
1. Getting the kernel
2. Setting up Cygwin
3. Setting up the Kitchen
4. Modifying the Kernel
5. Testing results
Chapter 1. Getting the Kernel
Since the kernel that you are going to use is a stock kernel, it can be found within the latest stock firmware. for example for the i9001, I have this Odin flashable: "I9001XXKQE_I9001ATOKP3_I9001XXKPL_HOME.tar.md5". Open this file with Winrar and you will see the boot.img in there, just extract it and your currently done. It may also be a zImage!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Chapter 2. Setting up Cygwin
The Cygwin package you downloaded needs to be extracted, the default folder of a Cygwin installation is: "C:\cygwin". This is recommended in most cases. Once unpacked navigate to the "home" folder. In this home folder you need to create a folder that has the same username as your current windows username. Once you made that folder you have to extract the contents of "kitchen.rar" to that folder. So you will get a folder structure like this: C:\cygwin\home\username\kitchen
Chapter 3. Setting up Kitchen
Go to the original_update folder (located in: C:\cygwin\home\username\kitchen) and open dummyrom.zip with Winrar, now move your own boot.img inside the zip and choose "Store" as compression, Press ok to update the archive. If you have an zImage instead, please remove the boot.img from the archive first. Now browse to the system folder inside the archive and replace the build.prop with a build.prop from your phone. Also choose "Store" as compression and update the archive.
Starting the Kitchen:
1. Open Cygwin (X:\Cygwin\Cygwin.bat)
2. Once loaded, enter: "cd kitchen" > Enter
3. now type "sh menu" The kitchen menu will now start...​
Setting up a working folder:
1. Press 1 > Enter
2. Press Enter and wait...
3. Choose (1) dummyrom.zip > Enter
4. Choose "y" > Enter > Enter a new name (I chose WORKING_KERNEL) > Enter
(now wait until the zip is extracted)
5. Choose 2 > Enter
6. Enter to return to main menu​
Chapter 4. Modifying the Kernel
Unsecuring the kernel (to use properly with ADB)
1. Press 2 > Enter (to add root permissions)
2. Press "s" > Enter (now wait until the process is done)
3. Press Enter to return to main menu​
Adding init.d support (for using startup scripts in /system/etc/init.d)
1. Press 0 > Enter
2. Press 17 > Enter (to add init.d support)
3. Enter "y" > Enter (now wait until the process is done)
4. Press Enter to return to main menu​
Adding custom bootanimation support
Since the bootanimation support is already inside the dummyrom.zip file, you don't need to add it again.
Chapter 5. Testing the results
Now you will find a working boot.img / zImage under: C:\cygwin\home\username\kitchen\WORKING_KERNEL\
You can copy this file directly to your phone but it won't have bootanimation support.
That's why you need to enter in the Kitchen menu:
1. Press 99 > Enter
2. Press 1 > Enter
3. Press "n" > Enter
4. Press "y" > Enter
5. Press "y" > Enter > "EnterANewZipName" > Enter
6. Now your cwm zip will be located at: C:\cygwin\home\username\kitchen\OUTPUT_ZIP​
The zip that can be found in the directory above can be flashable in CWM. Ejoy your own stock kernel with init.d/bootanimation support!
Great tutorial! Btw, this works also with cm9 kernels?
Sent from my GT-I9001 using xda premium
Third post reserved for further use.
Just joking.You should make a tutorial to teach.us how to make an overclocked kernel and so on.
Btw nice tutorial from a great dev.
RyanJWZ said:
Great tutorial! Btw, this works also with cm9 kernels?
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
Thank you
And honestly I have no idea if it's working on CM9 kernels, I think it does work actually, you should give it a try
Costinutz32 said:
Third post reserved for further use.
Just joking.You should make a tutorial to teach.us how to make an overclocked kernel and so on.
Btw nice tutorial from a great dev.
Click to expand...
Click to collapse
lol hehe, I wish I knew how to do that, If I knew that I would have posted a tutorial for sure . I'm totally inexperienced with coding kernels unfortunately
and thanks btw ^^
edit: added screenshots
how to check init.d work?
kingsonwongs said:
how to check init.d work?
Click to expand...
Click to collapse
for example:
/system/etc/init.d/00test
Code:
#!/system/bin/sh
su -c "echo "pass" > /sdcard/pass"
If a file called "pass" will appear on your sdcard it's working
this is more a tutorial for how to make a rom flashable for cwm with kitchen
bootanimation with kitchen is not working for me, had to modify the init.rc manually in boot.img. but you can use the kitchen for extract the boot.img.
however, the headline of this thread is a bit confusing, the tutorial is ok.
i guess, it is not complete.
for set up working folder, you will need
system.ext4.tar
cache.ext4.tar
boot.img
from a nandroid backup of your rom
texten said:
this is more a tutorial for how to make a rom flashable for cwm with kitchen
bootanimation with kitchen is not working for me, had to modify the init.rc manually in boot.img. but you can use the kitchen for extract the boot.img.
however, the headline of this thread is a bit confusing, the tutorial is ok.
i guess, it is not complete.
for set up working folder, you will need
system.ext4.tar
cache.ext4.tar
boot.img
from a nandroid backup of your rom
Click to expand...
Click to collapse
Well actually, I've kept the dummyrom.zip so minimalistic that boot.img is fully compatible with the kitchen (it needed app/bin folder and build.prop), but all other things are basically removed.
And you don't need all those files, we are not trying to create a working rom here, and the bootanimation is idd not working correctly, that's why I added the AOSP bootanimation library to the dummyrom.zip
broodplank1337 said:
Well actually, I've kept the dummyrom.zip so minimalistic that boot.img is fully compatible with the kitchen (it needed app/bin folder and build.prop), but all other things are basically removed.
And you don't need all those files, we are not trying to create a working rom here, and the bootanimation is idd not working correctly, that's why I added the AOSP bootanimation library to the dummyrom.zip
Click to expand...
Click to collapse
ah, ok i didn't know about the dummyrom.zip
but only for extract boot.img and make the small changesfor init.d and bootanimation, you can use other methods, not the kitchen.
the setup for kitchen is much more work as needed for this.
you can also use the tool "disk internals linux reader" and change everything you want manually.
just my 2 cents.
maybe with alle that what you have done for this tutorial, you can change/expand it to "how to make a rom with kitchen"...
well whatever. do it as you want. good luck.
texten said:
ah, ok i didn't know about the dummyrom.zip
but only for extract boot.img and make the small changesfor init.d and bootanimation, you can use other methods, not the kitchen.
the setup for kitchen is much more work as needed for this.
you can also use the tool "disk internals linux reader" and change everything you want manually.
just my 2 cents.
maybe with alle that what you have done for this tutorial, you can change/expand it to "how to make a rom with kitchen"...
well whatever. do it as you want. good luck.
Click to expand...
Click to collapse
about that, you're right, it can be done allot easier, but the thing is, I never got any working kernel when I manually packed them (or with some scripts), so I'm very thankful to the kitchen, which allows me to make an actual working boot.img
Hey brood i tried this tutorial with my stock XXKG3 kernel and did it step by step
Then i flashed the output.zip and added the folder init.d in system/etc/ and the pass script you posted above but there isnt any pass file on my sdcard ):
what went wrong?
//edit: tried pushing a bootanimation (sanim.zip) to /system/media/ but after the reboot it shows the old galaxy s plus bootanimation );
EternalFame said:
Hey brood i tried this tutorial with my stock XXKG3 kernel and did it step by step
Then i flashed the output.zip and added the folder init.d in system/etc/ and the pass script you posted above but there isnt any pass file on my sdcard ):
what went wrong?
//edit: tried pushing a bootanimation (sanim.zip) to /system/media/ but after the reboot it shows the old galaxy s plus bootanimation );
Click to expand...
Click to collapse
hmm the init.d part should work. try it without "su -c" this time
the name of the bootanimation has to be "bootanimation.zip" instead of "sanim.zip"
broodplank1337 said:
hmm the init.d part should work. try it without "su -c" this time
the name of the bootanimation has to be "bootanimation.zip" instead of "sanim.zip"
Click to expand...
Click to collapse
also doesnt work without su -c and renamed to bootanimation.zip but theres still stock bootanim ):
isnt this tut working with 2.3.3 kernel?
BTW: here is my kernel:
www.hengelmueller.bplaced.net/OUTPUT_ZIP.zip
Sent from my GT-I9001 using XDA
EternalFame said:
also doesnt work without su -c and renamed to bootanimation.zip but theres still stock bootanim ):
isnt this tut working with 2.3.3 kernel?
Sent from my GT-I9001 using XDA
Click to expand...
Click to collapse
Hmm then I don't know atm what the problem, but about the bootanimation, did you build a zip from the working folder? Or did you just copy boot.img? Since it needs the bootanimation library which is included in dummyrom.zip
broodplank1337 said:
Hmm then I don't know atm what the problem, but about the bootanimation, did you build a zip from the working folder? Or did you just copy boot.img? Since it needs the bootanimation library which is included in dummyrom.zip
Click to expand...
Click to collapse
i have the bootanimation file in system/bin so that shouldnt be the problem ):
could you pls try with my kernel from the link i posted above?
it drives me nuts that i am not able to do such "easy" things ): ^^
btw: do i need something in init.rc or something which tells the system when it should execute the scripts?
Sent from my GT-I9001 using XDA
Search in the init.rc for system/bin/samsungani and replace it with system/bin/bootanimation.
This should work I guess. AT least this is what i did with my Stock Kernels.
Sent from my GT-I9001 using XDA
Does not work either ):
could you pls try with my kernel above?
Sent from my GT-I9001 using XDA
Tried also with skyhigh and feacore and init.d also doesnt work
could it be that they dont work with 2.3.3 ?
Sent from my GT-I9001 using XDA
EternalFame said:
Tried also with skyhigh and feacore and init.d also doesnt work
could it be that they dont work with 2.3.3 ?
Sent from my GT-I9001 using XDA
Click to expand...
Click to collapse
does your init.d folder and the scripts inside have the right permissions?
broodplank1337 said:
does your init.d folder and the scripts inside have the right permissions?
Click to expand...
Click to collapse
Which permissions do i need?
Sent from my GT-I9001 using XDA

[Pre Rooted Stock]No wipe,No flash counter raise + Guide How to make Prerooted ROM

Pre Rooted Stock ROM
Here is complete stock Pre rooted ROM
( MUST READ THIS before flashing DMF2/ME6 or any newer )
July13
N7100XXDMG1_N7100ODDDMG1_N7100DDDMG1- Deodexed - India - Download - Detail here
N7100XXDMG1_N7100ODDDMG1_N7100DDDMG1- Odexed - India - Download
June13
N7100XXDMF2_N7100OLBDMD2_XME - Malaysia - Download - - - Mirror
SuperSu updated to latest 1.34
Package have addition mod zip file which is optional, If you want to install that mod, instead using packed one use this
April 2013
N7100XXDMC3_N7100ODDDMD1_N7100DDDLK6 (INU) -India - Download
March 2013
N7100XXDMC3_N7100OXXDMC2_N7100XXDLK7 (XEO) - Poland - Download
Installation Instruction
- Download ROM and extract to ***.tar.md5 (unzip tool)
- Make sure you have installed Kies OR Samsung USB driver
- Open up the S/W Installation Program by executing the Odin3 v3.04.exe
1. Enable the check mark by click on the following options(default Option)
- Auto Reboot, and F. Reset Time
- Check PDA, and point to ROM file you have extracted
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
File name shown in above image is for demo purpose, you have to select according ROM you have download
2. Now switch off device and Enter into Download Mode
- Enter into Download Mode by pressing Volume Down button, Home Key and
Power Button simultaneously. And then, press Volume UP button in Warning Page to enter the Download Mode.
3. Connect the device to PC via Data Cable.
Make sure that the one of communication port [ID:COM] box is highlighted in
light blue. The device is now connected with the PC and ready to download the
binary file into the device.
4. Start downloading binary file into the device by clicking Start Button on the screen.
the green colored "PASS!" sign will appear on the upper-left box if the binary file has been successfully downloaded into the device.
5. Disconnect the device from the Data cable.
6. Once the device boots up, you can check the version of the binary file or name
by pressing the following code in sequence;
*#1234#
After flashing your device will have SuperSU in application drawer. If you want to unroot it, open SuperSu - settings - Full unroot.
First thing I do recommend after rooting device is
EFS Backup
Why so?
EFS folder contains some important and some basic info related to our device identity like Wi-Fi address, Bluetooth MAC address and the very main IMEI address (nv_data.bin).
Now if this EFS partition accidently corrupted then your phone’s IMEI no. will erased and you can not make voice call further. This kind of damage is often not accepted by the service center of your respected handset’s company.
Here your backup can only be savior for you.
-This is pure samsung stock ROM as it is + Root
-Non wipe
-Won't raise flash counter.
- Non Hotfile link
Again to make it clear, there is no any additional changes except pushing superSU (busybox added to April 2013 and onward), so there won't be have any difference from stock ROM, but you will not need to Root / reset counter. Just note that, flashing prerooted ROM doesn't reset counter, If your flash counter already raised flashing this ROM doesn't reset it, but you can use triangle away to reset counter after flashing this ROM. later you can uninstall triangle away.
Rooting is not difficult but still many users scare from it, this will come handy to them.
There is no plan to make every release Pre rooted, when there will be major update and myself update device that time will make that ROM pre rooted.
There is already thread in dev section by as i9000, which also have deodexed version and many other ROMs with multi CSC and regularly updating too. This thread will update only ROMs which i am using, as well basic aim is to write tutorial abiut how to make pre rooted ROM.
There are two other MB6 and DMB2 India are ready but really finding difficulty to upload. still i will try my best to upload it.
- Password to unzip - when there is any password to unzip, file name itself will have it.
- difference in file size from sammobile stock rom size is just due to different compression method, once you extract it will be same.
How to make prerooted stock ROM.
Requirements :
Ubuntu and login as Root user.
Ext4_utils - extract to home directory
Root files (su and Superuser.apk) - copy to home directory
busybox - copy to home directory (optional)
Procedure :
1.Download ROM you need to preroot and rename stock.tar.md5 (just to make command line input easy)
2.Extract ROM
Code:
tar xvf stock.tar.md5
3.convert system.img to ext4 so we can mount it.
Code:
./simg2img system.img newsys.img
4.delete system.img
Code:
rm -f system.img
5.Create temp folder and mount it
Code:
mkdir temp
mount -o loop newsys.img temp
6.Push root and busybox file to system and change permission
Code:
cp su temp/xbin/su
chmod 06755 temp/xbin/su
Code:
cp Superuser.apk temp/app/Superuser.apk
chmod 0644 temp/app/Superuser.apk
Code:
cp busybox temp/xbin/busybox
chmod 04755 temp/xbin/busybox
7.Conver newsys img to samsung system.img format
Code:
./mkuserimg.sh -s temp system.img ext4 tempdir 2048M
8.unmount and delete temp folder
Code:
umount temp
rmdir temp
9.create odin flashable tar file (here file names depends on files you have got by extracting ROM)
Code:
tar cvf prerooted.tar boot.img cache.img hidden.img modem.bin recovery.img sboot.bin system.img tz.img
10. add md5 checksum
Code:
md5sum -t prerooted.tar >> prerooted.tar
mv prerooted.tar prerooted.tar.md5
Now Flash prerooted.tar.md5 with odin.
Delete following files from home directory to make it clean
stock.tar.md5
newsys.img
and all files extracted while unpacking tar in step 1.
Credits :
Chainfire for his SuperSu
Phil3759
Credits to following user for referring their works on different forum
jazzor, rizdroid, das7982, faria
Where is it sir?
Sent from my GT-N7100 using xda premium
As I have said
What's your opinion?
Do I update rom
Or
You want guide, how to make it yourself.
Sent from my GT-N7100 using xda premium
My choice is 2
Please provide complete guide
Sent from my GT-N7100 using Tapatalk 2
Make a guide. That way, people learn more.
Sent from my GT-N7100 using xda premium
i thought it was just about placing su in xbin and supersu.apk in app -.-
yeah unpacking repacking and all can be a damn headache
No offense, leave the dev part to those who deserve this denomination and stick with the Guide Guru image that you have built for yourself and for which you get lots of credits and praise. I'd choose option 2.
Thanks for your excellent work of guiding noobs like me and troubleshoot their problems.
P_
))))))
That's the same there! And for a long time!
http://forum.xda-developers.com/showpost.php?p=32260125&postcount=1
:laugh:
2 with noobie detailed please
Sent from my GT-N7100 using xda app-developers app
UBUNTU needed for this)
alexyuh said:
UBUNTU needed for this)
Click to expand...
Click to collapse
+1
Sent from my GT-N7100 using xda app-developers app
alexyuh said:
UBUNTU needed for this)
Click to expand...
Click to collapse
Not with cygwin.
Sent from my GT-N7100 using xda premium
UtkarshGupta said:
Not with cygwin.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
There are some limitations in cygwin. Ubuntu is best for this.
Sent from my GT-N7100 using xda premium
Please post guide so that we'd learn ourselves
Sent from my GT-N7100 using xda premium
---------- Post added at 09:22 PM ---------- Previous post was at 09:15 PM ----------
sharjackmission said:
2 with noobie detailed please
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
+1
Sent from my GT-N7100 using xda premium
Ok,
So will make complete Guide with link to all needed utilities. But may take some time.
Meanwhile try to upload pre rooted rom too, and will add link in op. (I have made two roms mb6 and mc3)
But really difficult to upload every rom, or to make specific on request.
Whenever there is major update and if I will update my device, that time will make that rom pre rooted.
Thanks for patience.
Sent from my GT-N7100 using xda premium
dr.ketan said:
Ok,
So will make complete Guide with link to all needed utilities. But may take some time.
Meanwhile try to upload pre rooted rom too, and will add link in op. (I have made two roms mb6 and mc3)
But really difficult to upload every rom, or to make specific on request.
Whenever there is major update and if I will update my device, that time will make that rom pre rooted.
Thanks for patience.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
I can help
How?
Sent from my GT-N7100 using xda premium
Option 1
madhuranand007 said:
Option 1
Click to expand...
Click to collapse
Sure
Within 5 min updating OP
dr.ketan said:
How?
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Advice to you ladies
http://forum.xda-developers.com/showthread.php?p=39848357#post39848357
http://forum.xda-developers.com/showthread.php?p=39286842#post39286842
You have incorrectly assembled system img.The composition of the image.
No busybox.No su in bin)))
resolution:
Code:
cd app
chmod 0644 Superuser.apk
My version:
https://hotfile.com/dl/202764580/bcb9aa2/system.img.zip.html

Port any Custom Rom for your Android Smart Phone.. Easy Steps!!!!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Credits
This is not work at all thanks to the XDA DEVELOPERS who made porting easy all credit goes to them iam just sharing it..
So lately so many custom Roms are ported and i thought let's share how to port a custom Rom in easy steps!! Did i said easy steps? yes!! porting is that easy shuffling things from here to there replacing files and you are done so let's start how to port a rom.
Notice
First Iam not Responsible if you somehow brick your phone always make a backup. Second This will not work on MIUI and LEWA SINCE YOU NEED THE RAMDISK FILES in next tutorial i will tell you how to pack and unpack the boot.img to get the Ram disk...
Things you Need
Open Mind other wise not possible
Any working Rom for your phone
Rom to port
Rooted Phone
Remeber!!! All Rom will not work on your device
First of all you need to choose a porting rom of phone with similar spec's as your phone have i.e Processor,Ram,internal Storage,size,Camera and same android version otherwise it will not boot up
Then make two folders one named base and second named port
Put any working Rom files for your phone to folder named base
Then put the downloaded working Rom you want to port to the folder named port
Copy these files from stock to port:
System/etc/firmware (whole folder).
System/lib/modules (whole folder).
System/usr/keylayout/generic.kl
Meta inf/.../update script
Meta inf/.../ update binary
Boot.img
Repack it in Zip folder not Rar..Put it into the root of your SD go into recovery wipe data wipe cache and flash your created Rom and you are done Happy Porting Please give feedback if got success and need anyhelp.. Dont Forget to click the thanx button. This is all i need in Return
OFFICIAL THREAD
SaadUsmani said:
​Credits
This is not work at all thanks to the XDA DEVELOPERS who made porting easy all credit goes to them iam just sharing it..
So lately so many custom Roms are ported and i thought let's share how to port a custom Rom in easy steps!! Did i said easy steps? yes!! porting is that easy shuffling things from here to there replacing files and you are done so let's start how to port a rom.
Notice
First Iam not Responsible if you somehow brick your phone always make a backup. Second This will not work on MIUI and LEWA SINCE YOU NEED THE RAMDISK FILES in next tutorial i will tell you how to pack and unpack the boot.img to get the Ram disk...
Things you Need
Open Mind other wise not possible
Any working Rom for your phone
Rom to port
Rooted Phone
Remeber!!! All Rom will not work on your device
First of all you need to choose a porting rom of phone with similar spec's as your phone have i.e Processor,Ram,internal Storage,size,Camera and same android version otherwise it will not boot up
Then make two folders one named base and second named port
Put any working Rom files for your phone to folder named base
Then put the downloaded working Rom you want to port to the folder named port
Copy these files from stock to port:
System/etc/firmware (whole folder).
System/lib/modules (whole folder).
System/usr/keylayout/generic.kl
Meta inf/.../update script
Meta inf/.../ update binary
Boot.img
Repack it in Zip folder not Rar..Put it into the root of your SD go into recovery wipe data wipe cache and flash your created Rom and you are done Happy Porting Please give feedback if got success and need anyhelp.. Dont Forget to click the thanx button. This is all i need in Return
OFFICIAL THREAD
Click to expand...
Click to collapse
Question: I have a stock rom of my Samsung Express i437. I have located everything you mention in the System folder but there is nothing named Meta Inf/ in my ROM and no file named "update script" or "update binary". So can you give me some guidance here on what I am supposed to do. All the other folders and files have been located. Where do I find Meta inf/.../update script and Meta inf/.../ update binary?
Can I use this tutorial to port flymeOS to SGS Advance?
d14gvn said:
Can I use this tutorial to port flymeOS to SGS Advance?
Click to expand...
Click to collapse
i have ported mtk roms using this tutorial...u can give it a try since always make a backup before doing anythng..
nice guide but d14gvn remember those files arent the only files we need i saw on many other porting threads that we would need to replace whole folders for a port rom to work
SaadUsmani said:
​Credits
This is not work at all thanks to the XDA DEVELOPERS who made porting easy all credit goes to them iam just sharing it..
So lately so many custom Roms are ported and i thought let's share how to port a custom Rom in easy steps!! Did i said easy steps? yes!! porting is that easy shuffling things from here to there replacing files and you are done so let's start how to port a rom.
Notice
First Iam not Responsible if you somehow brick your phone always make a backup. Second This will not work on MIUI and LEWA SINCE YOU NEED THE RAMDISK FILES in next tutorial i will tell you how to pack and unpack the boot.img to get the Ram disk...
Things you Need
Open Mind other wise not possible
Any working Rom for your phone
Rom to port
Rooted Phone
Remeber!!! All Rom will not work on your device
First of all you need to choose a porting rom of phone with similar spec's as your phone have i.e Processor,Ram,internal Storage,size,Camera and same android version otherwise it will not boot up
Then make two folders one named base and second named port
Put any working Rom files for your phone to folder named base
Then put the downloaded working Rom you want to port to the folder named port
Copy these files from stock to port:
System/etc/firmware (whole folder).
System/lib/modules (whole folder).
System/usr/keylayout/generic.kl
Meta inf/.../update script
Meta inf/.../ update binary
Boot.img
Repack it in Zip folder not Rar..Put it into the root of your SD go into recovery wipe data wipe cache and flash your created Rom and you are done Happy Porting Please give feedback if got success and need anyhelp.. Dont Forget to click the thanx button. This is all i need in Return
OFFICIAL THREAD
Click to expand...
Click to collapse
I used this guide to port a custom rom from htc one s to htc sensation .. when i tried to flash it it gave me error 7 .. i searched the internet i fixed iit by deleting the assert lines .. now it gives me error 6 >> i know my only problem is in update script .. what do i have to edit to make it work ?
FahmiFitu said:
I used this guide to port a custom rom from htc one s to htc sensation .. when i tried to flash it it gave me error 7 .. i searched the internet i fixed iit by deleting the assert lines .. now it gives me error 6 >> i know my only problem is in update script .. what do i have to edit to make it work ?
Click to expand...
Click to collapse
status 6 error is due to wrong updater script so edit ur updater script very carefully specialy in writing those mounting lines of run program nd also remove format system line if any !!
qmobilea2 said:
status 6 error is due to wrong updater script so edit ur updater script very carefully specialy in writing those mounting lines of run program nd also remove format system line if any !!
Click to expand...
Click to collapse
Okay I fixed this prob now when i flash the rom status 0 comes out and i cant flash roms no more. I have to format and repartition my sd card.
Best regards
FahmiFitu said:
Okay I fixed this prob now when i flash the rom status 0 comes out and i cant flash roms no more. I have to format and repartition my sd card.
Best regards
Click to expand...
Click to collapse
Now this Status 0 error is due to update binary file located in meta-inf folder.
To fix this just took out update binary file from any rom which works on ur phone nd then copy it nd paste it in ur port rom's meta-inf folder.
Problem done now u will not get any status 0 ,6,7 error.!!
Nd one more thing this guide is for mediatek smart phones not htc or samsung phones!!
Sent from my A2 using xda app-developers app
ikaster17 said:
nice guide but d14gvn remember those files arent the only files we need i saw on many other porting threads that we would need to replace whole folders for a port rom to work
Click to expand...
Click to collapse
i have ported so many roms following these steps dont wory it will work but i have tried it on mtk processor dont knw it will work on samsung or not
exactly!!
FahmiFitu said:
Okay I fixed this prob now when i flash the rom status 0 comes out and i cant flash roms no more. I have to format and repartition my sd card.
Best regards
Click to expand...
Click to collapse
qmobilea2 said:
Now this Status 0 error is due to update binary file located in meta-inf folder.
To fix this just took out update binary file from any rom which works on ur phone nd then copy it nd paste it in ur port rom's meta-inf folder.
Problem done now u will not get any status 0 ,6,7 error.!!
Nd one more thing this guide is for mediatek smart phones not htc or samsung phones!!
Sent from my A2 using xda app-developers app
Click to expand...
Click to collapse
exactly!! i have already told i have only tried successfuly porting rom for mtk based phones... iam not sure it wil work on samsung or not....
Unfortunately setting has stopped
Unfortunately system ui has stopped
these were error getting
SaadUsmani said:
exactly!! i have already told i have only tried successfuly porting rom for mtk based phones... iam not sure it wil work on samsung or not....
Click to expand...
Click to collapse
How to port rom Lewa on SoC MT6589?
thienhoa said:
How to port rom Lewa on SoC MT6589?
Click to expand...
Click to collapse
try porting with same method but u have to do some changes in boot.img i'll post that tutorial soon too..
4peace1 said:
Unfortunately setting has stopped
Unfortunately system ui has stopped
these were error getting
Click to expand...
Click to collapse
try porting some other rom..
SaadUsmani said:
try porting some other rom..
Click to expand...
Click to collapse
Can you give me link or suggestion to rom i can port for my Gionee E3
4peace1 said:
Can you give me link or suggestion to rom i can port for my Gionee E3
Click to expand...
Click to collapse
try from needrom,com there are lot of custom rom available on it...
SaadUsmani said:
try porting with same method but u have to do some changes in boot.img i'll post that tutorial soon too..
Click to expand...
Click to collapse
Thank
I repack ramdisk boot.img Lewa with kernel boot.img Base
=> Boot loop
thienhoa said:
Thank
I repack ramdisk boot.img Lewa with kernel boot.img Base
=> Boot loop
Click to expand...
Click to collapse
it is not necesary that every rom will work but for the lewa did u changed zImage from the lewa boot.img to stock?
Need help
I was have ported ROM using this method..
I used same specs devices to port the rom..based on MTK6589
All went right..
successfully flashed booted up..but there is some problems..plz help how to fix it..
1. No sound is coming from the SPEAKER..headphones r working
2. Back camera not working...the camera app just stops working and closes..
Help plzz..

[GUIDE][UPDATED] How to deodex stock kitkat roms

For those doesnt know how to deodex kitkat roms, here is a guide to deodex your rom
This tool is based on kamome tool for Xperia 4.4, so i edit it a little:laugh:
ALWAYS DO A NANDROID BACKUP
Pre-requested :
Java
Rooted phone
Odexed rom
USB Debugging enabled (If you want to pull files from your device)
Custom Recovery (Tested on CWM)
Download :
Non Zipalign :
Kitkat_Deodexer
Mirror 1
Mirror 2
Please dont make another mirrors
With Zipalign
Kitkat_Deodexer_With_Zipalign
Mirror 1
Please dont make another mirrors
Guide :
Extract downloaded tool
Run main.bat
Type 1 to create working folder
Plug in your phone, then type 2 to pull files from your device
This step can be skipped if you manually copy /system/app, /system/framework, /system/priv-app to /Kitkat_Deodexer/system
Type 3 to start deodexing
Type 4 to zipalign apks (not tested by me)
Type 5 to create flashable zip
This step also can be skipped if you want to build your own flashable zip by editing updater-script
Done
To install it :
Copy deodex_install.zip to your sdcard
Go to CWM recovery
Flash the zip
Done
Note:
Zipalign tested and worked by @thisisapoorusernamechoice
Credits :
Thanks to @hagurekamome
@RyokoN
@liv3dn8as for adding zipalign
If you dont understand, broken link, errors, please reply
No reply???
Then I am first :laugh:
Thanks for this one gan @AndikaTedja :highfive: , now I can make deodexed rom without bootloop.
Recomended for newbies who want to try to make deodexed custom rom, like me :cyclops:
KnifeHead said:
No reply???
Then I am first :laugh:
Thanks for this one gan @AndikaTedja :highfive: , now I can make deodexed rom without bootloop.
Recomended for newbies who want to try to make deodexed custom rom, like me :cyclops:
Click to expand...
Click to collapse
Ok, you from indonesia?
Hello!!
Hello hello Bro....can you please check the download link?it does not work to me...or i am doing something wrong?
Special thanks in advance!:laugh:
I am sorry...the link is perfect the mistake was mine!
From usb donggle i couldnt dowloadthe file...please forgive me!
Thaaaanks...
I've been waiting for this from ages ago
I'll let you know the results
really thanks
Sent from my GT-I9505 using Tapatalk
-------------------------
Working 100% on i9505 4.4.2 stock...
now i'm deodexd ")
Thanks again
NikosR6 said:
Hello hello Bro....can you please check the download link?it does not work to me...or i am doing something wrong?
Special thanks in advance!:laugh:
I am sorry...the link is perfect the mistake was mine!
From usb donggle i couldnt dowloadthe file...please forgive me!
Click to expand...
Click to collapse
Try these links
Mirror 1
Mirror 2
Please dont make another mirror
khelwani said:
Thaaaanks...
I've been waiting for this from ages ago
I'll let you know the results
really thanks
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Okay
help please
help please . when i do this tutorial my phones stuck in samsung logo. can somebody help me?
question
your tool is great and works good, but ^^ : i tried to deodex framework of i9500 4.3 stock rom, all fw.jar is ok but services.jar deodex cause bootloop ? why ? can you help me ?
thanks a lot :laugh:
VADS21 said:
help please . when i do this tutorial my phones stuck in samsung logo. can somebody help me?
Click to expand...
Click to collapse
Its bootloop, try to restore your nandroid backup (i ve told before)
androidrouen said:
your tool is great and works good, but ^^ : i tried to deodex framework of i9500 4.3 stock rom, all fw.jar is ok but services.jar deodex cause bootloop ? why ? can you help me ?
thanks a lot :laugh:
Click to expand...
Click to collapse
For 4.3 try this guide
http://forum.xda-developers.com/showthread.php?t=2492401
AndikaTedja said:
Its bootloop, try to restore your nandroid backup (i ve told before)
For 4.3 try this guide
http://forum.xda-developers.com/showthread.php?t=2492401
Click to expand...
Click to collapse
Someone please send me the Java link please
---------- Post added at 07:01 PM ---------- Previous post was at 06:25 PM ----------
VADS21 said:
help please . when i do this tutorial my phones stuck in samsung logo. can somebody help me?
Click to expand...
Click to collapse
I'm having a problem my computer telling me Java not installed but it's installed please help
khelwani said:
Thaaaanks...
I've been waiting for this from ages ago
I'll let you know the results
really thanks
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Did you get it to work
Search google before asking
joseph- said:
Someone please send me the Java link please
---------- Post added at 07:01 PM ---------- Previous post was at 06:25 PM ----------
I'm having a problem my computer telling me Java not installed but it's installed please help
Click to expand...
Click to collapse
Java - https://www.java.com/en/download/
JDK - http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
joseph- said:
Did you get it to work
Click to expand...
Click to collapse
Yes its working fine :good:, maybe you would like to pull out your system folders from your phone manually and put it inside the deodexer folder.
khelwani said:
Yes its working fine :good:, maybe you would like to pull out your system folders from your phone manually and put it inside the deodexer folder.
Click to expand...
Click to collapse
Did you install s5 apps and how
thank you very much worked fine i9500 stock rom
hi i used this method followed steps 1-7 and it seem to go well kept saying everything is ok however when i placed the deodex_install.zip on my sd card and tried to run it i just got..
Finding update package...
Opening update package...
Installing update...
Installation aborted.
what could be the problem i am on a Galaxy s4 i9505 running XXUFNB8 stock kitkat rom, Rooted with cwm installed
iKustomize said:
hi i used this method followed steps 1-7 and it seem to go well kept saying everything is ok however when i placed the deodex_install.zip on my sd card and tried to run it i just got..
Finding update package...
Opening update package...
Installing update...
Installation aborted.
what could be the problem i am on a Galaxy s4 i9505 running XXUFNB8 stock kitkat rom, Rooted with cwm installed
Click to expand...
Click to collapse
Try to reinstall or manually zip system,meta-inf,del_odex.sh (Found in deodex_install.zip)
or try to mount /system manually on cwm
Also remember to do a nandroid backup
ask
Guide :
Extract downloaded tool
Run main.bat
Type 1 to create working folder
Plug in your phone, then type 2 to pull files from your device
This step can be skipped if you manually copy /system/app, /system/framework, /system/priv-app to /Kitkat_Deodexer/system
Type 3 to start deodexing
Type 4 to create flashable zip
This step also can be skipped if you want to build your own flashable zip by editing updater-script
Done
Click to expand...
Click to collapse
i always get a error message.. error : more than one device and emulator
Try this
Roby DM said:
i always get a error message.. error : more than one device and emulator
Click to expand...
Click to collapse
Okay try this (Remember to turn on usb debugging)
1. hold shift button + right click on cmd folder(in Deodex_Kitkat folder) then click "open command window here"
2. Type adb devices (allow on your phone)
3. Remember your device number or whatever is that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4. Open main.bat with Notepad++ or Notepad
5. Sarch this line
Code:
cmd\adb pull /system/app system\app
cmd\adb pull /system/priv-app system\priv-app
cmd\adb pull /system/framework system\framework
6. Add
Code:
-s xxxxxxxxxxxxx
after cmd\adb line (for example mine is 4d00ce0315ad307f)
so it would like this
Code:
cmd\adb -s 4d00ce0315ad307f pull /system/app system\app
cmd\adb -s 4d00ce0315ad307f pull /system/priv-app system\priv-app
cmd\adb -s 4d00ce0315ad307f pull /system/framework system\framework
7. Save
8. Run main.bat
Let me know the result
will it work on exynos s5?
there is no custom rom for g900h variant yet as of now

WIP Experimental DIY [Deodexed-Xposed Galaxy S5 Neo dirty-version

Xposed has been achieved with some long testing back and forth for Galaxy S5 Neo. Without the need of custom build recovery :victory:
Code:
method public Disclaimer();
You're allowed to take my work and create your own rom, or do anything with it.
I (Laststandingdroid) provide these files as/is by no EULA or anything else.
I share this with the community and you [I][B]don't[/B][/I] need to ask for permission.
Your cat, dog, horse or even your baby is allowed to take these files and put it in your phone without questioning me.
All i do ask is that you put correct credits. however if you don't want to it isn't a must i won't die, nor get a heart attack. I know how the internet works. people will always copy and being willing to take credits for others work ;)
.end method
Note this recovery is experimental, it was used for my personal testing but it is now released here.
Requirements:
Rooted Device (or not mandatory i guess)
Busybox
PC with odin
Custom Modified Stock Recovery with insecure adb
stock recovery here: (Odin tar) https://mega.nz/#!DgomiZAQ!1m7aU5ojoU7PCw4L7E8hmk7mCFo2z0f_sYafJHzN7XE (NEE)
Modified recovery (Odin tar)
https://mega.nz/#!jogHWBTC!jozQXYAdnfzblZNiUmei4RLnzgoFzQg3WAdsi-LDMPA
Flash with Odin
Stock deodex-xposed Download:
https://mega.nz/#!r8BzXQKD!YCJsATrxuXRg7-tiHFtJWRKc6Mt3fTQAYElzPR01uSo
DIY (Do It yourself) Method
1/ First you need to go to sammobile to download last available generic firmware OR download the one related to your carrier.
2/ You need to decompress twice (first is the zip from sam, 2nd the tar.md5 file) with Universal Extractor.
3/ you will see many file (boot, recovery....and system the one which is necessary).
4/ now we need to decompress system.img but you can't currently. We need to convert this file to ext4 format. So time to download some necessary extra files. (https://1fichier.com/?bz9rmuuap4)
5/ Decompress this zip file in c:\deodex and put inside the system.img
6/ run 1MODEXT4.bat. This will create a temp.ext4 file in this folder.
7/ Now you can open the temp.ext4 file with ext2explore.exe which is in the folder.
8/ Create a folder on your PC named "system". Go on ext2explore, select "app", framework", "priv-app" folder and right click and make "save". Choose the folder system, you created.
9/ Now you have all the odexed files we need to deodex
10/ Run "SVADeodexerForArt.exe" and precise the system folder you created. Tick all boxes. Wait until it deodex. See if there is no errors in window
11/ Watch inside the "deodex" folder. you will see app, priv-app & framework folder. Here are the deodexed files.
Optional step:
12/ If you want before pushing the files you can debloat the rom. Or include xposed files too as LastStandingDroid
Pre Built Files
1.Download the zip and extract it on your pc.
2. Flash modified recovery trough Odin
Reboot to system
adb shell
mount - remount,rw /system
rm -rf /data/dalvik-cache
4. Reboot into recovery (don't be fooled by the stock recovery, it is modified to get system mounted as r/w trough adb
5. Plug your phone to PC, and wait for adb to initialize (this can take up to 20 seconds)
6. Type: adb remount
7. type: skip this for now now to 8.
8. Type adb push *drag and drop the extracted system folder to cmd/terminal window. /system/
In the terminal you should now have adb push /path/to/system /system/
8. Wait until all files has been pushed
9. Reboot the device, it will take time to boot since it will rebuild dalvik-cache
Optional is to recover stock recovery
Thanks @wanam for his modified xposed version which makes it compatible with Samsung variants for 5 1+ @Chainfire for his insecure adbd which is used to mount the system as read/write in recovery. Without this this wouldn't be possible
Special thanks @WILMANS2M for testing and reporting back. @bolme123 for testing and reporting back. @Dennziil testing and reporting @kaodd for being funny and being happy that we work on this
Sent from my SM-G903F using Tapatalk
Bugs: your original /sdcard path might be replaced this will not remove your files it will rather just kill the path.
You can access the internal sd files using /storage/emulated/0/
Settings might force close sometimes, this only seems to happen if you go to app info from recent. Not sure what gives
At least it might takes longer to load
Sent from my SM-G903F using Tapatalk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-G903F using Tapatalk
Think im missing something, but don't know what.
C:\Users\Dennis>adb shell
[email protected]:/ $ dd if=/dev/block/platform/13540000.dwmmc0/by-name/RECOVERY of=/sdcard/stockrecovery.img
000.dwmmc0/by-name/RECOVERY of=/sdcard/stockrecovery.img <
dd: /dev/block/platform/13540000.dwmmc0/by-name/RECOVERY: Permission denied
So laststandingdroid, no need of a permissive kernel to do this right ?
Envoyé de mon K00F en utilisant Tapatalk
If you follow this will it trigger Knox or other bits and does it require root for it to work?
Thank you very much for your work
Dennziil said:
Think im missing something, but don't know what.
C:\Users\Dennis>adb shell
[email protected]:/ $ dd if=/dev/block/platform/13540000.dwmmc0/by-name/RECOVERY of=/sdcard/stockrecovery.img
000.dwmmc0/by-name/RECOVERY of=/sdcard/stockrecovery.img <
dd: /dev/block/platform/13540000.dwmmc0/by-name/RECOVERY: Permission denied
Click to expand...
Click to collapse
You need to write su first sorry
WILMANS2M said:
So laststandingdroid, no need of a permissive kernel to do this right ?
Envoyé de mon K00F en utilisant Tapatalk
Click to expand...
Click to collapse
Not quite sure I used permissive kernel might work. But I use permissive one to be able to use viper4android
Tepes4 said:
If you follow this will it trigger Knox or other bits and does it require root for it to work?
Thank you very much for your work
Click to expand...
Click to collapse
Yes know will be triggered and it requires root ofc [emoji14]
Sent from my SM-G903F using Tapatalk
So maybe first install permissive kernel, 2nd flash cfautoroot and 3rd your method
Envoyé de mon SM-G903F en utilisant Tapatalk
WILMANS2M said:
So maybe first install permissive kernel, 2nd flash cfautoroot and 3rd your method
Envoyé de mon SM-G903F en utilisant Tapatalk
Click to expand...
Click to collapse
No idea on permissive kernel
Root shouldn't be needed as recovery can remount as r/w but it's recommended since some apps requires root
Sorry I posted this tutorial in a rush.
Will clear it later.
Other galaxy s5 neo users if you want deodex send me your system framework and apps in order to get deodexed system
Sent from my SM-G903F using Tapatalk
I finally succeed deodexed last sgs5 neo rom file G903FXXU1AOI5_G903FXEF1AOI1_G903FXXU1AOI7.
64-bit Deodexer for Android Runtime (Version 3.5 ?? 20/07/2015) © Valery Studenikin, 2015
Path to stock /system directory: D:\Deodex\5.1.1\system
Android 5.1.1: SM-G903F, LMY47X.G903FXXU1AOI5, changelist 5560999, Tue Sep 15 19:31:20 KST 2015
Processor architecture: \arm\
Files deodexed succesfully: 355, with errors: 0. CPU time: 00:23:46 (1426,132 sec.)
List of originally deodexed (within stock firmware) files, are left as they were originally:
/system/framework/com.google.android.maps.jar
/system/framework/com.google.android.media.effects.jar
/system/framework/com.samsung.device.jar
/system/app/Bridge.apk
/system/app/minimode-res.apk
/system/app/RCPComponents.apk
/system/app/SecurityLogAgent.apk
/system/priv-app/ContextProvider.apk
/system/priv-app/HealthService.apk
/system/priv-app/intelligenceservice.apk
/system/priv-app/SPDClient.apk
LastStandingDroid i see in your zip file that some app were not deodexed as GMScore...Normal ?
I will try to push mine and try your method and will make a factory reset to see what's happening.
WILMANS2M said:
I finally succeed deodexed last sgs5 neo rom file G903FXXU1AOI5_G903FXEF1AOI1_G903FXXU1AOI7.
LastStandingDroid i see in your zip file that some app were not deodexed as GMScore...Normal ?
I will try to push mine and try your method and will make a factory reset to see what's happening.
Click to expand...
Click to collapse
Yes gms core failed I don't care about it since it isn't needed.
Edit shealth is broken download an update trough Samsung apps or download: https://mega.nz/#!3lwmEaKQ!f3iG_WQrK4hTXumHZbo0Jvs5DT9O0UC1TDlLRr4kH4s
Install as an update.
Sent from my SM-G903F using Tapatalk
Just 3 questions :
1/ Do we need to keep folders of apk. Can we put only apk in folder app or priv-app like xposed apk ?
2/ What do you add to the deodexed rom apart xposed file ?
3/ About xposed file :
in app : XposedInstaller.apk
in lib : all files
in framework : XposedBridge.jar
That's all we need ?
I really thank you.
Next step : The dirty flash
WILMANS2M said:
Just 3 questions :
1/ Do we need to keep folders of apk. Can we put only apk in folder app or priv-app like xposed apk ?
2/ What do you add to the deodexed rom apart xposed file ?
3/ About xposed file :
in app : XposedInstaller.apk
in lib : all files
in framework : XposedBridge.jar
That's all we need ?
I really thank you.
Click to expand...
Click to collapse
Depends on what you mean to keep folders?
There's only xposed added and needed files.
There's also files in system/bin app_process oat2dex patchoat and two more check the zip file xposed containing
Now it's ice fishing
Sent from my SM-G903F using Tapatalk
LastStandingDroid said:
Depends on what you mean to keep folders?
There's only xposed added and needed files.
There's also files in system/bin app_process oat2dex patchoat and two more check the zip file xposed containing
Now it's ice fishing
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
For ex, for the folder "AccuweatherPhone2015" we have inside "AccuweatherPhone2015.apk"
I just wonder if we can just put "AccuweatherPhone2015.apk" inside "app" folder without the folder "AccuweatherPhone2015"
Feel like a noob now, but when i type (adb shell su) in cmd, it gets locked. :S
WILMANS2M said:
For ex, for the folder "AccuweatherPhone2015" we have inside "AccuweatherPhone2015.apk"
I just wonder if we can just put "AccuweatherPhone2015.apk" inside "app" folder without the folder "AccuweatherPhone2015"
Click to expand...
Click to collapse
No since apps requires lib folders and stuff in arm/lib
Dennziil said:
Feel like a noob now, but when i type (adb shell su) in cmd, it gets locked. :S
Click to expand...
Click to collapse
Where do you type it? While phone is on?
Anyway I'll upload a stock recovery and modified as Odin tar file
Modified recovery flash able trough Odin comes soon
Sent from my SM-G903F using Tapatalk
LastStandingDroid said:
No since apps requires lib folders and stuff in arm/lib
Where do you type it? While phone is on?
Anyway I'll upload a stock recovery and modified as Odin tar file
Modified recovery flash able trough Odin comes soon
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
I hope! because I'm a little bit lost :crying::crying:
noob I am, noob I stay
LastStandingDroid said:
Anyway I'll upload a stock recovery and modified as Odin tar file
Modified recovery flash able trough Odin comes soon
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
Great, then i'll just waint for the tar file insted Great work btw :good:
mmh i will try to delete all apk folder which does not have other file/folder inside than the apk one. In fact, only some folder have lib...folder inside. Most have only apk.
Will try.
As i said, will make a few test
androidissime said:
I hope! because I'm a little bit lost :crying::crying:
noob I am, noob I stay
Click to expand...
Click to collapse
Don't worry it comes in some minutes
Dennziil said:
Great, then i'll just waint for the tar file insted Great work btw :good:
Click to expand...
Click to collapse
Yeah I forgot about that
WILMANS2M said:
mmh i will try to delete all apk folder which does not have other file/folder inside than the apk one. In fact, only some folder have lib...folder inside. Most have only apk.
Will try.
As i said, will make a few test
Click to expand...
Click to collapse
Sure I don't recommend it since I see no reason to use it that way [emoji14]
Hopefully sooner or later I'll get a modified system.Img working there's no eta for that though. Since it yet doesn't flash in Odin.
Sent from my SM-G903F using Tapatalk

Categories

Resources