yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E3] fashion_m:
Hello, I have a few questions.

1. vinay, can you please give deeper details about this kernel? Does it swaps the external (real) SD card with the internal emulated sd card partition? Is the voId.fstab modified? Exactly which partitons are swapped?

2. Since we are swapping internal with external memory, should we move the contents of the internal memory (if any) to the external one (which is now mounted as internal), because the phone expects them to be on the internal memory?

3. I have 16GB SD card. What will be the result of this swap? I will have 16GB internal memory and 1.7GB external (SD card) memory?

4. Is everything tested and working perfectly on D2203?

5. Does this operation require rooted phone?

Thank you.
[Sony Xperia E3] vinay:
i will answer number by number to your question,s

1 it swap real sdcard with virtual internal sdcard i did,t modifired vold.fstab cause it contain only external sd path. external sd is on /dev/block/vold/179:65 and internal sd is on /data/media/0.

2 no need to move content i you have lost any app data you can copy android folder from 1.7 gb sd to 16 gb and overwrite it(back up before overwrite)

3 result of swap will be 16 gb interal and 1.7 gb external.

4 d2203 is not tested by me but tester,s say it work,s

5 no root required as it does work in kernel level.
[Sony Xperia E3] fashion_m:
Thanks for the reply. Two more questions: Should I leave the SD card with FAT32 filesystem or I should format it with EXT2/3/4 filesystem? With which filesystem I'll achieve maximum performance? Also FAT32 lacks permission capabilities, is this OK?

Also, what happens if I remove the SD card and turn on the phone?

Thanks.
[Sony Xperia E3] vinay:
remove sd card and turn on phone never did but i am petty surev you will see some apps force close and you will have only 1.7 gb storage.

no need to formate sdcard.

i don,t think changng formate gonna give you extra performance.

(but if it does give better performance then it should be ext4)
[Sony Xperia E3] Exerath:
[MENTION=5494317]vinay[/MENTION]

Can u please provide me the CM11 kernel even if network is buggy?

As long as I got Wifi its okay, I'll do some test and try to get network issue resolved, Ty
[Sony Xperia E3] vinay:
Which varriant you have.
[Sony Xperia E3] Exerath:
The D2203
[Sony Xperia E3] vinay:
cm11 have diffrent type of system mounting style.

i don,t think it,s easy but i will just upload one kernel if it workes than :laugh::good::D:)

if it won,t then :(:crying:
[Sony Xperia E3] uday94:
unable to install apk files while using this kernel.

only apps can be installed by playstore if i install apk it show app not installed ..

flashed stock kernel and apps started installing.

used apps for fixing permission to writing to sdcard
[Sony Xperia E3] NedqlkoHristov:
Better dont use this kernel cause it have bugs, use root kernel, download link2sd and free up some space ;)
[Sony Xperia E3] vinay:
yeah use root kernel,s or twrp kernel.

this one i just made it as experement. but i found it harder than i thought.

i think i can,t solve any other issue.

reason data/media/0 is permenent (orignal internalsd can,t be unmounted so if apps use that directory it gonna cause error cause half system think internal sd is external and half think it internal is internal.

unsolvable under my skill,s

PROJECT CANCELED.
[Sony Xperia E3] NedqlkoHristov:
How can sony be so rude and put only 1.7 usable.. :D on this awesome phone
[Sony Xperia E3] vinay:
cause they have to make a cheap phone.

but they may add swapsd buttion in setting,s like i had in my previous phone.

it had 4 gb internal i swapped it with external with just a touch.

it was ics 4.0.4
[Sony Xperia E3] NedqlkoHristov:
it would be great :angel:
[Sony Xperia E3] vinay:
this is my first phone which don,t have swap-sd option in setting,s

so i thought 1.7 gb dosen,t matter will swap but after buying i seen no option.

(i think swap sd buttion can,t be added in kikat)
[Sony Xperia E3] fashion_m:
Where do you put the APK? On the 1.7GB partition ot on the real SD card partition (the big memory)? Try opening APKs from the 1.7GB partition.
[Sony Xperia E3] uday94:
its on real sd card ( i.e the storage that has becamed internal after kernel flashing.)

not on 1.7 gb partition

---------- Post added at 07:57 PM ---------- Previous post was at 07:51 PM ----------

your single storage kernel is good . but there is one problem it does not shows images and music videos in album etc you have to restart your phone.

it does not show at an instant.
[Sony Xperia E3] vinay:
this kernel is too buggy project closed.

cause i get head ache with it.

but might start working on it again if i get another idea.

link to source code updated to my repo on github.
[Sony Xperia E3] fashion_m:
Come on, come ooon, guys, be a litle bit more positive and constructive. With thinking everithing can be fixed.

1. Put APKs on the small partition (1.7GB) which is now "SD card" and install them from there? Simple, right?

2. What we have here is swapping partitions. So internal storage and it's contents become now fake "SD card" and the real SD card becomes now internal storage. Originally there are some folders on the internal storage: Pictures, Music, Movies, Alarms, Podcasts, Download, Notifications, etc, and some files. And the apps on the phone expect this content to be on the internal storage. But after swapping the internal storage becomes empty because it is actually SD card. So we should copy these contents from the small partition to the big partition and apps will find their folders and files. Try this at least with Pictures, Movies and Music. Create these folders on the big partition and put some media files in them. You'll see that they appear in Album and Movies apps.

Here are the Pros and Cons of this kernel according to me so far:

Pros:

- Big apps and games (more than 1.7GB) can be downloaded from Play Store. This is not possible with the old approach with Link2SD. We no longer have the initial 1.7GB bottleneck;

- With Link2SD approach the SD card is mounted some time after OS boot and apps that have widgets or need to be run right after OS boot may fail. With our swapped memory kernel approach the SD card is mounted at kernel level - before OS boot and all apps and content on it can be accessed immediately after OS boot (@vinay, correct me if I am wrong);

Cons: APKs must be opened from the small (1.7GB) memory;

Don't give up so easily, we are all working with you. Be more eager :)

Guys, everything will be OK :)
[Sony Xperia E3] vinay:
you are right, externel sd is mounted after a few second,s of boot of os.

