Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,327 Members 44,939 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][Test] KitKat [Fixed Internal SD][TWRP flash from Internal SD]

Tip us?
 
siankatabg
Old
(Last edited by siankatabg; 22nd March 2014 at 08:46 AM.)
#1  
siankatabg's Avatar
Senior Member - OP
Thanks Meter 536
Posts: 420
Join Date: Sep 2012
Default [KERNEL][Test] KitKat [Fixed Internal SD][TWRP flash from Internal SD]

Hello.

I will be short.
This is test kernel with my work from here:
http://forum.xda-developers.com/show...4&postcount=41

Kernel is purely stock with fix for deep sleep,TWRP recovery with working flash from internal SD and my internal SDcard fix.

Instructions for flash:
1.Flash kernel with Flashtool or fastboot.
2.Flash modules.zip from recovery

Instructions to fix your SD files location:(to see them in /sdcard and /storage/sdcard0) (you need to have root)
First way is with root explorer:
1.Go to /data/media and move all the files and folders without "legacy,obb,0" to /data/media/0

Second way is with terminal:
1.Just tipe:
Code:
su
cd /data/media
mv !(0|legacy|obb) 0
You need to do this once.




If all went well,you will have your 4gb sd back on place.



Download:
Boot.img -> http://www.mediafire.com/download/em...ot-kk-twrp.img
Modules.zip -> http://www.mediafire.com/download/33...at+modules.zip

Test and report,please.

Kernel is tested on CM11,but should work on other KitKat roms too.


I am not responsible for bricked devices.Do it at your own risk.

Аll can use my method or ramdisk, just mention me in your thread.

Credits:
@KillerKink - For DeepSleep issue fix
@vishal_android freak - For the great TWRP recovery,link here -> http://forum.xda-developers.com/xper...rated-t2667370
My works:
CM10/MiUiv5 3.4.x kernel for ARC/S and NEO/V
The Following 11 Users Say Thank You to siankatabg For This Useful Post: [ Click to Expand ]
 
Joel16
Old
#2  
Joel16's Avatar
Senior Member
Thanks Meter 308
Posts: 557
Join Date: Sep 2013
Nice work.
 
nandroidz
Old
#3  
nandroidz's Avatar
Senior Member
Thanks Meter 20
Posts: 126
Join Date: May 2012
Location: Thiruvananthapuram
Will the sd internal fix work without flashing the kernel
or should the kernel be there for the commands to work ?
Anyways thanx for your help
 
Shivam Kuchhal
Old
#4  
Shivam Kuchhal's Avatar
Senior Member
Thanks Meter 1019
Posts: 658
Join Date: Dec 2012
Location: Bijnor, Uttar Pradesh
The fix lies in ramdisk only or you've done some changes while compiling kernel also?
BTW thanks for one more way fixing storage.
Haters gonna hate
Software is like sex: it's better when it's free : Linus Torvalds


Maintainer of Phantom Kernel for Moto G, Sony Xperia L and Moto E

Moto G: Quarx CM11, Phantom Kernel
Sony Xperia L: AOSPA, Phantom Kernel
Moto E: Stock, Phantom Kernel
Asus Nexus 7: Rastakat, franco kernel
Xiaomi Mi3: Stock

Facebook Community of Motorola Moto E: Motorola Moto E : Development and Discussion

 
siankatabg
Old
(Last edited by siankatabg; 22nd March 2014 at 08:13 AM.)
#5  
siankatabg's Avatar
Senior Member - OP
Thanks Meter 536
Posts: 420
Join Date: Sep 2012
Quote:
Originally Posted by Shivam Kuchhal View Post
The fix lies in ramdisk only or you've done some changes while compiling kernel also?
BTW thanks for one more way fixing storage.
Just ramdisk changes.

Quote:
Originally Posted by nandroidz View Post
Will the sd internal fix work without flashing the kernel
or should the kernel be there for the commands to work ?
Anyways thanx for your help
You need to flash it and if you flash other kernel after that you will lose your storage again.

Sent from my C2105 using xda app-developers app
My works:
CM10/MiUiv5 3.4.x kernel for ARC/S and NEO/V
 
