[ test ] swap memory on any kitkat roms - Sony Xperia L

i've tested in carbon roms with latest tunderzap kernel and fxp rom. i am not sure if this work on stock roms but you can try it by yourself.
1. download this app https://play.google.com/store/apps/details?id=eu.codlab.int2ext&hl=in
2. open and give root permission
3. move to setting tab and tick " send rescan" and "use per default"
4. a. click the original internal mounting point and change to : /mnt/media_rw/sdcard0
b. click the original internal mounting point and change to : /mnt/media_rw/sdcard1
c. click the ext.sdcard devices access and change to /dev/block/vold/179:33
d. click mount option and change to umask=0000
5.get back to main tab and click "external>internal" then tick " at boot " and reboot your phone. once reboot wait until toast/pop up notitication " superuser granted to android external 2 internal" and check your storage setting.
i am not responsible for malfunction device, bricking, or something else. and keep remember make sure you understand every step.

Related

[Guide] Dual Boot Any MMC Block Based Device with separate recoveries [NOOBS Welcom]

Ok guys this is my first tutorial, so bare with me. This all started when I wanted to dual boot my Note 10.1(N8013), & came across this thread. If I hadn't found that thread, I would never have come up with this, so thanks are owed to the author. Now then, enough with my ramblings, lets get to the point.
What will this guide get you?
With this guide, you'll get two completely separate ROMs, each with their own recovery menu, so you will be able to use the recovery menu on each ROM individually. You'll also get scripts for switching between roms, & recoveries.
What is required?
*Android Device with MMC Partitons(Ex: mmxblk0p1)
*Computer with Windows
*USB Sync Cable
*8 GB or larger MicroSD Card
Prepping SD Card:
Backup your sd card if you want to keep your data. Install AParted onto you device from the Play Store. Open Aparted, granting root access when prompted. Decline the "Agreement" because it will just try to install junk. Tap "configuration", then tap the drop box under "Detected devices". You should see "mmcblk0", "mmcblk1", and possibly "usbdisk". If you don't have both "mmcblk0", & "mmcblk1", then stop here, because this guide isn't for you. If you do, then select "mmcblk1" from the list, tap "Save", then "OK". Tap "TOOLS", you should now see parts 1 through 4, "Part: 1" should say fat32 or similar, and say the size in MB of your external SD card. If it does, then tap the checkbox next to "Part: 1", next tap the drop box that says "Create", select "Delete" and tap apply. Once done, all parts should say empty, now for the semi-hard part. We're going to create 4 partitions. The first partition is going to be the standard external sd partition, that will show up in both roms, lets make it. Tap "CREATE" on the top, tap "+", tap the box with "0MB" in it, set it to the size you want the card to be, keeping in mind, that we need at LEAST 4972MB of space for the second ROMs' partitions. Also the more space you leave, the more space you can put into the second ROMs' "Internal" memory. Tap "+" once more, tap the "0MB" box again, this time putting in "1537", tap "+", this time put 839. On the next one put the rest of the remaining space into the box, this one is the data partition, aka the internal memory of the second rom. Tap the menu button, and tap "Apply changes", when done we are finished with the partition setup.
Getting Necessary Files:
You'll need to dump your boot.img, so you can switch between the ROMS(Google is your friend.). Download the ROM you want to use as the second(Has to be CWM flashable). Be sure this ROM has a boot.img included, if it doesn't, then take the boot.img you dumped, and put it into the root of the ROM. Next we need to get the proper GAPPS for the ROM we're installing (If it's a ROM that requires GAPPS.). Next we want to get a recovery, cwm, stock, etc. We need to get the recovery.img of the recovery we want to use, for cwm, you can just open the tar.md5 in WinRAR, and extract this file. Finally you need to download the attached Application I've created especially to convert ROMs to run from the SD Card, it also modifies recovery.img to apply any changes to the SD card ROM, instead of the Internal ROM. I haven't scanned it for viruses, but I don't think it should be a problem, of course you're free to check it if you like, in fact I encourage that you do.
Getting Important Info About Device:
We need to find out what block corresponds to what partition of the devices' internal ROM to input into the application, so it can replace them in the ROM. If your device is a Note 10.1(N8013) then you can skip this section, because the configuration file for that device is already in the attached archive. You need the block numbers for, System, Data, Cache, Boot, & Recovery(Ex: mmcblk0p1). If you can't find them on Google, then you can find it using adb. With the device connected, and with usb debbuging enabled. In cmd type "adb shell cat /proc/emmc", you should see a list of blocks(Ex: mmcblk0p1), with corresponding labels(Ex; /system). Take note of the blocks with the labels,System, Data, Cache, Boot, & Recovery, or similar. If typing "adb shell cat /proc/emmc" doesn't give you labels or doesn't show any information at all, then you'll need to find the labels for the blocks on google.
Using ROM 2 SD:
Extract "ROM-2SD.rar", copy the ROM you with to install into the "Original ROMs" folder, copy GAPPS into "GAPPS" folder(If ROM requires GAPPS) , & copy the "recovery.img" file into the "Recovery" folder. Run "ROM 2 SD.exe", check "Create modified recovery", don't check "Flash boot.img on install", check "Merge GAPPS" (If the ROM requires GAPPS, this will make sure GAPPS are installed when the rom is.). Click "Browse...", select rom from the menu. If you have the N8013 click the "Device:" drop down menu, and select "Note 10.1 (N8013)". If not type "mmcblk1" into "SD Mount:', and put the appropriate block into the corresponding text box. Click convert rom, click "Ok". Select GAPPS, and recovery when prompted to. when you get the prompt that its done, close the application.
Installing the ROM:
First, copy the unmodified/dumped boot.img to the EXTERNAL sd card. as bootStock.img. Next, copy the boot.img from the "Converted ROMs\[ROM_NAME]" folder to the EXTERNAL sdcard as bootSD.img. Now, copy the recovery.img from the "Converted ROMs\[ROM_NAME]" folder to the EXTERNAL sdcard as recoverySD.img. Finally, copy the unmodified recovery.img to the EXTERNAL sd card. BACKUP YOUR ROM BEORE GOING ANY FURTHER! Copy the converted ROM from "Converted ROMs\[ROM_NAME]\[ROM_NAME].zip" to the EXTERNAL sd card. Install the ROM as you usually would. After installing the ROM reboot, your device should boot into an unchanged Internal ROM, as if nothing has changed. Now we will create a script to boot into the newly installed ROM. Open notepad and copy the following(Replacing path to external sd, boot block, & recovery block.)
Code:
#!/system/bin/sh
#Flash boot
dd if=/path/to/extsd/bootSD.img of=/dev/block/[BOOT_BLOCK_HERE]
#Flash recovery
dd if=/path/to/extsd/recoverySD.img of=/dev/block/[RECOVERY_BLOCK_HERE]
reboot
Save the file as "Boot_SD.sh", and copy it to the EXTERNAL sd. Don't Run it yet, because it'll flash the recovery, we want to make sure the second ROM will boot first so you can use the recovery menu to fix it if not. Connect the device to the computer, open cmd, & type "adb shell", "su", "dd if=/path/to/extsd/bootSD.img of=/dev/block/[BOOT_BLOCK_HERE]", if that finishes successfully, then type "adb reboot". the device should reboot into the second ROM, if it does then the install was successful, and we can now proceed to create the Boot Stock script, path to external sd will be different on a custom ROM from the stock ROM:
Code:
#!/system/bin/sh
#Flash boot
dd if=/path/to/extsd/bootStock.img of=/dev/block/[BOOT_BLOCK_HERE]
#Flash recovery
dd if=/path/to/extsd/recoveryStock.img of=/dev/block/[RECOVERY_BLOCK_HERE]
reboot
Save as Boot_Stock.sh, copy to EXTERNAL sd. Then run the script as root using Root Browser, or whatever you usually run scripts with. The device should then reboot, if it doesn't then you probably need to search Google on how to root of adb. Once it reboots, I should boot back into the first ROM. You can now run the script we created first at any time to get back to the second ROM. We're almost done run the script to boot sd, then boot into recovery, the way you normally do. This recovery should only affect the Second ROM, to test this clear the davlik cache, & reboot into the ROM if it has to prepare a number of apps, then you know it works, and its safe to use the recovery, whenever you run a script the corresponding recovery will be flashed, so you can use the recovery on the second ROM, as you would on the stock ROM.
Notes:
Whenever you want to install an updated version of your ROM, you must run the ROM through ROM 2 SD, just like we did earlier. After you know this is compatible with your device, you can check "Flash boot.img on install" which will automatically flash the boot.img when you install the ROM. Don't forget to copy the converted boot.img to the external sd as bootSD.img, any time you install a new ROM/Update. GAPPS can be installed from recovery without modification, just make sure you do it when the recovery is on the second rom. Let me know of any bugs in my application, or with this tutorial, I will make the necessary changes ASAP.
​

[Q&A] [Tipo][Tipo Dual][Miro][J]Clockworkmod[Locked/Unlocked Bootloader]

Q&A for [Tipo][Tipo Dual][Miro][J]Clockworkmod[Locked/Unlocked Bootloader]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Tipo][Tipo Dual][Miro][J]Clockworkmod[Locked/Unlocked Bootloader]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
I format system partition and reboot before installing compatible ROM. CWM will also get erased during format,and usb not connet with system.
It only show sony symbol
What should i do?
Please help me...
dayalcalicut said:
I format system partition and reboot before installing compatible ROM. CWM will also get erased during format,and usb not connet with system.
It only show sony symbol
What should i do?
Please help me...
Click to expand...
Click to collapse
Did you install boot.img from other ROM??
Read this link first: http://xperiafirmware.com/2-uncategorised/30-androxyde-xperia-flashtool
2. Download flashtool from
http://www.firmwaremobile.com/index.php/xperiadownload/file/233-flashtool-9-2014
3. Download the firmware from
http://d-h.st/nCu
4. Install the flashtool in C:
5. Go to C:\flashtool\flashtool drivers and install the drivers
6. paste the ftf firmware file downloaded in step 3, to folder „Firmware“ included in the XPERIA Flashtool i.e. C:\flashtool\firmwares
7. open the XPERIA Flashtool, click on flash and choose downloaded firmware, than click ok. Important - if you do not want to delete any data of your phone, just uncheck flashing userdata.sin file. All data will remain in your phone, but sometimes it can cause additional troubles. So it is better (and I recommend that) to do the backup of your personal data, than proceed with clean instalation and then restore your personal data.
8.*turn off your phone and when Flashtool shows pop up window, connect phone to PC with holding volume down button*
9. after few minutes all is done and your phone gets started
Hit thanks if it helped!! And tell me when it is done
help
I cant connect usb of phone with my pc,it shows any detected device.
Is can i use flash tool in this situation
dayalcalicut said:
I cant connect usb of phone with my pc,it shows any detected device.
Is can i use flash tool in this situation
Click to expand...
Click to collapse
Install the fastboot and flashmode drivers and then try again
plz clear. ma doubt..!!
Battery_charging
#!/system/xbin/sh
cat /dev/input/event2 > /dev/keycheck&
sleep 3
kill -9 $!
if [ -s /dev/keycheck -o -e /cache/recovery/boot ]
then
# fixing CPU clocks to avoid issues in recovery
echo 1008000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 245000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
rm /cache/recovery/boot
# remount rootfs rw
mount -o remount,rw rootfs /
# Umount
## /data/idd
umount -l /dev/block/mmcblk0p15
## /data
umount -l /dev/block/mmcblk0p11
# Mount recovery partition
cd /
rm -r /sbin /sdcard
rm -f etc init* uevent* default*
if [ -f /system/bin/recovery.tar ]
then
tar -xf /system/bin/recovery.tar
fi
# Umount /system
umount -l /dev/block/mmcblk0p10
# chroot
chroot / /init
fi
# Continue booting
/system/bin/battery_charging_help $1
in this file what does that 3rd line implement
In my Xperia j I get a black screen
And in that file it is written that
"sleep 3"
is there any relationship between them??
ST23I Cannot Install ROM after Clockworkmod Install , any help appreciated
Hi all.
This 60 yr old bloke cant take stuff in too easy these days so please be patient with me.
I do the clockwork mod as in post #1
I check by turning phone ON and pressing down vol button . YES , It's now ROOTED and I get the options in clockwork-mod.
I clear cache and Delivik .
Now I try to install zip ( yes I put ..... http://forum.xda-developers.com/attachment.php?attachmentid=1702748&d=1359981583 ... Into my SD card , along with the gapps stripped.zip )
Unfortunately I I cannot get to the external_SD card as it is NOT mounted. I cannot even see it after I click "mount external-SD" .
To be truthful I am a little confused as to how I get a ROM either onto the Xperia ST23I internal memory or external SD card.
At one point I bricked it but used the sony PC companion and brought it back , I tried install CWM again and success but again have the same problem ... I cant get to the zips on external SD .
Any guidance would be appreciated , especially since I spent the last 3 days going round and round on forum threads.
Please explain ?
aksh1892 said:
Did you install boot.img from other ROM??
Read this link first: xxxxx
2. Download flashtool from xxxxx
3. Download the firmware from xxxxx
4. Install the flashtool in C:
5. Go to C:\flashtool\flashtool drivers and install the drivers
6. paste the ftf firmware file downloaded in step 3, to folder „Firmware“ included in the XPERIA Flashtool i.e. C:\flashtool\firmwares
7. open the XPERIA Flashtool, click on flash and choose downloaded firmware, than click ok. Important - if you do not want to delete any data of your phone, just uncheck flashing userdata.sin file. All data will remain in your phone, but sometimes it can cause additional troubles. So it is better (and I recommend that) to do the backup of your personal data, than proceed with clean instalation and then restore your personal data.
8.*turn off your phone and when Flashtool shows pop up window, connect phone to PC with holding volume down button*
9. after few minutes all is done and your phone gets started
Hit thanks if it helped!! And tell me when it is done
Click to expand...
Click to collapse
You say at No. 5 " Go to C:\flashtool\flashtool drivers and install the drivers " .
Please tell us how to do this ?
Mrstream said:
You say at No. 5 " Go to C:\flashtool\flashtool drivers and install the drivers " .
Please tell us how to do this ?
Click to expand...
Click to collapse
When you install Flashtool you'll have folder in Flashtool/drivers there is driver.exe just double click it select fastboot and flash drivers and install. If you have Windows 8/8.1 you'll have to disable signature verification first, search for it ther are plenty tutorials how to.
Xperia M2 D2303 on K.K. 4.4.4
Dzepar said:
When you install Flashtool you'll have folder in Flashtool/drivers there is driver.exe just double click it select fastboot and flash drivers and install. If you have Windows 8/8.1 you'll have to disable signature verification first, search for it ther are plenty tutorials how to.
Xperia M2 D2303 on K.K. 4.4.4
Click to expand...
Click to collapse
Hi, Thank you , your expalanation was very clear . Only problem is I do see all the drivers but there is none for ST23I which is my device.
If I look in Devices folder I DO see the ST23I folder ... BUT .. when I click in > C:\Flashtool\drivers then double click the ICON ( Flashtool-drivers ) it comes up with the options list and tick boxes yet my device is NOT shown . In fact NO ST devices are shown as options.
Still puzzled !
Mrstream said:
Hi, Thank you , your expalanation was very clear . Only problem is I do see all the drivers but there is none for ST23I which is my device.
If I look in Devices folder I DO see the ST23I folder ... BUT .. when I click in > C:\Flashtool\drivers then double click the ICON ( Flashtool-drivers ) it comes up with the options list and tick boxes yet my device is NOT shown . In fact NO ST devices are shown as options.
Still puzzled !
Click to expand...
Click to collapse
Just install sony pc companion.
Once installed , connect your phone in flashmode (green led) and it will install required drivers by itself.
Press the thumb up button on lower right hand corner of this post if I helped you.
Anupam_Dey said:
Just install sony pc companion.
Once installed , connect your phone in flashmode (green led) and it will install required drivers by itself.
Press the thumb up button on lower right hand corner of this post if I helped you.
Click to expand...
Click to collapse
Hi, I already have it installed and have used it several times ...... 2 times to unbrick and return to stock rom .
To be truthfull, I do appreciate your help but feel that I m out of my depth . Bit too old to take it all in .
I have clockwork installed but cannot get acces to any zips I put onto external SD . The problem is there is NO Boot image so I am still stuck with the stock rom. Even if I mount the External SD via CWM it does not give me access to external. I am trying to download the zips to the phone via my dropbox to phone internal memory . I will see how that goes. I am still messing , you never know I might just get lucky.
Once again ,thank you so much .
Emergency!
What i did is flash stock kernel with fusion kernel for Xperia miro. the phone won't boot. i reflashed stock kernel. in cwm i wiped system partition, cache, and dalvik cache and installed super jelly bean rom with stock kernel. upon reboot my phone is stuck in sony logo. i flashed fusion kernel again but no boot. lastly, i flashed stock kernel and is hung in bootloop. Can you hep me please. My stock rom is in sd card. if only i could acces it with cwm i'd restore my stock rom. please help me. thank you.
---------- Post added at 02:37 AM ---------- Previous post was at 02:23 AM ----------
Mrstream said:
Hi all.
This 60 yr old bloke cant take stuff in too easy these days so please be patient with me.
I do the clockwork mod as in post #1
I check by turning phone ON and pressing down vol button . YES , It's now ROOTED and I get the options in clockwork-mod.
I clear cache and Delivik .
Now I try to install zip ( yes I put ..... http://forum.xda-developers.com/attachment.php?attachmentid=1702748&d=1359981583 ... Into my SD card , along with the gapps stripped.zip )
Unfortunately I I cannot get to the external_SD card as it is NOT mounted. I cannot even see it after I click "mount external-SD" .
To be truthful I am a little confused as to how I get a ROM either onto the Xperia ST23I internal memory or external SD card.
At one point I bricked it but used the sony PC companion and brought it back , I tried install CWM again and success but again have the same problem ... I cant get to the zips on external SD .
Any guidance would be appreciated , especially since I spent the last 3 days going round and round on forum threads.
Click to expand...
Click to collapse
You said, "At one point I bricked it but used the sony PC companion and brought it back , I tried install CWM again and success". Can you please explain how did you do it?

[TUTORIAL][GUIDE][HOW TO] Root Alcatel One Touch Pop S3 5050 | Every Android version

Hi everyone,​I have been in possession of an Alcatel One Touch Pop S3 5050 for quite a long time and was not able to root it until recently.
I will share my method in this topic but first of all, I have to thanks Decker.Kaluga for developing a custom CWM recovery image that kind of work on this device. You can find a good tutorial on how to install CWM on OT-6036Y or OT-6050Y on his website.
My second thanks goes to morgs640 for the idea of adapting Decker's work on Alcatel Pop S3.​
This method may work with other Alcatel devices, see last question in the FAQ section for more informations.
This method should not arm your device but as any root operation, there is always a risk. I am not responsible if anything goes wrong.
Click to expand...
Click to collapse
Step One
- Download Decker's custom CWM recovery here: cwm_alcatel_6050y.7z
- Unzip it
- Install adb drivers
Step Two
- Download latest zip version of Supersu from Chainfire, currently the 2.46
- Rename the archive as update.zip
- Put this file in the CWM recovery folder
Step Three
- Connect the device in USB, activate debug option and make sure adb is working by going to the folder where you have unziped the custom recovery
Code:
adb devices
- Navigate inside the device memory to identify the location of the internal and external memory:
Code:
adb shell ls /storage/
For internal memory, it should be:
Code:
/storage/sdcard0
And for external memory (sdcard):
Code:
/storage/sdcard1
- Push the Supersu zip file to external memory
Code:
adb push update.zip /storage/sdcard1/
- Take note of the position of the update.zip file inside the external memory
Code:
adb shell ls /storage/sdcard1/
In my case, this command returns:
Code:
- Android
- DCIM
- Documents
- Download
- LOST.DIR
- Pictures
- Ringtones
- data
- media
- update.zip
My update.zip file is in 10th position.​
Step Four
- Reboot the device in fasboot by pressing Volume Down and Power until logo Alcatel pop S3 appears
- Verify the device is connected:
Code:
fastboot -i 0x1bbb devices
Boot the device with the custom recovery:
Code:
fastboot -i 0x1bbb boot cwm_recovery_6050y.img
NOTE: This does not install the custom recovery on the phone so pressing Power during 5 seconds will reboot the phone normally.
The screen will turn white, wait until it stabilizes.
The screen will remain white as the recovery is not specially developed for this device but it should work anyway.​
Step Five
This is the tricky part, the menu does not display but the recovery is running anyway.
The menu you are not seeing is the following:
Code:
> reboot system now
> install zip
> wipe data/factory reset
> wipe cache partition
> backup and restore
> mounts and storage
> advanced
By default the cursor is on the first option.
- Press Volume Down once then Power to enter the install zip option.
This menu will be opened:
Code:
> choose zip from /sdcard
> choose zip from /storage/sdcard1
> choose zip from last install folder
> install zip from sideload
> toggle signature verification
+++++Go Back+++++
- Press Volume Down once then Power to enter the choose zip from /storage/sdcard1 option.
This will open the external memory folder:
In my case:
Code:
Android
DCIM
Documents
Download
LOST.DIR
Pictures
Ringtones
data
media
update.zip
- As you know exactly the position of the update.zip file from Step Three, press Volume Down accordingly.
In my case, 9 times to go from Android folder to update.zip​- Then press Power
It will prompt for a confirmation:
Code:
> No
> Yes - install update.zip
- Press Volume Down once then Power to install.
- Finally, Press Power one more time to confirm installation, then reboot manually the device by pressing Power during 5 seconds.
If the process has been successful, when rebooting it will display a text saying that the list of application is being updated.
--------------------------------------------------------------------------------------------​
Edit:
As neileverett suggested, the external memory sdcard could be recognized as sdcard0 instead of sdcard1.
To determine how the sdcard is named by the system, I recommend to use a browser as ES File Explorer or Astro Manager to write down all the content of the external memory and compare this list to the result of the ls command from Step Three.
--------------------------------------------------------------------------------------------​
FAQ
Q: My device never connect in adb.
A: First verify that adb drivers are installed.
In my case when I connect the phone, it first emulates a CD player device with a folder containing the generic drivers.
I have to safely remove this emulated CD first (right click on the System Tray icon -> remove device) before the phone accepts to connect itself with MTP or ADB.
Q: I do not have a sdcard.
A: You can try to do the process with internal memory.
First, you will need to navigate the memory with adb shell to find Internal memory
Code:
adb shell
Code:
shell#ls /storage/
shell#ls /mnt/
...
Some examples of the possible location of the internal memory
Code:
/storage/emulated/
/storage/sdcard0
/mnt/shell/emulated/0/
etc.
Sometimes, you get a menu like this prior the actual content of the sdcard0 (internal memory)
Code:
/0/
/legacy/
/obb/
After entering in /0/ or in /legacy/ you should get the actual content of the memory.​- Then push update.zip to internal memory
Code:
adb push update.zip $INTERNAL_MEMORY_LOCATION
- In Step FIVE, while in the second menu, choose choose zip from /sdcard by directly pressing Power
From a system point of view, it can open /storage/emulated/ or /mnt/shell/emulated/ that means the folder opened will not be the Internal Memory but a parent folder.
I recommend that you try every possibility by:
- First considering that pressing choose zip from /sdcard led you to the actual Internal Memory content and you shall proceed as normally by looking for update.zip in the current folder.
If it did not work:
- Consider that a parent folder is displayed and the actual memory is in the first sub folder
- Press Power to enter the first sub folder (which may be the Internal Memory) and try to install update.zip​- Consider that a parent folder is displayed and the actual memory is in the second sub folder
- Press Volume Down then Power to enter the second sub folder (which may be the Internal Memory)​- ...
After each try, reboot and look for the pop-up saying that the list of application is being updated.
You can go on with up to 2 levels of sub folders.​
Q: I tried everything, it still do not work.
A: If you have a lot of folders and files in the Memory, the list of content on the CWM recovery will be displayed on several pages.
Make a backup of the Memory, then empty it and add only the update.zip file.
Restart then from Step One.
It should be easier to find the update.zip file.
Q: I own a different Alcatel model, could this trick work with my device?
A: First you can try the other CWM Recovery image Deckter has developed: cwm_alcatel_6036y_v2.7z
To verify that the recovery is correctly booting on the device, when the white screen stabilizes, try to press Power twice.
If the recovery is working, it will enter in the first menu (reboot system now) then confirm the reboot.
In case, after this manipulation, the phone does not reboot, it means the recovery is not working for your device.
(Credits @Decker.Kaluga)
(Credits @morgs640)
(Credits @ModernWorld)
I have just successfully used this method to root my Pop S3 - thanks for the method!
One thing to note:
I found that the method didn't work initially, then with some digging realised that my sdcard was mounted as sdcard0 rather than sdcard 1. It turns out this is because I had changed the default install location under settings - storage to 'external sd card' rather than the default of 'phone storage'.
I temporarily changed this setting back to 'phone storage', and then your process worked first time! Might be worth adding this info to the post?
Thanks once again!
OMG !
So it works with the last update available ?
Possible to have a viewable recovery in the future ?
Draky50110 said:
OMG !
So it works with the last update available ?
Click to expand...
Click to collapse
This should work with any update
Draky50110 said:
Possible to have a viewable recovery in the future ?
Click to expand...
Click to collapse
Decker is willing to develop a CWM for Alcatel Pop S3 but does not possess the device. You can support it on his website. You'll find a link in the description of the Tuto.
Thanks
first thank you for the help. but my visit is to ask permission to make a video tutorial and so Decker.Kaluga to advertise can buy the pops3 and thus make the cwm for it.
negurras said:
first thank you for the help. but my visit is to ask permission to make a video tutorial and so Decker.Kaluga to advertise can buy the pops3 and thus make the cwm for it.
Click to expand...
Click to collapse
Of course, feel free to post the link.
I need help.
When I enter into the custom recovery, it displays a menu. First choose a language. Then a selection. It says:
Reboot system now
Apply update from ADB
Apply update from sdcard
wipe data/factory reset
wipe cache partition
Chose apply update from sd card, it only shows ../
I have a Alcatel pop s3. Please I really need help.
Did you put the update.zip into your SD card ?
DanIgnes said:
When I enter into the custom recovery, it displays a menu. First choose a language. Then a selection. It says:
Reboot system now
Apply update from ADB
Apply update from sdcard
wipe data/factory reset
wipe cache partition
Chose apply update from sd card, it only shows ../
I have a Alcatel pop s3. Please I really need help.
Click to expand...
Click to collapse
It's because you entered in the Alcatel Recovery mode not in Fastboot mode.
From Alcatel Recovery you can only install application signed by Alcatel.
Fastboot mode displays the Alcatel Pop s3 white logo on a black background (this is the first logo that appears when booting normally). Fastboot doesn't display anything else.
To enter Alactel Recovery it's: Power + Volume Up
To enter Fastboot it's: Power + Volume Down
You can also enter in Fastboot by entering the following while still in adb at the end of Step Three:
Code:
adb reboot fastboot
Once in Fastboot, go on with Step Four and so on.
Thanks for this
Any methods in sim unlocking? costum ROMs?
working recovery for 5050x
Hi! I ported recovery for 5050x. screen is work, you can install zip and backup you partitions.
1. extract
2. cmd to folder recovery
3. shutdown phone
4. press Power + vol- on phone it vibrate and connect phone to PC
5. type to run recovery
fastboot -i 0x1bbb boot recovery.img
or to flash recovery
fastboot -i 0x1bbb flash recovery recovery.img
i can't go in fastboot mode
I can not seem to come into fastboot mode POWER + Vol- and with code
Can somebody please make a video tutorial of this? I would love to root my One Touch Pop Icon.
Thank you good job
TWRP 2.6.3.0
amraouifathi said:
Thank you good job
Click to expand...
Click to collapse
You welcome
I ported TWRP 2.6.3.0, but I have not checked thoroughly.
Before backup you mast mount /system /custpack in Mount menu or you cant see backups in Restore menu.
All work good just the fast start don't work please upload the stock recovery
Stock recovery
amraouifathi said:
All work good just the fast start don't work please upload the stock recovery
Click to expand...
Click to collapse
Stock_recovery
Oh thank you i try now lol you are very fast
update TWRP 2.6.3.0
TWRP 2.6.3.0
+system and custpack backup and wipe like one partition
+you can backup persist и firmware
The stock work now i test the twrp

Root with this Upadte_Kinguser.zip modded and get some extras!

Hi!
<<<<<<<The END of low storage>>>>>
I test it in L11 with B370 kit kat factory ROM. From 0.
!!!!Attencion!!!! 3G device users, read pinned post, you need to install SuperSU.zip first than this KingUser.zip to root OR WILL FAIL!!!!
In the step when you will install kinguser.zip change for this one, see the default tutorial here: https://www.facebook.com/groups/huawei.g6.development/permalink/578005512358705/
You need a primary external ext4 partition in sd card with the size you think you need for apps.
To create a primary ext4 partition in sd card with the size you want, you can use mini partition tool (for windows OS ).
http://www.partitionwizard.com/free-partition-manager.html
Need bootloader Unlocked:
https://www.facebook.com/groups/huawei.g6.development/permalink/504332286392695/
Need a custom recovery, i use TWRP for my L11, U models use more CWM, you can find it in G6SKnife.
Must have Windows OS to use G6SKnife:
https://www.facebook.com/groups/huawei.g6.development/permalink/577809609044962/
Than i modded this Kinguser flash zip that:
-Roots
-create a working init.d folder where you can store your scripts that will be executed on boot
-it will install busybox apk ( it need it to install some system tools )
- Rashr to change recoverys with the phone ( only need to have the images in sd card )
- It will automatically send all apps to your external ext4 partiton in sd card IF you have one!!!!
How to do it!!!!??????
READ IT CARFULL:
If you already have apps in phone do backup, use the phone default app for that.
Copy this zip to sd card:
UPDATE-Kinguser-3.4.0-Modded.zip
https://mega.nz/#!rhRknYDJ
Key:
!tnT9KAYOOcuSNm9eq7AcW_PHc2p-C4wjvssNI4IHAMU
Turn off and go to recovery ( TWRP or CWM ) by pressing at same time vol + and power.
Do a factory reset.
Go to install and search the UPDATE-Kinguser-3.4.0-Modded.zip and install it. The phone will reboot.
( A) After settings go to KingUser and open it to check if is ok than go back, open busybox, give root permissions, it will take some time seraching for old files than install it!!!!
( you will need this tools )
Reboot, and is done.
If you start from flash is the same process.
Now your apps go all to sd card.
This video show a flash of B370 and the root with this KingUser.zip:
https://youtu.be/CcFdbS20RrY
If anyone try it, please, let your comments!
Thanks
Failure...
Non Root...
Thank you very much persona78 for your continued efforts to help out your fellow G6 users!
I followed your instructions with partial success (see below).
Some notes during this process:
1. To obtain unlock key I had to visit http://www.emui.com/plugin.php?id=unlock&mod=detail The URL you posted does not work anymore and it also seems that the unlocker is only available in Chinese right now, however Google Translate does a good job!
2. To obtain the serial number I dialed *#*#2846579159#*#*, then menu "VeneerInfoQuery", then "OtherQuery", there I found the S/N number and also IMEI (which can also be obtained in settings / about phone)
3. The model I had to enter on the website was "HUAWEI P7 mini", not "HUAWEI G6-L11", corresponding to the text in settings / about phone.
4. I used Linux fastboot to unlock and flash your TWRP2d.img
5. In TWRP I flashed UPDATE-Kinguser-3.4.0-Modded.zip
Root works and the other apps are installed. Busybox installation was successful as well. I did not test with ext4 partition on SD card yet.
Thanks again!
Today I tried the ext4 sdcard feature. It works as expected. Some comments:
1. You do not need a sdcard reader on your PC to change the sdcard partitioning. You can also use the phone itself by connecting via USB and selecting "Mass storage" mode. Then you can use the partitioning tool on the drive (I used gparted on Linux). Note that mass storage mode will also show the "sdcard"/media part of the internal ram as a separate drive but this is not partitionable.
2. Why do you mount both app and app-lib into the same directory? Will there be no name clashes? I would rather suggest you do:
Code:
mount -t ext4 -o rw /dev/block/vold/179:66 /data/sdext4
mkdir -p /data/sdext4/app /data/sdext4/app-lib
mount -o bind /data/sdext4/app /data/app
mount -o bind /data/sdext4/app-kib /data/app-lib
3. In your description of the mod you should mention that it changes the minimum scaling frequency.
4. I suggest you use this Busybox package: https://f-droid.org/repository/browse/?fdfilter=busybox&fdid=ru.meefik.busybox
It is much faster in installation, and 100% free software
Thanks again!

How To Guide How to root 23+ and have full access to system partitions :)

Hello guys,
I've just finished rooting my S23+ with full access to system partition and I decided to make a "how to" explanation for noobies like me, as there is none at this moment and took me a lot of time to put all together. I'm not a developer, only a user so...
Be aware that rooting your phone will trip KNOX so you'll probably lose the warranty (beside the other stuff - see first step)!
First step: rooting S23+
Best way to explain how to root S23 (all of them) is done here by @dr.ketan :
How to Root S23 (S91*B/N/0)
How to Root Samsung S23 (SM-S91*B/N/0) WARNING! Before you root your device you must be aware that This will void warranty. As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help. There are...
forum.xda-developers.com
1. Just make sure, when you just installed Magisk (at "Instructions for stock non rooted ROM") that you check that Ramdisk is reported: "Yes" (as mentioned here: https://topjohnwu.github.io/Magisk/install.html#magisk-in-recovery ) and if that is true, you can continue with the instructions. If is not ("Ramdisk No" is probably not going to happen for S23, but just to be sure I'm mentioning it) then continue with the instructions from @topjohnwu
2. When you flash the rooted AP (see step 7), add also the TWRP recovery as "USERDATA" (see this post of @dr.ketan : https://forum.xda-developers.com/t/how-to-root-s23-s91-b-n-0.4548883/post-88465195
TWRP is available thanks to @afaneh92 here: https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-s23-plus.4558747/ , download it and use it as is mentioned above.
Now you have a rooted S23+ with TWRP so you can continue with second step: making your system partitions read-write (at this point they are read-only). Before that just make sure you copy /efs folder to your internal storage of the phone and from there to your computer. That contain very important info about your phone and a backup is a must.
Second step: making system partitions read-write
For that you need to use RO2RW tool made by @LeeGarChat available here: https://forum.xda-developers.com/t/...system-partitions-to-read-write-mode.4521131/
Download RO2RW-TEST-3.7.3.0s.zip from here https://sourceforge.net/projects/multi-function-patch/files/RO2RW/?upload_just_completed=true , put it in phone storage and install it with Magisk module. Make sure that it is enabled.
Install a terminal emulator (like this one: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en_US )
Start the terminal and type: "su" then hit enter, then type "ro2rw" and hit enter again.
Now RO2RW is started and asking first option. Choose 1 (Make/Install) and hit enter.
Second question is about how much to expand the default size of system partitions. I choose option 5 (30Mb) as I want to delete stuff like google apps from those partitions and I don't want to increase them), then hit enter again, choose 1 (Continue) and hit enter again.
Next is about installing the Disable Force Encryption. I choose 1 (Skip) and hit enter. Now it will take some time doing stuff and will ask to hit any key to continue, just hit enter again.
Next is about removing something, just chose 2 (No) and hit enter.
Next is about backup: hit 1 (Yes) as you want to make a backup just in case... and hit enter.
Next is to chose about the backup type. Hit 2 (Recovery/Row) as you have TWRP to flash it if needed.
Next is to chose about the type of the output of your new image to flash. Chose 2 (Recovery/Row) as you have TWRP to flash. After this will take some time to finish the job... be patient.
Next is to chose if you want to force disable verification. Chose 1 (Force disable) and hit enter and done: you have the file to flash.
Before flashing, just connect the phone to your computer and copy the backup files from /internal storage/RO2RW_SUPER (you should find: super-backup-row-recovery.img, vbmeta.original.img and vbmeta_system.original.img).
Now go to Magisk, press the round arrow next to settings in up right corner and hit reboot to recovery. When in recovery TWRP just hit install, then install image, choose your file: super-rw-row-recovery.img (make sure you chose the right one and not a backup ) then for Select Partition to Flash Image select the last option: Super (system vendor........) then swipe to confirm flash and that's it. After flash you might be throw back to TWRP, just hit Reboot then chose System (maybe you'll have to do it twice) then you'll be back to your S23+ with full rw rights
Now you can use Root Explorer or whatever root file explorer you want to play.
Enjoy!
firsthtc said:
Hello guys,
I've just finished rooting my S23+ with full access to system partition and I decided to make a "how to" explanation for noobies like me, as there is none at this moment and took me a lot of time to put all together. I'm not a developer, only a user so...
Be aware that rooting your phone will trip KNOX so you'll probably lose the warranty (beside the other stuff - see first step)!
First step: rooting S23+
Best way to explain how to root S23 (all of them) is done here by @dr.ketan :
How to Root S23 (S91*B/N/0)
How to Root Samsung S23 (SM-S91*B/N/0) WARNING! Before you root your device you must be aware that This will void warranty. As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help. There are...
forum.xda-developers.com
1. Just make sure, when you just installed Magisk (at "Instructions for stock non rooted ROM") that you check that Ramdisk is reported: "Yes" (as mentioned here: https://topjohnwu.github.io/Magisk/install.html#magisk-in-recovery ) and if that is true, you can continue with the instructions. If is not ("Ramdisk No" is probably not going to happen for S23, but just to be sure I'm mentioning it) then continue with the instructions from @topjohnwu
2. When you flash the rooted AP (see step 7), add also the TWRP recovery as "USERDATA" (see this post of @dr.ketan : https://forum.xda-developers.com/t/how-to-root-s23-s91-b-n-0.4548883/post-88465195
TWRP is available thanks to @afaneh92 here: https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-s23-plus.4558747/ , download it and use it as is mentioned above.
Now you have a rooted S23+ with TWRP so you can continue with second step: making your system partitions read-write (at this point they are read-only). Before that just make sure you copy /efs folder to your internal storage of the phone and from there to your computer. That contain very important info about your phone and a backup is a must.
Second step: making system partitions read-write
For that you need to use RO2RW tool made by @LeeGarChat available here: https://forum.xda-developers.com/t/...system-partitions-to-read-write-mode.4521131/
Download RO2RW-TEST-3.7.3.0s.zip from here https://sourceforge.net/projects/multi-function-patch/files/RO2RW/?upload_just_completed=true , put it in phone storage and install it with Magisk module. Make sure that it is enabled.
Install a terminal emulator (like this one: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en_US )
Start the terminal and type: "su" then hit enter, then type "ro2rw" and hit enter again.
Now RO2RW is started and asking first option. Choose 1 (Make/Install) and hit enter.
Second question is about how much to expand the default size of system partitions. I choose option 5 (30Mb) as I want to delete stuff like google apps from those partitions and I don't want to increase them), then hit enter again, choose 1 (Continue) and hit enter again.
Next is about installing the Disable Force Encryption. I choose 1 (Skip) and hit enter. Now it will take some time doing stuff and will ask to hit any key to continue, just hit enter again.
Next is about removing something, just chose 2 (No) and hit enter.
Next is about backup: hit 1 (Yes) as you want to make a backup just in case... and hit enter.
Next is to chose about the backup type. Hit 2 (Recovery/Row) as you have TWRP to flash it if needed.
Next is to chose about the type of the output of your new image to flash. Chose 2 (Recovery/Row) as you have TWRP to flash. After this will take some time to finish the job... be patient.
Next is to chose if you want to force disable verification. Chose 1 (Force disable) and hit enter and done: you have the file to flash.
Before flashing, just connect the phone to your computer and copy the backup files from /internal storage/RO2RW_SUPER (you should find: super-backup-row-recovery.img, vbmeta.original.img and vbmeta_system.original.img).
Now go to Magisk, press the round arrow next to settings in up right corner and hit reboot to recovery. When in recovery TWRP just hit install, then install image, choose your file: super-rw-row-recovery.img (make sure you chose the right one and not a backup ) then for Select Partition to Flash Image select the last option: Super (system vendor........) then swipe to confirm flash and that's it. After flash you might be throw back to TWRP, just hit Reboot then chose System (maybe you'll have to do it twice) then you'll be back to your S23+ with full rw rights
Now you can use Root Explorer or whatever root file explorer you want to play.
Enjoy!
Click to expand...
Click to collapse
Great tutorial! I have found that making the instructions an unordered list makes them easier to read. Also, I personally prefer Termux for a terminal emulator, but that's just my opinion.
Great!
One question: will it stay RW after wiping / formatting data in twrp?
Edit: it does. after wiping in twrp the rw is still there. i dont know how's with updating the fw with odin (home_csc), i guess we'll find out soon
Thanks for sharing! Works perfect!
The_SloPro said:
Great!
One question: will it stay RW after wiping / formatting data in twrp?
Edit: it does. after wiping in twrp the rw is still there. i dont know how's with updating the fw with odin (home_csc), i guess we'll find out soon
Click to expand...
Click to collapse
Updating via ODIN will replace the partitions so you will lose R/W.
@JohnTheFarm3r: yeah. But with the steps you can reenable it again.
How did you got rid of the RO2RW and NEO.LOGS directory?
I need the rw fix for debloating and removing unwanted/unneeded Apps. On other Android 13 devices i saved like that around 5GB Space.
I dont care about NEO.LOGS its small log, but in RO2RW there are 2 times >11GB wasted that i cant delete. I copied them to my desktop/blackup and wanted to delete them on the s23. But i cant.
I also cant take them over or anything. Also not in terminal.
Maybe with TWRP?
===edit===
TWRP works fine. Just switch off all PIN/Pattern,Fingers so that you can access the internal storage.
In TWRP is a Filemanager. A Backup of these files makes sense, but if you flash back your magisk AP and reinstall everything again you can also do the RO2RW Steps to again full access.
Thanks to all who made this possible.
4summer said:
@JohnTheFarm3r: yeah. But with the steps you can reenable it again.
How did you got rid of the RO2RW and NEO.LOGS directory?
I need the rw fix for debloating and removing unwanted/unneeded Apps. On other Android 13 devices i saved like that around 5GB Space.
I dont care about NEO.LOGS its small log, but in RO2RW there are 2 times >11GB wasted that i cant delete. I copied them to my desktop/blackup and wanted to delete them on the s23. But i cant.
I also cant take them over or anything. Also not in terminal.
Maybe with TWRP?
===edit===
TWRP works fine. Just switch off all PIN/Pattern,Fingers so that you can access the internal storage.
In TWRP is a Filemanager. A Backup of these files makes sense, but if you flash back your magisk AP and reinstall everything again you can also do the RO2RW Steps to again full access.
Thanks to all who made this possible.
Click to expand...
Click to collapse
You can, only if you keep your storage decrypted, otherwise you won't be able to use the RW mod that repacks your partitions since it needs access to the internal storage to extract the partitions and repack them.

Categories

Resources