therefore apps that need internal sd crashes cause they can,t find or make data that need to be created/readed at boot.

at the start of project i was so confident about swapping. but now big problem,s came.

like i don,t know where is command which load external sdcard on /mnt/media_rw/sdcard1 or is sdcard is permenetly mounted on /mnt/media_rw/sdcard1 and how can i swap /data/media/0 with externalsd cause real internal sdcard is /data/media/0 which is linked to /sdcard /storage/sdcard0,etc

changing link was not that hard now problem is unchangeable thing,s

if thare was a way to change /data/media/0 to /data/media/1 then i can create a link of external sd card to /data/media/0

and same condition needed for /mnt/media_rw/sdcard1. so i can make link of /data/media/1 to /mnt/media_rw/sdcard1
[Sony Xperia E3] fashion_m:
Can we ask for help from other developers, like [MENTION=5604590]mbc07[/MENTION] ? Do you know someone who can help?
[Sony Xperia E3] vinay:
[MENTION=4449607]hell_lock[/MENTION] might help but i don,t want to disturb him while in exam,s.

and biggest problem is xperia E3 have really less developer,s.

so i can say i am working alone.
[Sony Xperia E3] vinay:
maby you guy,s can help me.

you guy,s might don,t know how to extract or which file to edit.

i will upload files that need to be edited.

and will try on my device.

try editing attached file.

one is stock and one is swaped. so you guy,s can compare them.

[File is attached]
[Sony Xperia E3] NedqlkoHristov:
What is the reason for no developers? :confused:
[Sony Xperia E3] vinay:
developer,s did,t bought xperia e3.

or they did,t found it because sony did,t advertised.
[Sony Xperia E3] NedqlkoHristov:
Well.. Sony removed it from his products..
[Sony Xperia E3] vinay:
Nope it,s still there => http://www.sony.co.in/product/xperia+e3+dual
[Sony Xperia E3] NedqlkoHristov:
I havent seen that site, did sony update their sites?
[Sony Xperia E3] NedqlkoHristov:
http://support.sonymobile.com/us/#/phones its not here..
[Sony Xperia E3] vinay:
I think they won,t sell it in us.

My link is from sony.co.in and your is sony.com/us
[Sony Xperia E3] hell_lock:
Its been a while since I last worked on android. How can I help?
[Sony Xperia E3] vinay:
you can help me if you help me find a way to exchange (Swap)

/data/media/0

with

/mnt/media_rw/sdcard1

in ramdisk.
[Sony Xperia E3] entony80:
Go here speaks with Mustaavalkosta that can help with the Kernel, is good at this job
[Sony Xperia E3] vinay:
seen his work. he is a rom developer tho.

did he made any kernel with storage swapped in ramdisk.
[Sony Xperia E3] vinay:
half work done.

guy,s i got /data/media/0 mounted as externel storage.

/data/media/0 was a directory.

i renamed /data/media/0 to /data/media/1 then mounted externalsdcard on /data/media/0

but now last problem is /mnt/media_rw/sdcard1.
[Sony Xperia E3] entony80:
The only help I can give you is to test the kernel I am not a developer.

You can try the Dolphin browser because crash, can confirm? Thanks
[Sony Xperia E3] berni987654321:
If I remember right it is only a symlinked folder. Take a good look at init.rc , that's where everything is mounted and symlinked
[Sony Xperia E3] vinay:
If it is symlinked directory do you remember it is symlinked with which directory.
[Sony Xperia E3] berni987654321:
Oh sorry,

It isn't a symlinked folder and if it was it wouldn't make problems.

I'll take a look at your github and see if I can help
[Sony Xperia E3] vinay:
Github.

I didn't uploaded ramdisk,s thare.

You can get ramdisk by umkboot.img

And i modified init.qcom.rc /fstab.qcom.

In kitkat is /system/etc/void.fstab

Ignored.

It might be causing problems.

But if you help me remove 0 folder from real 1.7 gb internalstorage i think problem will be solved cause when i try to take screenshot and return back to normal kernel screenshots were there.

But when i try to remove 0 folder in ramdisk sd card won't get swapped.
[Sony Xperia E3] fashion_m:
Has anyone tried this?

http://m.downloadatoz.com/apps/eu.codlab.int2ext,186578.html
[Sony Xperia E3] NedqlkoHristov:
Do it works?
[Sony Xperia E3] vinay:
finally 0 folder fixed

first release is going to be for nitrogen rom.

comming in flashable zip.
[Sony Xperia E3] vinay:
[MENTION=4449607]hell_lock[/MENTION] do you know why screenshots Can't be taken or apk won,t install from real sdcard storage.

It might be something about permissions.

Like both are system processes.

Like Systemui.apk for screenshots.

I was thinking of some sort of read permission.

Tried adb logcat Of screenshot didn't get any thing.
[Sony Xperia E3] vinay:
RELEASED

update released.

BUILD V-13 released.

bug,s fixed

GUIDE UPDATED
[Sony Xperia E3] uday94:
Unable to install apk and unable to capture screenshot.
[Sony Xperia E3] vinay:
these are the only remaining bug,s
[Sony Xperia E3] vinay:
BUG FIXED.

app installing bug fixed.

i have to go out now. i will update kernel when i come back home..

maby 2/3hour,s
[Sony Xperia E3] vinay:
bug fix kernel uploded.

app can be installed from internal sd 16gb.
[Sony Xperia E3] uday94:
Can i save screenshots now?
[Sony Xperia E3] vinay:
take screen shot reboot.

now you can see your screen shot in album app.
[Sony Xperia E3] angiras:
Hi, made factory reset/wipe data , wipe dalvic before installing zip with new boot.img/ramdisk?
[Sony Xperia E3] vinay:
do what guide say,s only.

flashzip.

no need of wiping cache/data/dalvik
[Sony Xperia E3] AG Themes:
Not working

Again why Apps are not installing :crying:
[Sony Xperia E3] vinay:
did you tried from internalsd and external sd both.
[Sony Xperia E3] AG Themes:
You mean firstly i have to copy apk into Sd card then install it?? If yess then i m facing problem with Parsing the package error on installing it.
[Sony Xperia E3] vinay:
and what in internal sdcard (real sd card)

did you get parsing package error in internal sd too.
[Sony Xperia E3] AG Themes:
NO from real internal m getting cannot parsing pakage error and in ext card which is now swapped in that getting cannot install apk error
[Sony Xperia E3] vinay:
try Project SS Nitrogen http://xdaforums.com/showpost.php?p=60233216&postcount=2

does it also give error.
[Sony Xperia E3] AG Themes:
You mean i have to install full rom or Only kernel?
[Sony Xperia E3] vinay:
only kernel will do the job.
[Sony Xperia E3] AG Themes:
Okk i'll try
[Sony Xperia E3] himfa71:
I checked its same in Project ss nitrogen kernel too
[Sony Xperia E3] vinay:
in internal sd too.
[Sony Xperia E3] himfa71:
1st ss is SD card and 2nd is internal
[Sony Xperia E3] AG Themes:
Again same problem Bro.. Plz help me
[Sony Xperia E3] vinay:
i don,t know but it was working for me.

now you guy,s have to help me find problem.

use root file explorer

go to /data/fake/take screen shot

if thare is zero folder then open it and tell me it is internal sd/externalsd or uknown storage.

got to /mnt/shell/emulated/0/ tell me if it is external or internal sd.
[Sony Xperia E3] himfa71:
Its internal

Its external,
[Sony Xperia E3] AG Themes:
Vinay In Fake folder it Shows Internal storage and in Shell folder external storage is showing..
[Sony Xperia E3] vinay:
do this.

connect your device to pc.

open file manager put apk in internal sd(which is 16 gb if you have 16gb sdcard)

open cmd in adb folder of your pc.

type adb logcat > logcat.txt

try to install apk.

after faliure

press ctrl+c.

and attach logcat.txt file in adb directory
[Sony Xperia E3] angiras:
1. in ramdisk.cpio > init.qcom.rc you edit :

service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/fake /mnt/shell/emulated

service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/sdcard1 /mnt/shell/emulated/0

but i edit another

service sdcard1 /system/bin/sdcard -u 1023 -g 1023 -l /mnt/media_rw/sdcard1 /mnt/shell/emulated

service fuse_sdcard /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /data/media /storage/sdcard1

and binding

on property:init.svc.sdcard=running

wait /data/media/

mount none /data/media/ /storage/sdcard1/ bind

2. folder storage/sdcard1 have "root root" permission, must be "root sdcard_r" after flashing

3. now i try edit/change "storage_list.xml" in framework
[Sony Xperia E3] vinay:
your kernel worked or not.

it look,s like device will crash with this setting,s
[Sony Xperia E3] vinay:
i reuploaded kernel here from my nitrogen. check apps install from internal sd or not.
[Sony Xperia E3] AG Themes:
Not working again same app not installed error :rolleyes:
[Sony Xperia E3] vinay:
are you sure app is working.

first install app from normal kernel if it install then i will make a program to debug your device.

it seem,s like your device if not like mine.

and is playstore working.
[Sony Xperia E3] vinay:
found it.

i finally found it why it was working for me.

i have two copies of apk.

one in internal sd one in extarnal sd like this.

/storage/sdcard1/myapp.apk

/storage/sdcard0/myapp.apk

then install app from internal sd it will work.

use this as temporary workaround until i find a real way to fix this error.
[Sony Xperia E3] himfa71:
I already done that method its also not working,

And playstore is working fine for me
[Sony Xperia E3] angiras:
worked

and edit also two line , have "storage/sdcard1" with "root sdcard_r" permission
[Sony Xperia E3] vinay:
can some one tell me why is this happening.

file is there in /mnt/shell/emulated/temple run.apk

W/InstallAppProgress( 4398): Replacing package:com.imangi.templerun

I/PackageManager( 1080): Trying to bind to DefaultContainerService

I/PackageManager( 1080): onServiceConnected

W/PackageManager( 1080): Original min free storage allow install: 184667340(bytes)

W/PackageManager( 1080): Changed to: 104857600(bytes)

I/ActivityManager( 1080): Displayed com.android.packageinstaller/.InstallAppProgress: +163ms

I/ActivityManager( 4398): Timeline: Activity_idle id: android.os.BinderProxy@427ffa20 time:485227

W/asset ( 4502): Asset path /storage/emulated/0/Temple Run.apk is neither a directory nor file (type=1).

I/PackageManager( 1080): Checking for more work or unbind...

I/PackageManager( 1080): Posting delayed MCS_UNBIND
[Sony Xperia E3] vinay:
does app,s install

screenshot work.

and in internal or external sd is thare 0 and legacy folder.
[Sony Xperia E3] entony80:
Hello Vinay, I see the first post one flashable zip for d2203, you changed something or is business as usual? if something changes I run tests on it !!! thanks
[About XDA developers] hapse:
Hello

It seems the "Search Thread" function is buggy fx:

I searched this thread where I used the search word "battery" but i could not find my post from yesterday (08-03 11:09) in that search (not to be mistaken with my post from today which I randomly posted 11:09 as well) so it seems the search thread function dosen't show all posts?

Another thing that xda really is missing (especially when it IS a site that focus on mobile devices) is the search thread function on mobile devices... Why is that function not available on mobile devices? Not even if i use the computer version of the site on my phone is it there and even the xda app is missing the function! What gives???

-Hapse
[About XDA developers] bitpushr:
I just checked XDA on mobile and I see the search thread box in the sidebar - I know that is not optimal and we are working to move that back over to the main column. Can you confirm it is at least on the page?

For the search issue, it is weird, because when I search "lollipop battery" your post comes up, but when I search "battery" it does not. I'm trying to find out more about this.
[About XDA developers] hapse:
Hi there :)

It seems I've been blind when I was trying to locate the search thread box on my mobile cause it IS there :) but yes it would be awesome if xda (on mobile devices) got a complete makeover as IMO the design doesn't fit with the quality of this site :)

Also i wish that the app would get a makeover because as i said earlier this site is pretty much all about mobile devices so I think it would only be fair that this awesome site had a equally awesome app ;)

Yes the battery vs lollipop battery is an odd bug, hope it helps that i posted it :)

-Hapse
[About XDA developers] bv90andy:
It's missing for me too on ie and modern ie on windows 8.1 on teclast tablet, but only in some threads, like the cm12 for s4 thread, yet i see it fine in this thread. and it's here just fine using chrome, and its there most of the time in chrome on my s4. weird..
[Galaxy S I9000 Q&A, Help & Troubleshooting] disclwd65:
hi, i got my hands on an i9000, i've been trying for several days now to flash cm11 or any other kitkat rom on my device, but nothing works, i used mackay, semaphore and a few other kernels but nothing seems to work. cm9 runs fine, but any higher version wont flash

doe anyone here know how to resolve this?

i alteady checked tis tutorial but none of the steps helps

http://xdaforums.com/showthread.php?t=2434225

thx in advance GreeTTz Kevin
[Huawei Ascend P6, Mate] chudo51:
Hi, I hope you can help me.

I was charging my phone, but when I wanted to turn it on, it gets stuck on the huawei screen. So I try to enter to the recovery, I have installed Open TWRP 2.8, but nothing, it gets stuck too, on the TWRP logo. So I decided to flash a stock recovery, I put the phone in fastboot mode, try to flash the recovery and apparently it worked all right but when I try to enter to the recovery, returns to TWRP, and no matter what recovery and how many times I flash returns to TWRP. It's like the phone is in read-only mode because don't flash.

Something else, when is stuck on the TWRP logo, I can use ADB commands and shell.

Any idea to recover my phone? now I'm desperate....

Thank you very much in advance.

P.D. sorry for my bad English....
[Huawei Ascend P6, Mate] mlsvcbbn:
try to flash twrp 2.7 (or other older version of twrp then yours) instead of stock recovery or reflash 2.8.1 even you are already on it... i had the similar problem
[Huawei Ascend P6, Mate] chudo51:
I try but nothing, maybe it's screw up the partitions on my internal storage card? ...I don't know...any idea?
[Huawei Ascend P6, Mate] mlsvcbbn:
can you enter into twrp menu?
[Huawei Ascend P6, Mate] chudo51:
No, it stays in the splash screen, but I can enter to ADB.
[Huawei Ascend P6, Mate] mlsvcbbn:
then try to type cmd: adb reboot bootloader (press enter) then : fastboot flash recovery (name of your twrp. img) (enter) then: adb reboot recovery (enter)

---------- Post added at 04:34 PM ---------- Previous post was at 04:30 PM ----------

but first of all, type: adb devices (enter), to see if your phone is recognized
[Huawei Ascend P6, Mate] chudo51:
I try that before (with stock recovery and with another/same version of twrp), but don't flash the recovery, it seems that it does all right but always return to TWRP.

When the phone it's in booloader mode, the "devices" command show ??????6? but in adb show the correct number.
[Huawei Ascend P6, Mate] mlsvcbbn:
very strange...
[Huawei Ascend P6, Mate] tileeq:
The output that you get in fastboot is ok that means that you can operate with fastboot commands, now the thing is that you try to flash something successfully. For that i would recommend you to use the update extractor from the forum and get .img files from an update and then try to flash them in fastboot.

This is a little tutorial for you to get through fastboot commands, where i would suggest you to wipe all before flashing. And most important thing is to not reboot until you flashed all.

http://xdaforums.com/showthread.php?t=2277112

Sent from my SM-G850F
[Huawei Ascend P6, Mate] chudo51:
Thanks, but the phone no flash, I try to many times but nothing. Even I try with adb to push files but if I reboot the phone, the files are not saved, so I think is something with the internal memory. It's a shame but I'll have to buy another one. :(
[Huawei Ascend P6, Mate] mlsvcbbn:
maybe after factory reset your bootloader is somehow in locked state ...
[XDA Assist] alex5544:
hey guys i've been googling for hours trying to repair alcatel c1 bootloop and tried to fix but phone wont stay connect top pc even though i install the driver could u guys give me some tips to repair
[XDA Assist] Heisenberg:
You've already created this other thread only 46 minutes before creating this one. Please refer to the XDA Forum Rules for information regarding the creation of duplicate posts/threads.

Thread closed, thanks.
[T-Mobile Samsung Galaxy Note 3] ithunter:
can someone provide me n4/S5 key map?

menu key replaced with multitask key Please !!
[T-Mobile Samsung Galaxy Note 3] ithunter:
done with menu key to multitasking but missing 3 dot menu key on stock app...

any way no problem long press menu key for options work :))