Shivam Kuchhal
Old
#6  
Shivam Kuchhal's Avatar
Senior Member
Thanks Meter 1019
Posts: 658
Join Date: Dec 2012
Location: Bijnor, Uttar Pradesh
Quote:
Originally Posted by siankatabg View Post
Just ramdisk changes.


Sent from my C2105 using xda app-developers app
Any drawbacks of this method noticed so far?
Haters gonna hate
Software is like sex: it's better when it's free : Linus Torvalds


Maintainer of Phantom Kernel for Moto G, Sony Xperia L and Moto E

Moto G: Quarx CM11, Phantom Kernel
Sony Xperia L: AOSPA, Phantom Kernel
Moto E: Stock, Phantom Kernel
Asus Nexus 7: Rastakat, franco kernel
Xiaomi Mi3: Stock

Facebook Community of Motorola Moto E: Motorola Moto E : Development and Discussion

 
siankatabg
Old
#7  
siankatabg's Avatar
Senior Member - OP
Thanks Meter 536
Posts: 420
Join Date: Sep 2012
Quote:
Originally Posted by Shivam Kuchhal View Post
Any drawbacks of this method noticed so far?
No.All apps and games working fine for me.Only settings>storage dont show correct space,but this is OS bug i think.I will update this kernel today to use /mnt/media_rw/sdcard0 as mount point and fuse,because with this recovery(for stock rom) we dont need to use /data/media.This way i think there will be no problems to wipe data or format sd at all
My works:
CM10/MiUiv5 3.4.x kernel for ARC/S and NEO/V
 
Shivam Kuchhal
Old
(Last edited by Shivam Kuchhal; 22nd March 2014 at 09:09 AM.)
#8  
Shivam Kuchhal's Avatar
Senior Member
Thanks Meter 1019
Posts: 658
Join Date: Dec 2012
Location: Bijnor, Uttar Pradesh
Quote:
Originally Posted by siankatabg View Post
No.All apps and games working fine for me.Only settings>storage dont show correct space,but this is OS bug i think.I will update this kernel today to use /mnt/media_rw/sdcard0 as mount point and fuse,because with this recovery(for stock rom) we dont need to use /data/media.This way i think there will be no problems to wipe data or format sd at all
It looks like I'll wait for your update to merge the fix into my kernel as waiting for 1 day isn't a big deal.
Haters gonna hate
Software is like sex: it's better when it's free : Linus Torvalds


Maintainer of Phantom Kernel for Moto G, Sony Xperia L and Moto E

Moto G: Quarx CM11, Phantom Kernel
Sony Xperia L: AOSPA, Phantom Kernel
Moto E: Stock, Phantom Kernel
Asus Nexus 7: Rastakat, franco kernel
Xiaomi Mi3: Stock

Facebook Community of Motorola Moto E: Motorola Moto E : Development and Discussion

 
siankatabg
Old
#9  
siankatabg's Avatar
Senior Member - OP
Thanks Meter 536
Posts: 420
Join Date: Sep 2012
Quote:
Originally Posted by Shivam Kuchhal View Post
You've made changes in recovery also?
And it looks like I'll wait for your update to merge the fix into my kernel as waiting for 1 day isn't a big deal.
Im done with update i think Now i formated /data and /sdcard survive it Will test sdcard format and will upload it.

For recovery: Im using vishal_android recovery for stock rom.Nothing changed there.
My works:
CM10/MiUiv5 3.4.x kernel for ARC/S and NEO/V
 
siankatabg
Old
(Last edited by siankatabg; 22nd March 2014 at 07:04 PM.)
#10  
siankatabg's Avatar
Senior Member - OP
Thanks Meter 536
Posts: 420
Join Date: Sep 2012
Test kernel 2. Changed mount point and fuse to /mnt/media_rw/sdcard0 ,so now you need to move files from there to /mnt/media_rw/sdcard0/0
If you moved them on the previous kernel you dont need to do that again.This needs to be done once on the first use of my fix.

Download here:
http://www.mediafire.com/download/5c...-kk-twrp-2.img

P.S.- Terminal command is same,just use "cd /mnt/media_rw/sdcard0"

I forgot to say that you can wipe /data without problems now.
My works:
CM10/MiUiv5 3.4.x kernel for ARC/S and NEO/V

The Following 7 Users Say Thank You to siankatabg For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes