how to use a2sd in creed`s rom ? - Samsung Galaxy Fit GT 5670

hello every body ....
I am using creed`s rom v 4 which is nice rom .....
but I need to use a2sd on it .....
any help ....

I don't know what is wrong.
I flash the script then install apk.
Certainly I have ext. ..
Why this ****ing message appairs please help. ..
{
"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 GT-S5670 using xda premium

eslam hassan said:
I don't know what is wrong.
I flash the script then install apk.
Certainly I have ext. ..
Why this ****ing message appairs please help. ..
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1342387
u tried this ????
which error , i can't see the screenshot

No bro no need to install anything ,,, just follow that
dk_zero-cool said:
Mounts2SD - An All-in-one to sd-ext script
Mounts2SD is a customizable sd-ext control script that can be used to move content to and from the second sdcard partition known in Android as sd-ext. These scripts comes in many variants with different purposes. Mounts2SD has most of these, and more, build into one single script with controls to set it up after most needs.
Features
Graphical installer with configuration options and auto deletion of almost any existing app2sd script
Control script to manage configuration from shell
SWAP Support
Link Apps from data as system apps
Move Apps to sd-ext
Move Dalvik-cache to sd-ext
Move Apps Data to sd-ext
Move system linked apps to sd-ext
Move Cache to a tmpfs (With auto control)
Internal nand and sdcard readahead optimization
Handles slow sdcards that takes time to initiate
Checks filesystems for errors on boot using e2fsck
Let's you use whatever linux filesystem supported by kernel
Able to revert any prev. options
Fix permissions
Internal/External storage optimization
Fix CyanogenMod dalvik to /cache
Revert the sd-ext/data partitions so that sd-ext becomes the new /data
Android Market 'Not enough space' fix
Checks available free space before moving content
How to install
Note that you need to have a custom ROM installed which supports init.d scripts.
Download the ZIP file in the download section
Copy the ZIP file to your phones SD-Card
Boot you phone into recovery
Make sure that recovery does not check ZIP's signature as the ZIP is not signed
Choose to install ZIP from SD-Card
Select the ZIP file you copied to the SD-Card and fallow the installation process
After installation, you can change any settings you choose during install, by using the shell command 'm2sd from an adb shell or a terminal app on your phone. You can type 'm2sd help' in the shell to get a list of available options and values.
You can also read more about the different option below.
Partition table
Required partition table
/sdcard (Fat32)
/sd-ext
SWAP (Optional)
Safe Mode
As of version 2.2.0, m2sd has a safe-mode state. This is an automatic state that is used when the script can't detect a correct sysinit method. The correct way to execute init.d, is to add "exec /system/bin/sysinit" to the init.rc file and of cause create the script sysinit that will execute init.d
The old way is to create a service for init.d in init.rc.
The problem with the service is that it is executed while the rest of the boot process is working. This means that moving things like /data/data and /data/dalvik-cache will create problems, because the system will keep trying to rebuild the moved content to it's original path while m2sd is moving it.
The sysinit script executed with the exec command however, will stall the boot process until all of the init.d scripts has been executed. That means that m2sd can move the content and bind the original path to the sd-ext path before the system starts it's work.
The Safe mode state will disable dalvik and data no mater what the config says to avoid these problems. So if your ROM runs m2sd in safe-mode, write to the ROM dev's and ask them to include the more correct way of handling init.d
(Can be disabled using "m2sd safemode disable")
System Apps
By default Android has two app directories in the data partition (/data/app & /data/app-private). Mounts2SD provides a third directory (/data/app-system). Every app placed in this directory will be automatically linked to the /system/app folder, making android believe that it is a system app. Some apps needs this in order to provide additional options. By using /data/app-system, you can achieve this from any file manager without giving write access to the system partition and without taking up two much space on that partition.
Links will be automatically removed again once an app is removed from /data/app-system
Configuration options
Apps - m2sd apps
Dalvik Cache - m2sd dalvik
Data - m2sd data
Cache - m2sd cache
Download Cache - m2sd dlcache
File System Type - m2sd extfs
Readahead - m2sd readahead
Noatime - m2sd noatime
CM Dalvik - m2sd cmdalvik
R-Mount - m2sd rmount
Downloads
4.6.2 Aroma Installer [mounts2sd-4.6.2_aroma.zip] (Jul 14, 2012) (MD5: 602622bc20d212c87ac2f0ba8bf0d45f)
[Default Mirror] SourceForge.net
[Default Mirror] MediaFire.com
This will provide you with the graphical installer Aroma.
-------------------------------------------------[/CODE]
Click to expand...
Click to collapse
I used the one with aroma installer it worked
Sent from my GT-S5670 using xda premium

Related

[RECOVERY] ClockworkMod Recovery 5.0.2.8 for vc088x tablets |v1.1b| 30-4-2012

ClockworkMod Recovery 5.0.2.8 unofficial port for Vimicro vc088x based tablets v1.1 beta by mikeNG a.k.a mikeioannina
Info:
ClockworkMod Recovery is the default recovery option by the CyanogenMod, it has several additional features over plain 3e recovery and uses Edify scripting exclusively.
CyanogenMod said:
Amend scripting (update-script) is no longer supported
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Click to expand...
Click to collapse
More info about creating your own update-scripts is here.
Disclaimer:
This is still experimental.
I AM NOT RESPONSIBLE FOR WHATEVER HAPPENS TO YOUR TABLET!
Some options might not work correctly and you might brick your tablet and/or lose your personal data!​
Features:
ADB root shell in recovery
Options:
Reboot system now
Apply update from sdcard
Wipe data / factory reset
Wipe cache partition
Install zip from sdcard
----Choose zip from sdcard
----Apply /sdcard/update.zip
----Toggle signature verification
----Toggle script asserts
----Choose zip from internal sdcard
Backup and restore
----Backup
----Restore
----Advanced restore
Mounts and storage
----Mount / unmount /sdcard
----Mount / unmount /emmc
----Mount / unmount /system
----Mount / unmount /data
----Mount / unmount /cache
----Format /sdcard
----Format /emmc
----Format /system
----Format /data
----Format /cache
----Mount USB storage
Advanced
----Reboot recovery
----Wipe Dalvik Cache
----Wipe Battery Stats
----Report Error
----Key Test
----Partition SD Card
--------Ext Size
--------Swap Size (Set this to 0)
--------Rest Size (vfat)
----Fix permissions
Power off
Requirements:
Basic skills in using adb or terminal emulator.
Installation:
It is recommended to do a clean install with this FlashTool first, then install the recovery image, so there is no problem with the sizes of the partitions of the internal sd.
1. Unzip the file you downloaded, you will get recovery.img
2. Copy recovery.img in your sdcard
3. Now type the following command in adb shell or in Terminal emulator:
Code:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p3
4. It will show a message after a while, it means it's completed
Usage:
1. Turn off the device
2. Turn on the device
3. When the boot logo appears, press immediately the menu button and hold it down for 3sec approximately.
Working:
Not everything is tested yet. You are the testers for the most of the things. I've tried a backup & restore, it worked. Also tried installing a modified kernel image, it worked too.
Known bugs:
Some errors about /cache are displayed when you boot, factory reset or wipe cache. They stop if you go every time under "mounts and storage" and you mount the cache partition.
Download links:
v1.1 beta for Haipad M8 1GB version
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"
}
Credits:
koush: for making this wonderful recovery
Cyanogen: for all the support for android
ilarrain & teamhacksung: the fixes for the 32bit framebuffer problems​
Changelog:
24-11-2011 / ClockworkMod Recovery 5.0.2.6 v1.0a
- Initial port for the M8
- Removed multiple "No" prompts in confirm dialogs
- Fixed screen update bug
25-4-2012 / ClockworkMod Recovery 5.0.2.8 v1.1b
- Ported latest CM7 Recovery
- Fixed 32bit framebuffer (multiple screens) problem. Now the image is perfect
- Capitalized first letter of all menus in the recovery
- Changed the color from default orange to default ICS blue on the menus
To Do:
- Add support for more vc088x based tablets
is this still working?
Terramoto said:
is this still working?
Click to expand...
Click to collapse
Yes but I lost the sources so I can't build anything new
how did you unpack that recovery img i am trying to make a CWM for my penta is703c tab same as haipad m8
but it dosnt work .....................i cam boot into CWM recovery but i cant read any of the options stated there.........
ss429842 said:
how did you unpack that recovery img i am trying to make a CWM for my penta is703c tab same as haipad m8
but it dosnt work .....................i cam boot into CWM recovery but i cant read any of the options stated there.........
Click to expand...
Click to collapse
I didn't unpack the image, I compiled from source. Unfortunately I lost the modified sources so I can't help you :/

[Guide][Script][D2EXT+] Removing Darktremor A2SD and installing D2EXT+

This is a small guide on installing D2EXT+ on HTC Explorer which is a fantastic solution for low internal memory problems. D2EXT+ works on any ROM with init.d support. I've tried this method on JaggyRom (3.2.1) (it supports init.d and I don't like A2SD) and it works perfectly.
Disclaimer: I will not be responsible if you brick your phone. Please follow the instructions carefully.
D2EXT+ is a fantastic script which mounts /data to /sd-ext rather than moving your apps to sd-ext (as in Link2SD/ A2SD). I have tried INT2EXT+ but i cannot get the wi-fi to work on this rom.
Why only D2EXT+?
I've used A2SD and its very unstable and cause vague errors.
Seen other scripts move /data/app contents to sd-ext, the phone still shows low internal memory. (Which btw decreases as you go on installing apps)
With D2EXT+ you can use the option "Move to SD"/"Move to Phone" without any problem.
INT2EXT+ is better but wi-fi issues are there does not work. If you try that then please post the results.
Part 1: Removing Darktremor A2SD Script
To do this you just need to remove some files using any file manager. I personally prefer X-plore (You can download it for free on PlayStore).
If you're using X-plore then goto Configuration->Root access and select Superuser+mount writable.
Before you delete any files move apps/dalvik-cache back to internl memory.
Now navigate to /system/app using X-plore under Root and delete com.elgubbo.a2sdGUI-1.apk
Now navigate to /system/etc/init.d and delete 00banner,02firstboot,04apps2sd,S70darky_zipalign
Now in /system/bin delete all files containin a2sd/apps2sd in their name
Reboot
Now A2SD will not work anymore
Part 2: Installing D2EXT+
Firstly, remove A2SD/Link2SD or any such scrips/apps you may be using. Part 1 of this guide shows you how you can remove A2SD from JaggyRom.
This guide assumes that you already have partitioned your SD card. In case you haven't then you can have a look here but make sure the second partition is ext 2/3/4 and not fat32.
You can find and download D2EXT+ from the original thread here.
Open the .zip file you just downloaded and navigate to /system/etc/init.d
Extract the file 40d2ext and place it in the root of your SD card.
Now on the phone open up X-plore or any other root file manager and move 40d2ext to /system/etc/init.d
Set file permissions to 777 or rwe- rwe- rwe-. (In X-plore long press 40d2ext->Permissions->Tick all boxes->OK)
Reboot into recovery (do not do a normal reboot!!).
In mounts and storage format /st-ext
Reboot (Normal)
First boot may take time (Please be patient!!).
To verify the script is working goto storage and check internal free space. It should have increased depending on the size of your sd-ext partition. I'm using a 1GB partition on a 16GB Class 4 card. Check out the screenshot below...
{
"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"
}
:highfive: Enjoy your extended storage!!
Please hit the Thanks button if you think i helped
Update #1
The above procedure is abblicable to other scrips on the download page as well. I noticed that using D2EXT+ poses a problem that the /data/dalvik-cache is mounted to /sd-internal for speed purposes. Now, as HTC Explorer has very less memory, it will become impossible to install a large number of apps even with a big sd-ext partition.
Solution: Install D2EXT instead of D2EXT+. This can be also downloaded from the link provided above. But simple replacing and rebooting won't make the desired changes. My Solution: After removing A2SD and placing D2EXT as mentioned above. I did a factory wipe using recovery. After that it worked flawlessly and i am now able to install as many apps as i require.
Does anybody feel that ur phone is too slow after doing this method?! :\
As such phone dosn't seem slow. But if you want to increase sd card performance then enable readahead tweak. Search forums for that...u'll find the script. Btw mount2sd is also capable of doing that. Choice of scripts depends on u ( of course )
Hit thanks if I helped
Sent from my HTC Explorer A310e using xda premium
How to move 40d2ext to /system/etc/init.d?? I'm finding difficult to move..
it says could not move to file due to file restrictions
droidbot678 said:
How to move 40d2ext to /system/etc/init.d?? I'm finding difficult to move..
it says could not move to file due to file restrictions
Click to expand...
Click to collapse
mount system as rw before doing this
solution for u !!
Use Root Explorer and set permissions for read and write.. !! u done den :good:
Will this work on cm10.2 weekly 6? I also tried mounts2sd but it just messed things up...
problems using mount2sd
Previously i used to use link2sd as it was to tiring to move each and every app i used roms which had script included.. i used a rom which i liked but didnt have memory script so i used mount2sd but everytime i restart the phone it shows android is is upgrading.

overclock help needed

i am using liquid smooth and flashed jarvis kernel for cm10.1 it booted
after falshing i cheked sd card but the sd data partition is not used but cache partition use so is it okay for overclocking
{
"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"
}
sakshamx said:
i am using liquid smooth and flashed jarvis kernel for cm10.1 it booted
after falshing i cheked sd card but the sd data partition is not used but cache partition use so is it okay for overclocking
Click to expand...
Click to collapse
can you upload your image to imgur?
russelldias said:
can you upload your image to imgur?
Click to expand...
Click to collapse
uploaded
Saumitra Yadav provided 2 different versions of the kernel for CM10.1. One for Partition Order: Sdcard(Fat32)>SD-CACHE(Ext4)>SD-DATA(EXT4) and one for Partition Order: Sdcard(Fat32)>SD-DATA(Ext4)>SD-CACHE(EXT4). Maybe you flashed the wrong version. At least that was what I did at the beginning and only the SD-CACHE partition was recognised! :silly:
If the oced kernel works with liquidsmooth rom please let me know because right now I' m using CM10.1 although liquidsmooth is my favorite rom so far!
sakshamx said:
uploaded
Click to expand...
Click to collapse
Use FAT32>SD-DATA>SD-CACHE kernel
I am using that only
Using over clock today not had any problem till now
Will nand burn if I use more as the system data is in internal
Sent from my HTC Explorer A310e using xda app-developers app
I believe that right now your SD-DATA partition isn't recognised at all and every app you install is being installed in your SD-CACHE partition which is much smaller, so your cache will get full really quickly. Try installing a few apps and see for yourself
ripcloing said:
I believe that right now your SD-DATA partition isn't recognised at all and every app you install is being installed in your SD-CACHE partition which is much smaller, so your cache will get full really quickly. Try installing a few apps and see for yourself
Click to expand...
Click to collapse
all apps i intall is installing on sd-data
rom will install on sd-data or internal?
ripcloing said:
If the oced kernel works with liquidsmooth rom please let me know because right now I' m using CM10.1 although liquidsmooth is my favorite rom so far!
Click to expand...
Click to collapse
kernel is working fine on liquid smooth
how can i mount system as r/rw (at 600mhz) ?if want to change something
It depends on the file manager which you are using. As far as I remember on the default file manager which comes preinstalled in CM10.1 you have to enable root mode from the settings and then on the top left corner you have to tick the lock button while in the /system directory. Then you have the option to mount /system as R/W. On Es File Explorer which I'm using right now you have to tap the menu button scroll down to root explorer option and in the menu that pops up there is an option to mount R/W.
ripcloing said:
It depends on the file manager which you are using. As far as I remember on the default file manager which comes preinstalled in CM10.1 you have to enable root mode from the settings and then on the top left corner you have to tick the lock button while in the /system directory. Then you have the option to mount /system as R/W. On Es File Explorer which I'm using right now you have to tap the menu button scroll down to root explorer option and in the menu that pops up there is an option to mount R/W.
Click to expand...
Click to collapse
after moving app to system/app it is not working just closing(after mounting)
I' m not sure I understand what you are trying to do. Are you trying to move an .apk file from your data/app folder to system/app? I don't think that android works that way but I'm a noob!
The method that I mentioned above works if for example you want to delete a system app.

[GUIDE] WIPE multiple SD-EXT partitions with TWRP recovery

Welcome guys, with this short guide you'll be able to wipe any number of SD-EXT partitions with the help of a powerful feature inside TWRP recovery. Furthermore you'll get always fresh ext4 partitions without journal in just one shot.
TOOLS
1. MiniTool Partition Wizard (Google it if you don't have it already installed).
2. TWRP recovery 2.3.6.0 for Pico (click here).
INSTRUCTIONS
1. Get your ext4 partions done with MiniTool Partition Wizard. You can see here a very good guide.
2. Insert your SD card into Pico and boot into TWRP recovery.
3. Once inside TWRP, click MOUNT button. Check that SD-Ext is not selected (unmounted), otherwise you could damage your partition.
{
"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. Go back to start screen and tap ADVANCED button then TERMINAL COMMAND button. Check that it is in Root folder (/). Tap SELECT button.
5. Write the folowing inside the command window and press enter.
Code:
mke2fs -t ext4 -O ^has_journal /dev/block/mmcblk0p2
6. Repeat the process if you have more sd-ext partitions, you just have to edit the last number in the command line and press enter (for 2 sd-ext partitions mmcblk0p2 is first partition and mmcblk0p3 is second partition).
7. Now you have fresh formated ext4 partitions and without journal for maximum speed. Now flash your favorite ROM that supports multiple sd-ext partitions and ENJOY!
8. Repeat this process (from number 3) whenever you'll flash a new ROM. I hope one day TWRP incorporates multiple SD-ext partitions handling.
SPECIAL THANKS
@#define for porting awesome TWRP recovery to Pico.
@Dees_Troy and TeamWin project members for making the best Recovery out there.
@cute_prince for his great idea of multiple sd-ext partitions and OC for Pico.
you could also try using the Aroma File Manager for shell access
http://forum.xda-developers.com/showpost.php?p=42928510&postcount=1 I have to follow the whole procedure or only PART 1 : Preparing The SDcard . I already have Single SD-EXT partition.
droidbot678 said:
http://forum.xda-developers.com/showpost.php?p=42928510&postcount=1 I have to follow the whole procedure or only PART 1 : Preparing The SDcard . I already have Single SD-EXT partition.
Click to expand...
Click to collapse
Just the part related to creating the partitions! One sd-ext can be created with any recovery. For more than one we need MiniTool.
thewisenerd said:
you could also try using the Aroma File Manager for shell access
Click to expand...
Click to collapse
But the good thing is TWRP has it all!
cornholio_rules said:
Just the part related to creating the partitions! One sd-ext can be created with any recovery. For more than one we need MiniTool.
Click to expand...
Click to collapse
Thanks, btw in that guide (http://s11.postimg.org/yjknyd51v/image.png) SD-DATA and SD-CACHE were done. And Amal said that partition should be SD-SYSTEM , SD- DATA. I'm confused here.. PFA of my sdcard partition!
droidbot678 said:
Thanks, btw in that guide (http://s11.postimg.org/yjknyd51v/image.png) SD-DATA and SD-CACHE were done. And Amal said that partition should be SD-SYSTEM , SD- DATA. I'm confused here.. PFA of my sdcard partition!
Click to expand...
Click to collapse
Don't worry, names doesn't matter, just the order. First ext4 partition from top to bottom (in MiniTool) will be mmcblk0p2 and so on.
But twrp doesn't mount sd-ext 4 from mini tool
ahmadmemon said:
But twrp doesn't mount sd-ext 4 from mini tool
Click to expand...
Click to collapse
That was like 10 years ago dude!
cornholio_rules said:
But the good thing is TWRP has it all!
Click to expand...
Click to collapse
IMO, I find it easier to type in Aroma's Terminal, even though I have TWRP
Is there any way to type the command conviently?
---------- Post added at 07:06 AM ---------- Previous post was at 06:56 AM ----------
icame to a key called kill.is it alright
?
wsdyleon said:
Is there any way to type the command conviently?
---------- Post added at 07:06 AM ---------- Previous post was at 06:56 AM ----------
icame to a key called kill.is it alright
?
Click to expand...
Click to collapse
The keyboard in TWRP is very good but tiny as everything in Pico, just tipe in carefully.
Don't touch that 'kill' button, leave the magic work. Kill is always bad!
no os found
after creating 3 ext as ext 2 ,3 n 4 ........i success fully installed rom but i found error as no os found ??? help
I have 3 ext4 partitions, created via MiniParition Tools
SD-SYSTEM ---> EXT4 ---> 500 mB is enough
SD-DTA ----> EXT4 ----> 1 GB
SD-CACHE ---> EXT4 ---> 150 MB
SD-EXT unmounted, and command "mke2fs -t ext4 -O ^has_journal /dev/block/mmcblk0p2" (last digit 3 and 4) doesn't work. But sometimes it works...
Can't understand why...?
and

[OTA] ADB-Enabler - Flashable UPDATE.ZIP File

{
"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"
}
This tool is not meant to be used on Android devices with dm-verify or Android Verify Boot (AVB) enabled
Every Android device has a stock recovery installed. That default recovery typically at least offers you the 4 options
reboot system now
apply update from sd card
wipe data factory reset
wipe cache partition
thus you can place any valid update.zip in device's SD-card slot and update your Android from external SD-card.
Because being in recovery mode Android isn’t loaded, the Android system files are not placed in memory, which means they can be accessed, edited and replaced.
That fact allows Android users to enable ADB on their devices what natively support ADB, if they haven't done it yet, for whatever reason.
Download the signed ADB.Enabler.OTA.ZIP from here . IMPORTANT: Rename it to UPDATE.ZIP before you make use of it.
If you get error "Signature verification failed" means that OEM/Carrier blocked to flash a 3rd-party OTA. You would need to have a Custom Recovery like CWM/TWRP already installed and use that to flash the ADB.Enabler.OTA.
HTH
link not working
I am looking for zip that can enable usb-debugging and disable RSA keys without touching /data (encrypted/not mountable):
- boot.img
- system.img A-only SAR system-as-root device
I tried modifying build.prop and default.prop manually but it seems adbd is not running at all
got inspired by @ehteshamxa and created some flashable zip which does NOT modify system files. instead own files added
Code:
/system/etc/init/99userinit.rc
/system/xbin/99userinit_daemon
/sdcard/userinit.sh
/sdcard/rsa_copy
Instructions:
- install userinit-rsa_copy-flashable.zip
- install Magisk.zip
- copy adbkey.pub to SD Card
USE AT OWN RISK
aIecxs said:
got inspired by @ehteshamxa and created some flashable zip which does NOT modify system files. instead own files added
Code:
/system/etc/init/99userinit.rc
/system/xbin/99userinit_daemon
/sdcard/userinit.sh
/sdcard/rsa_copy
Instructions:
- install userinit-rsa_copy-flashable.zip
- install Magisk.zip
- copy adbkey.pub to SD Card
USE AT OWN RISK
Click to expand...
Click to collapse
is root required?
No root required. Magisk is recommended for easy avb/dm-verity disable, but of course one can also place the files manually by unpack/repack (simg2img/sdat2img) flash tool method.
optional:
- copy sqlite3 binary to SD Card
(get it from here credits: @DiamondJohn)
- copy Magisk-v23.0.apk to SD Card
(credits: topjohnwu you all know of course)
have added example code in userinit.sh that can authorize su permissions for adb shell. useful on broken screen in case one can't get scrcpy to work on boot-loop
(credits: @mirfatif for magisk.db injection)
rsa_copy works also from emulated storage if one edit the path in first line:
Code:
sdcard=/sdcard
on locked screen external MicroSD Card is only available location as MTP might not work. in that case place files from PC card reader and insert back
remember the whole purpose of that backdoor is inaccessible userdata partition, otherwise one could just add rsa_copy or 99userinit_daemon to /data/adb/service.d systemless-ly instead (or most straightforward inject /data/misc/adb/adb_keys directly).
once got su shell one can backup partitions, for example:
Code:
adb shell su -c "cat /dev/block/dm-0 2> /dev/null" > userdata.img
edit: visit main thread for more discussion
https://forum.xda-developers.com/showthread.php?t=2965462
FIX THE LINK
@AlinTecsan​So let me see f I understand well.T enable adb ub )I have stock A71 with android 11 I download this file (ADB.Enabler.OTA.ZIP file missing can u uplad it please?) the rename it in UPDATE.ZIP ,put it n SD restart handy n recovery mode selecting "Apply update fron SD card" and that will be all?
helen2 said:
@AlinTecsan​So let me see f I understand well.T enable adb ub )I have stock A71 with android 11 I download this file (ADB.Enabler.OTA.ZIP file missing can u uplad it please?) the rename it in UPDATE.ZIP ,put it n SD restart handy n recovery mode selecting "Apply update frn SD card" and taht will be all?
Click to expand...
Click to collapse
i didnt try yet i need this file this is gone as a cloud
AlinTecsan said:
i didnt try yet i need this file this is gone as a cloud
Click to expand...
Click to collapse
me to maybe I will sort ut all my troubles let we wait post is quite old :/
This won't work on stock recovery anyway, it's for custom recovery only

Categories

Resources