[Tutorial] Blu Studio 5.0 LTE -Y530Q- Root Method - Android Q&A, Help & Troubleshooting

I have been searching for a way to root my Blu Studio 5.0 LTE - which doesn't seem Vulnerable to framaroot.
after 3 days of non stop searching and trying the basic one-clicks as well as trying a number of commands through terminal I have finally found one to root my device. Here is a bit of information on my device.
Model #: Studio 5.0LTE
Android Version: 4.3
Baseband Version: TBW599010_9520_LTE_V0104
ROM: Original Factory Shipped 4.3 - Will backup then unroot - update and see if it still works then post back
I am fairly new to posting to xda, but I have been using XDA since htc google G1 came out... and haven't used anything but androids for myself since... so thank you all and hopefully someone will be able to use this method that i found...
Note: I am not developer of the software that is used in this posting - and I am not responsible for any damage or warranty status that my be negated as a result of the use of this tutorial! This tutorial has possibility to brick your phone, which neither myself nor providers of the root software are responsible .
Note2: I have contacted Shuame about posting their software on alternate site and they have not responded - if they request me to though, I will remove file and post link.
First of all let me just inform you that this will remove the Messaging app from your phone - I haven't hacked the file to see what commands it's running but from what I can tell is they have exploited the sms app and in process of root the app is removed.
You will need - Blue drivers which you can download here - attached
{You can install the sdk and drivers with installer or unpack the exe and using computer management install the drivers within the folder.View attachment ADB-Driver-v1.4.2.zip
Then you can download the installation file for the one click type root method - virus free - attached below cause im not allowed to post links yet - but install the program - chinese mostly translated but follow few steps to install then after its rooted you will see it say on screen rooted and give you options.
Then you can either download from play store or from attached APK for messaging.View attachment 3156953
There you go - root can be checked with any software - I am still working on what cwm will work and will update - hope this helps!

Thanks a lot Great Work :good::good::good:
That saved me a lot of time. It worked perfectly. although I would like to add a few points
1. For me it didn't delete the messaging app so it was great
2. after rooting, I installed supersu from play store, restarted and then deleted the kinguser app
3. installed adfree to remove ads
4. In my case, the genius root didn't seem to work the first time since the phone was in MTP setting. As soon as I changed USB setting to storage the program worked
I have link to some custom roms for this phone from a different forum, let me find the links again and I will update.
---------- Post added at 11:27 AM ---------- Previous post was at 11:18 AM ----------
Ok found the links
well seems like I cant post any links until , I have 10 posts ..
but it is there on google plus
It would be great if you can make something out of these links .
---------- Post added at 11:32 AM ---------- Previous post was at 11:27 AM ----------
FYI: This phone is a clone of k-touvh touch3 and there is a custom rom for the other phone. Not sure about the recovery or CWm

memory swap
Just curious have you figured out how to swap the memory with the SD card? Link 2 SD doesn't seem to work neither does editing the vol.fs file

vsmartguy said:
Thanks a lot Great Work :good::good::good:
That saved me a lot of time. It worked perfectly. although I would like to add a few points
1. For me it didn't delete the messaging app so it was great
2. after rooting, I installed supersu from play store, restarted and then deleted the kinguser app
3. installed adfree to remove ads
4. In my case, the genius root didn't seem to work the first time since the phone was in MTP setting. As soon as I changed USB setting to storage the program worked
I have link to some custom roms for this phone from a different forum, let me find the links again and I will update.
---------- Post added at 11:27 AM ---------- Previous post was at 11:18 AM ----------
Ok found the links
well seems like I cant post any links until , I have 10 posts ..
but it is there on google plus
It would be great if you can make something out of these links .
---------- Post added at 11:32 AM ---------- Previous post was at 11:27 AM ----------
FYI: This phone is a clone of k-touvh touch3 and there is a custom rom for the other phone. Not sure about the recovery or CWm
Click to expand...
Click to collapse
You know, I heard that on the blu lte google+ page but I also heard that the roms were not completely working right. Something about the GPS doesn't quite work right when doing that, but I'm still looking as well
compary said:
Just curious have you figured out how to swap the memory with the SD card? Link 2 SD doesn't seem to work neither does editing the vol.fs file
Click to expand...
Click to collapse
I didn't have to do anything with the swapping of memory... i'm not sure what you mean, but I was able to install xposed and at least fix some of the lame inabilities of this ROM - including apps to sd

I think user "company" is talking about the fact that on other devices with 4GB or lower ROM space, developers have figured out a way swap sd card with internal sd card so now you have a lot more space to install apps. For example Lg f6 forum has large thread about this. Obviously it needs a rooted phone to get the swap to work.
---------- Post added at 11:33 PM ---------- Previous post was at 11:07 PM ----------
compary said:
Just curious have you figured out how to swap the memory with the SD card? Link 2 SD doesn't seem to work neither does editing the vol.fs file
Click to expand...
Click to collapse
I tried using the script on LG F6 forum but it didn't work. spent quite sometime to do debugging and this is what I have figured out
1. Internal naming of disk space is different between the phones
2. Also the block space assigned in my case was different
This is the 11extsd2internals script for LG F6 ( you need to follow all the previous steps like installing unitinit.apk , smanager etc)
sleep 2
mount -o remount,rw /
mkdir -p /data/internal_sd
mount -o bind /storage/sdcard0 /data/internal_sd
mount -t vfat -o umask=0000 /dev/block/vold/179:33 /storage/sdcard0
mount -o bind /data/internal_sd /storage/external_SD
I think if we change it to this, it might work. Although I am not going to try this out untill I have CWM recovery for this device ( added comments).
#######################
# Warning this is untested , try at your own risk
sleep 2
# this will remount all the partitions again with read write permission
mount -o remount,rw /
# create an empty temp directory to link the internal sd card to it
mkdir -p /data/internal_sd
#mount old-dir new-dir. Bind the original space to the temp directory
mount -o bind /storage/emulated/legacy /data/internal_sd
# Now read the SD card ( I got 179:66 when I put a 64GB sd card). Read both vfat and exfat
mount -t vfat -o umask=0000 /dev/block/vold/179:66 /storage/emulated/legacy
mount -t exfat -o umask=0000 /dev/block/vold/179:66 /storage/emulated/legacy
# Once we have mounted the sd card , swap the internal memory to external memory
if mount | grep vold/179:66; then
mount -o bind /data/internal_sd /storage/external_SD
fi
chown system /data/media/0
#############################
As I said, This is untested and I am not going to try it out for the time being but if someone want to use this and update if this works

vold fs
# Copyright (c) 2012, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # * Neither the name of The Linux Foundation nor the names of its # contributors may be used to endorse or promote products derived # from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dev_mount sdcard /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
This is all it shows

I don't think we can make changes to vold.fs to fix the low memory issue.
It has to be done through either ROM support or making fixes to the init script as I posted.
Anyways if someone can figure out a way to put recovery CWM or TWRP on this phone , I can start playing around with the storage fixes.

I've tried all kinds of root and nothing is working. I'm on V10_generic for the build number. Any other root options? also please an os x or linux root option as i don't have a windows machine. I hope we can find something soon. thanks y'all

blu studio 5.0 lte y530q
I can not flash the mobile blu studio 5.0 lte y530q, Help me find firmware for it and for firmware custom recovery, turns off radio module and the extremely hot processor.
Thank you in advance for your help.

droidkeyboardfan12 said:
I've tried all kinds of root and nothing is working. I'm on V10_generic for the build number. Any other root options? also please an os x or linux root option as i don't have a windows machine. I hope we can find something soon. thanks y'all
Click to expand...
Click to collapse
Yep. King Root Dot net, v.4.6.2....

can you help me with the QCN file for BLU Y530Q please

tomelich said:
can you help me with the QCN file for BLU Y530Q please
Click to expand...
Click to collapse
I did not fix this phone model and threw it away, sorry, I can't help you at all.

Related

[PRJ] [DATA2SD] Flashable zips for converting any Rom to Data2SD, For N1

Updated April 7th, 2011
All credit to sibere and droidzone and other devs who've developed the Data2SD codes.
Before you do anything with your phone, Pls nanodroid fisrt!!! And flash your phone at YOUR OWN RISK
It's been a while since this post last updated.
In fact, developers of HTC Desire have already create a stable method to implement Data2sd or whatever you call it, which gives you full use of EXT space to install APPs while improving I/O speed at the same time.
The theory is explained here, in case you want to take a further look at it
[DEV][DATA2SD] More space (and more I/O) for your Desire (Updated/EXT4/Flashable ZIP)
And thanks to sibere and droidzone 's great work, now we could make any ROM we like run with Data2sd. here they provide us Flashable ZIP files to make it done
[DATA2SD] Flashable zips for converting any Rom to Data2SD
Updated Instructions and Zips (14/Mar/2011)
I've streamlined the installation procedure so as to make it more generic and compatible with the newer StarBurst zips.
Basic Installation Steps for Data2SD
1. Install your ROM
2. Install the A2SD Killer (specific for your ROM)
3. Next step differs depending on whether you're reflashing your Rom on an existing install, or whether you are installing for the first time.
If you're installing the ROM for the first time:
· Reboot once after running the A2SD Killer
· Setup the timezone, language etc (But not your Google Account/Market)
·Reboot to recovery once again and install the Data2SD Installer
If you're reflashing the ROM (after having installed Data2SD once previously)
·Do not reboot after running the A2SD Killer
·Install the Data2SD Re-Installer right away
·Now reboot.
Click to expand...
Click to collapse
Download Link:
http://hotfile.com/dl/110226722/85a18a8/Data2SDv11.zip.html
http://www.easy-share.com/1914241904/Data2SDv11.zip
Important Notes from droidzone
Fully supports Cyanogen
Fully supports Clockworkmod3.0+ (Edified)
I wanted to consolidate all the flashable zips for Data2SD into one place, so that I will find it easy to update the links as I modify the scripts, and to also help Sibere to point his link to this post from OP, so that he doesnt need to reupload each file as they are modified.
Once again, I must assert that Data2SD is totally Sibere's work with other devs who've developed Data2SD code of their own. In my opinion, however, this is the best!
My contribution is conversion of his excellent code into flashable scripts which may be installed via Recovery. So you dont have to type out the code.
The flashable zip is packed as a package of zip files. Each zip file within the package is seperate flashable zip
There are the following files:
Killer, Installer and Reinstaller files for Sense Roms
A2SDKillerV11_Sense.zip
Data2SDInstallerv1.3_Sense.zip
Data2SDReInstallerv1.3_Sense.zip
Installer and Reinstaller files for AOSP Gingerbread Roms and CM7 nightlies (excluding Cyanogen 6 and MIUI 2.2 , but including Cyanogen 7 nightlies and MIUI 2.3.3 )
A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip
Data2SDReInstaller1.3_GB.zip
Installer and Reinstaller files for Cyanogen 6 and MIUI 2.2 (Not for CM7 nightlies or MIUI 2.3.3), which are Older Version
A2SDKillerV9.zip
Data2SDInstaller_cyanogen.zip
data2sd-Reinstall_cyanogen.zip
Whether you are trying this method for Sense or AOSP Roms, the installation procedure is same. Only the file is different.
Click to expand...
Click to collapse
Following droidzone's instruction, I tried these flashable ZIPs with MIUI 1.4.1(Gingerbread 2.3.3)
A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip
And it's working just fine. No random reboots, no data or APP lost or system crash after reboot. It's stable and fast!
One more note, you can ignore the previous information below...
————————————————————————————————————————————————————————————————————
updata from
melethron's post, and his update package data2whatever.zip included.
you can buy melethron a beer if you want. All credits to melethron!
I test the script with new install MIUI N1 12.24,
so far no reboot issues, or data corruption.
[DATA2whatever] Flashable All-in-one-Solution for Data2sd (HUGE update (dec 23th))
data2whatever v0.2
Features:
- Supports: Ext2, Ext3, Ext4 (and if kernel supports it: ) btrfs, ReiserFS
- Supports loop device as optional addon (as siberes data2sd)
- Flashable zip for many app2sd ROMs (no long setup required)
- It does a e2fsck (disk check) on every boot and creates a logfile on the sdcard (/sdcard/e2fscklog.txt)
- looks nice if you do a logcat on boot
- no "settings lost on reboot" bug like in my old or siberes script
- changes the scheduler for the sd-card and internal to noop for better performance on sd.
- Nandroid Backup of EXT2/3/4 external with AmonRa 2.0.0.1 or any clockwork recovery.
- Removes the common app2sd scripts on its own
Requirements
- A second partition (same as app2sd - Min 512 mb - 1024mb is highly recommended - max 2048 MB or there will be issues with market) in any format (as long as the kernel supports - ext2/3/4 support is default in most kernels - Ext4 or ReiserFS is recommended).
- An app2sd or non app2sd ROM (data2sd versions wont work) (this SHOULD work with most or at least many ROMs . Roms that are confirmed to work can be found in the post below. Please report to me it it works or not so i can update this thread. If it doesn't work i try to make it compatible asap. )
Installation
1.) Full wipe (at least needed on first installation)
2.) Flash the app2sd Version of the ROM of your choice
3.) DONT REBOOT
4.) If you rebooted then start over at 1.)
5.) flash the attached "data2whatever.zip"
6.) now reboot
ADDITIONAL INFO: Even without "life on the edge" you should watch the first 4 "don't"s of "life on the edge". The normal script use the same disk safety methods as NTFS on Windows or EXT4 on linux. But as you know you shouldnt just switch off the computer because there can still be issues in very rare cases. Reboots with tools like "snqs power menu" is the same as a batterypull (or pulling the ac plug on PC) and this isn't good in general (and this also applies for using it with app2sd). If you want to go to recovery just make a normal shutdown and switch the phone on with "volume down" button pressed.
Optional life-on-the-edge add on
you can find this add on in melethron's original post, and try it on your own risk
This patch has the same effect as sibere's and ownhere's script (loop device - the way ownhere does in v4 doesnt work though). Other than those scripts it this addon doesnt need any repartitioning or other setup (like FAT or a third partition) and can simply be installed or removed with a flashable zip. All you need for this is a normal ext 2/3/4 partition (as above ^^). Ext4 is recommended for this (as above) since it is the fastest of those 3. This patch is more risky than normal ext3/4 considering the possibility of data loss. If you want to use this add-on you should watch the following (this also applys to ownheres and sibere script and is NOT more risky than their scripts):
- DON'T use the reboot of snq's powermenu (or any other reboot app)
- DON'T use anything in the "ROM Manager" that makes it reboot.
- DON'T do adb reboot / abd reboot recovery / adb reboot bootloader
- DON'T pull the battery while the phone is on (this should be obvious)
- DON'T remove the "sync" mount options for the Quadrant "boost" (this is a fake boost anyway)
All of this is like a powerloss for the sd-card and has a high change of data corruption.
From my test with this i give you an estimate what can happen if a powerloss occurs or any of the 5 points above happen:
- 50% general chance of corruption that will be autofixed on boot (not a problem)
- 10% chance of forcecloses after reboot of some apps (this can be fixed by deleting the app data or restoring it with titanium (or other) backup)
- REALLY tiny chance (didnt happen for me in over 40 "simulated" powerlosses) that partition gets corrupted (needs complete repartitioning of the microSD so all data on it will be gone then)
As long as you watch the 5 points above and as long as you don't drop the phone and the battery jumps out this will be safe.
Installation of the addon:
- Flash the "life-on-the-edge.zip" any time after you installed "data2whatever".
Installation of the addon:
- Flash the "life-on-the-edge-UNPATCH.zip" any time after you installed "data2whatever" and the addon. (this will revert back to the normal script)
Personal remark: While this is a improvement over normal ext4 it is not the "holy-grale" of a data2sd lag fix. I'm not using this myself and use a ReiserFS as second partition instead which is more safe and completly feels the same as a "loop" device considering performance.
--------------------------------------------------------------------------------
__________________________________________________________________________________
Dec14 info update:
I uploaded A mod script for CM6.1 stable by Carrol
Carrol changes the script to create a ext4 loop device on EXT4 partition.
Code:
$BUSYBOX mkdir /mnt/asec/extdata
if [ ! -e /data/data2sd.ext.finish ];
then
echo "+++Need create ext4 loopback device for data, please wait... this is 1/5 size of your ext partition"
extsize=`$BUSYBOX df /dev/block/mmcblk0p2|$BUSYBOX grep mmcblk0p2|$BUSYBOX awk '{print $2}'`
datasize=`$BUSYBOX expr $extsize / 5 / 1024`
$BUSYBOX dd if=/dev/zero of=/data/ext4 bs=1048576 count=$datasize
/system/xbin/mkfs.ext4 -b 4096 -m 0 -F -L userdata /data/ext4
/system/bin/tune2fs -o journal_data_writeback /data/ext4
/system/bin/e2fsck /data/ext4
#/system/bin/tune2fs -O ^has_journal /data/ext4
#$BUSYBOX mount -o loop,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX mount -o loop,barrier=0,nobh,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX chown 1000.1000 /mnt/asec/extdata
$BUSYBOX chmod 771 /mnt/asec/extdata
$BUSYBOX cp -a /data/data /mnt/asec/extdata/
sleep 1
$BUSYBOX umount /mnt/asec/extdata
sleep 1
$BUSYBOX touch /data/data2sd.ext.finish
fi
/system/bin/e2fsck -y -v -f /data/ext4
#$BUSYBOX mount -o loop,sync,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
#$BUSYBOX mount -o loop,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX mount -o loop,barrier=0,nobh,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX chown 1000.1000 /mnt/asec/extdata
$BUSYBOX chmod 771 /mnt/asec/extdata
Note that this script is for CM6.1 stable only, only ONE EXT partition needed on your SDCard, and it will be formated into EXT4, do nanodroid before you try
Also a CM6.1 ROM with Data2Ext by Carrol can be found here
CM6.1 ROM with Data2Ext by Carrol
download: http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101213.zip
________________________________________________________
ownhere Data2Ext script V4
Data2ExtV4
2010/12/12 update V4 script:
/data/:ext4, disable journaling
/data/data:ext4 loopfile on ext4 device, enable journaling on ext4 device, disable journaling on ext4 loopfile, for fast and stable sqlite3 access.
really smooth this time
Click to expand...
Click to collapse
There's a version for Desire, which is here [DATA2EXT] [11/Dec] FULL BENCHMARK, V4, Improve the efficiency of IO
While improving IO efficiency, it moves all userdata to EXT so to avoid insufficient ROM space, cos the whole EXT is recognized as the internal ROM.
with ownhere's v4 script, I got my miui rom working, no data lost or crash after reboot/battery-removed:
1. miui rom 12.03 clean installation(a2sd+ script removed), then flash update.zip of v4 script. working. applying 12.03 to 12.10 and 12.10 to 12.11 ota packages, working.
2. miui rom 12.11 clean installation, flash v4 update.zip, working.
3. miui rom 12.11 with a2sd+ running, 38 apps installed and /data/data moved to ext. The v4 update.zip can still do the job.
However, one problem is that Root explorer couldnot display Chinese filenames of APK , showing only ???. and if install those apks via root explorer, it just reports errors...
Another thing i am not sure of is not knowing how much v4 script could improve when there is only 1 ext partition. According to ownhere, 2 ext partitions are needed to make the best out of his v4 script...
I attached the v4 updtae.zip - Data2ext_update.zip ,in case you might wanna try:
1. BEFORE you try this package, you need to remove the app2ext script(file like 04apps2sd or 01 apps2sd) from /system/etc/init.d, or you would only get bootloop going on and on
2. And of course, Nanodroid...
3. disable signature checking in recovery...
______________________________________________________________________________________________
I tried merging those files into MIUI N1 ROM.
When N1 boots for the 1st time, everything's working just fine.
Now we know the previous script is faking the Quadrant score...
Quadrant bechmark really rocks with I/O scoring 8000+ and a total score @ 3000+
But after reboot, there came some issues:
System config could not be saved;
Home button wouldn't work;
Flight mode and Quiet mode missing in the reboot menu...
Could someone pls help to rewrite the script to fit in N1 ROM?
I think people using N1 would interested in such a script or rom that brings N1 more I/O performance and more space for Apps.
But I have no knowledge of coding, don't know how to fix the issues above.
So I add download link of the script CREATED by ownhere, not by me, hoping someone could make a N1 MOD...
data2ext.zip
data2ext.zip is not a flashable package
Thanks!
mattrb said:
This goes in Q and A.
Also the answer is darktremor. A simple search of the the Nexus One Android Development gets that answer.
Click to expand...
Click to collapse
Sorry, but I don't think Darktremor Apps2SD script could do the job.
Since there is difference between Apps2SD and Data2Ext:
Apps2SD moves
/data/app, /data/app-private and /data/dalvik-cache to EXT
And with some commands /data/data could also be moved to EXT
But Data2Ext moves
/data/app to EXT4
/data/data to a virtual EXT2 device on EXT4, which is the trick to improve IO efficiency working at peak level...
SO I don't know if there is a answer fort this in Q&A...
this comes up after searching
G1 data2sd instruction works for the N1 i suppose ?
http://forum.xda-developers.com/showthread.php?t=527636&highlight=app2sd
**There is NO booting into recovery and wiping of the phone!**
My bad for not being clear on the wipe instructions!
1) (optional) If you are to wipe it (your choice it is not required), then press menu->settings->SD card & phone storage->scroll to bottom of screen and select "Factory data reset". This will wipe the /data partition only removing all apps and settings. BACKUP YOUR /data dir to sd, First or you will need to down load all your apps again to include paid apps!!
2) place data2sd.img in root of SDcard (fat32)
3) terminal in or adb shell in.
4) cp /sdcard/data2sd.sh to /data/local/bin - to copy the script to your user-space
5) chmod 0750 /data/local/bin/data2sd.sh - to make it executable
6) /data/local/bin/data2sd.sh or data2sd.sh may work to run the script
7) once the install is done it should tell you to reboot. If you had the ddms debugger running, you can observer the log as it is working.
8) done. It may boot a little longer if you clean-slate installed and then restored your apps by copying them back into /data/app and /data/app-private which has the affect of reinstalling everything, and thus the boot will take a while if you have alot of apps like I do. Again you can observe this as the Android boots if you have the debugger running.
Click to expand...
Click to collapse
I'm also confused, how does darktremor move all of that to ext? Please explain. I thought darktremor moves apps to ext. If you fail, then you sir are an idiot and gtfo.
A "simple" reread (If that's even enough, maybe 100x more for you) would've told you want he wanted.
Sorry for invading your post jayfallen!!
I for one, am glad you posted this and would like to try it once you get it going.
Try this: http://forum.xda-developers.com/showthread.php?t=853001
I recommend only moving the data of non-essential apps and those apps which DO NOT contain security sensitive data (games, Google Earth, etc. should be fine).
I edited the thread title, and added download link of the script created by ownhere.
someone might wanna take a look, if you're interested in bring your N1 more I/O performance and more space for Apps.
Thanks for everyone replying this thread. I will try your suggestions.
eVil's hd rom~
it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
i m abt to try this
http://www.miui.com/thread-10723-1-1.html?extra=page=1
wish me luck
the thread @ miui.com was posted by me earlier...
that rom is just experimental, if you don't reboot, everything works fine.
once rebooted, config lost and homebutton lost...
I don't know how to fix, that's why I start this thread @ xda, hoping someone could make it work for N1...
Wow this I want
Not sure if this can help..
Found a post on HiAPK (a Chinese Android discussion forum)
here's the link to the post:
http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&filter=type&typeid=211
And here's the link to the ROM:
http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip
The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.
The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
luciefer said:
it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
Click to expand...
Click to collapse
That because the current script will only move system/app to ext. There is nothing else in there to tell it to move any other folder, thus failing.
there's been new development...
as houzuoguo mentioned, a CM6.1stable+data2ext mod ROM is out, but there're still some issues
ownhere update his script to V3
http://forum.xda-developers.com/showthread.php?t=859419
1.change loopback device to real partition for powersave and better write performance.
2.disable second partition's journaling.
3.You need 3rd partition for /data/data. But even without the third partition of this script can also work(not stable). My partition settings:second partition:1.5G, thrid partition:0.5G
meanwhile, another new approach is coming out:
http://forum.xda-developers.com/showthread.php?t=868102
NILFS2 - data2nilf2 will be much faster then data2ext and won't have Lags.
whoa
i m glad there are so many new development out everyday
feel so good knowing the n1 is not being left behind
speaking of this is pretty freaking awesome
houzuoguo said:
Not sure if this can help..
Found a post on HiAPK (a Chinese Android discussion forum)
here's the link to the post:
http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&filter=type&typeid=211
And here's the link to the ROM:
http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip
The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.
The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
Click to expand...
Click to collapse
...
That is a huge improvement in IO!
Lets hope this reaches a stable state soon
I wonder why quadrant weighs so much on disk IO for the total score.
Would this be possible on other devices? lets say the g2?
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
bcpk said:
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
Click to expand...
Click to collapse
App2sd u get 512mb for ext3.
Data2ext u get at least 2gb for apps and stuff
Lol. Are u serious. For io scores it cheats. See the script. Fake ext2 for quadrant
truth to be told,they say TTL 2000+ and IO 3000 is the actual scroe...

Optware for Android released by Novaports

Optware was originally developed as a distribution mechanism for software for the Open Source Linux project for the Linksys NSLU2 (a small low cost network storage device). That consumer storage device ran on Linux, and the community opened it up, but they needed a lightweight distribution mechanism for their lightweight devices.
Since 2004 Optware has been adopted by a variety of Linux communities and device developers including the webOS community working on the Palm Pre and Pixi, and developers for devices as diverse as Asus WL-500g,WL-HDD, WL-500gx, WL-500gP routers, the Synology DS-101 and DS-101g+ NAS devices.
At its core, Optware is a package manager to allow you to easly install and uninstall cross-compiled linux applications on your device over the internet. At this time, optware supports the automatic download and installation of over 1500 programs. (See the list at the end of the wiki article.)
Why should I use Optware?
Like the original slug, android devices lack a distribution mechanism to install Linux/command line tools programs and utilities. Many in the Android community who want or need to do command line processing on their device use a chroot of some sort (Debian seems popular) to get their distribution and package management tools. With Optware, it becomes possible to simply run whatever utility or program you want on the native underlying Linux.
Additionally, Optware For Android installs openSSH making it possible to access your Nook from any PC with SSH capability, and sets up an unprivileged username/password login system for the device at the command line. All in all then, since it can be installed with a single script, since it's lightweight, and since it's designed for small and embedded devices, Optware is a perfect fit for the Android community.
Optware for Nook is the first Optware for Android release by the Novaports team and is their gift to the Android community members who have helped them so much with information on Android devices.
What does it do?
The Optware bootstrap installed the IPKG package manager. It installs the optware Busybox. It installs openSSH and makes the ssh demon persistent. It creates an unprivileged user with a username and password you choose.
See Installation instructions and details at the Optware for Android page at Nookdevs.com
For completeness of licensing compliance, the source code for all optware package can be found at the following locations:
1) build scripts at svn.nslu2-linux.org in the /svnroot/optware/ area
2) tarballs at sources.nslu2-linux.org in the /sources area (this is a *large* directory)
To contribute code to Optware, see www . nslu2-linux . org in the /wiki/Optware/AddAPackageToOptware area
-- Rod Whitby
-- Original NSLU2-Linux Project Lead and Optware Architect
This works beautifully! Thank you!
Gonna try this and see if i can get samba to work.. a SMB mount over wifi would be awsome...
Many thanks!
I don't suppose there's a quick and easy way to completely remove optware?... not looking forward to culling through scripts and manually un-doing it all.....
adduser: not found
When it gets to the part in the install script to add the username of the unprivileged user, I enter a name, then it says: adduser: not found.
If it helps, I am using Rooted Stock 1.1.
Anyone get Optware to install on CM7 (newer nightly)
I am running CM7 #103 and would love to have optware installed.
But I get Fail if I try to use the method from Nookdevs
Tonight when I have more time I will look at the errors and see if I can tell what is up.
It looked like partially due to missing dir's for one (/tmp)
madrascafe said:
Gonna try this and see if i can get samba to work.. a SMB mount over wifi would be awsome...
Click to expand...
Click to collapse
The market has your answer and it's free:
https://market.android.com/details?id=com.funkyfresh.samba&feature=search_result
Am I the only one that wants Optware on CM7?
It goes fine on a manualnootered 1.2.0 NC But I prefer CM7 (And use the nightlies)
I would love to get this going on my NC as well. Running CM7 N121 w/ 6/30/2011 OC kernel. Was able to manually work past the tmp directory problem you mentioned, but I can't seem to execute the ipkg binary or installed. I've verified it indeed exists in the path I'm trying to execute it from, it has +x perms for user/ group/ other, but it always gives the error below:
/data/opt/bin/ipkg: not found
I've tried messing with bin directory and ipkg binary ownership, but no dice. If anything it should at least find it even if permissions aren't correct.
Looks like the contents of the binary reference ELF libraries which sounds like an issue attempting to execute in an Android environment. Going to see if I can chroot an environment that will work for it.
Sent from my NookColor using Tapatalk
This is happening because it's looking for /lib/ld-linux.so.3, and not finding it. I worked around by
ln -s /data/opt/lib/ld-linux.so.3 /lib/ld-linux.so.3
I also had to make these links:
ln -s /data/opt /opt
ln -s /data/tmp /tmp
And then set this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib
export PATH=$PATH:/opt/bin/:/opt/sbin
in my bash profile to get things to start working.
One problem is my symlinks seem to get erased every reboot. I worked around by re-creating them in my bash profile, but I wish I knew how to make them permanent. This may be a ROM specific thing - this was written for a rooted stock nook, and I'm on an Epic running SFR.
I do not have a ld-linux.so.3 file on my NC w/ CM7 125
I have many other errors that show up:
Downloading the latest ipkg-opt package from the Optware package feed:
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
wget: can't open 'ipkg-opt_0.99.163-10_arm.ipk': File exists
(NOTE the above file 'ipkg-opt_0.99.163-10_arm.ipk' does not exist
(on my NC - from a find / -name ipkg-opt_0.99.163-10_arm.ipk)
Updating the Optware package database:
ERROR: Failed to update the local Optware package database
Updating the Optware package database:
/data/optware-bootstrap-0.0.1.shar: ipkg-opt: not found
ERROR: Failed to update the local Optware package database
Any ideas?
The actual file it needs is /data/opt/lib/ld-linux.so.3 - you need to create a symlink in /lib in order to see it. But I think that file comes from the optware installer - if the installer is failing, you won't have it there either. It sounds like you may have bits of a previous install that failed, and it's preventing the install from running properly. Try looking at the log in /data/tmp for more info. After that, try rm -rf /data/tmp/* to clean up the old install and trying again.
Thank You for any pointers.
I deleted everything in /data/tmp first last attempt - like you suggested.
Same result
I have it down to only this error now when I run it (optware-bootstrap-0.0.1.shar):
Updating the Optware package database:
optware-bootstrap-0.0.1.shar: ipkg-opt: not found
ERROR: Failed to update the local Optware package database
ipkg-opt should be in /data/opt/bin. Check to see if it's there... if not, something went wrong in one of the previous steps - probably somewhere around "Downloading the latest ipkg-opt package from the Optware package feed". See if wget is actually downloading anything, where it's putting it, and what it's doing with it afterwards.
If it is there, try running it manually. If you see /data/opt/bin/ipkg or /data/opt/bin/ipkg-opt but it claims it's not there when you run it, it may be a library linking error. Mine was looking for /lib/ld-linux.so.3 but it was actually installed at /data/opt/lib/ld-linux.so.3. mount -o remount,rw followed by ln -s /data/opt/lib/ld-linux.so.3 /lib/ld-linux.so.3 fixed that. I also had to run
ln -s /data/opt /opt
ln -s /data/tmp /tmp
before things started working.
By the way:
ntfsprogs - NTFS filesystem libraries and utilities
Could that be of any use? At the moment, it's not possible to mount NTFS storage on the NC
i would love to know how you guys get to this point even. When i try to install the very fist line of the script is an error and then nothing at all happens .... something about not finding busybox or something of that nature.
So you guys are getting WAY farther than I've been able to.
Tkx Tonygoes.
It is there in /data/opt/bin but it reports /data/opt/bin/ipkg: not found
I cannot find a ld-linux.so.3 on my NC at all.
I did the other links et al fro your comments also
obsid:
Try post 12 above:
and I had some other suggestions from someone:
might try thses FIRST the script seems to do it but may not actually get it done.
mount -o remount,rw / /
mount -o remount,rw /dev/block/mmcblk0p5 /system
you should also if tried before do this: rm -rf /data/tmp/
then do the items in post #12 above
NOTE for me the ln -s to ld-linux.so.3 does not work as I do not have that file on my system

[krn.module] CIFS kernel module for X10 GB (SAMBA shares)

Hello guys,
I've compiled the CIFS module for our X10 (stock kernel version for 2.3.3, that is 2.6.29-00054-g5f01537 ).
Introduction
CIFS is for allowing to mount SAMBA/CIFS shares from Windows (mostly), so that they appear like a folder on the phone.
Specifically, you can watch movies on your X10 from a share, without first copying them to the phone. In fact you can mount any SAMBA share and do all operations with it.
There are two modules that do the job: cifs.ko (which is the main one) as well as nls_utf8.ko which just provides UTF-8 support for file/folder names within the shares.
Installation
Once you have unpacked the zip and extracted the two modules into the folder of your choice, the commands are these:
Code:
adb push "nls_utf8.ko" /sdcard/nls_utf8.ko
adb push "cifs.ko" /sdcard/cifs.ko
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/lib/modules
cp /sdcard/nls_utf8.ko .
cp /sdcard/cifs.ko .
insmod nls_utf8.ko
insmod cifs.ko
mkdir /sdcard/cifs
mount -o username=<yours>,password=<yours>,iocharset=utf8 -t cifs //<serverip>/<sharename> /sdcard/cifs
Now you can cd to your /sdcard/cifs and see the files shared there.
Observations
1. nls_utf8.ko is not mandatory and if your files don't have UTF-8 characters and only ascii, you can skip it IF you remove the isocharset=utf8 from the mount command above.
2. Music will stutter with all players I've tried. found an opinion that might be android lowlevel subsystem for reading mp3 files, and that they don't buffer enough - and given the latency over WIFI, this will create pauses / stuttering in the music. However, you can still copy the audio files, etc.
3. Movie playing works! I've tried RockPlayer for few minutes and didn't have an issue (seems it handles buffering very well) since it is software and thus they don't rely on some Android codec / etc.
4. Skip works! Again in Rock Player, you can skip in the movie and it takes a bit to skip there, but it does.
5. umount usually fails, since I assume, Android apps don't really exit and don't really free the resources. Once a file open, it doesn't let me un-mount saying that the resource / device is busy.
Download
Use it at your own risk!
cifs.zip
Chefs can bundle the files within the ROMs they offer - but please add this link into descriptions so that people can discuss issues they might encounter.
Cool.. Will try..
Sent from my X10i using XDA Premium App
nice! i am gonna try this!
New toy I'll give this a go tonight and report back. Thanks!
Hi viulian,
Thanks for the module. Would you mind if I include it in the hotfix for my rom?
Cheers,
z
zdzihu said:
Hi viulian,
Thanks for the module. Would you mind if I include it in the hotfix for my rom?
Cheers,
z
Click to expand...
Click to collapse
Absolutely no problem Z please do.
This module definetly requires an app to manage CIFS, mounting them with selected user/pass/path.
You can try cifs manager, its good.
Btw i thought the new sources weren't released yet.
I'm using old 2.1 sources and I could build these modules using Sony's blog post about how to compile kernels (with their CodeSourcery compiler) and a bit of Google foo.
Btw, I have another one ready, the cpufreq_interactive one which I'm creating a new thread now.
Later edit:
Although initially I read posts complaining about Sony's decision to keep the old 2.1 kernel (2.6.29) instead of the recommended (2.6.32) for GingerBread, it turned out that it was actually a smart move
Basically, the cifs module at least was much more difficult to port, due to the slow_work.ko module that needed to be compiled as well and inserted before.
viulian said:
Hello guys,
I've compiled the CIFS module for our X10 (stock kernel version for 2.3.3, that is 2.6.29-00054-g5f01537 ).
Introduction
CIFS is for allowing to mount SAMBA/CIFS shares from Windows (mostly), so that they appear like a folder on the phone.
Specifically, you can watch movies on your X10 from a share, without first copying them to the phone. In fact you can mount any SAMBA share and do all operations with it.
There are two modules that do the job: cifs.ko (which is the main one) as well as nls_utf8.ko which just provides UTF-8 support for file/folder names within the shares.
Installation
Once you have unpacked the zip and extracted the two modules into the folder of your choice, the commands are these:
Code:
adb push "nls_utf8.ko" /sdcard/nls_utf8.ko
adb push "cifs.ko" /sdcard/cifs.ko
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/lib/modules
cp /sdcard/nls_utf8.ko .
cp /sdcard/cifs.ko .
insmod nls_utf8.ko
insmod cifs.ko
mkdir /sdcard/cifs
mount -o username=<yours>,password=<yours>,iocharset=utf8 -t cifs //<serverip>/<sharename> /sdcard/cifs
Now you can cd to your /sdcard/cifs and see the files shared there.
Observations
1. nls_utf8.ko is not mandatory and if your files don't have UTF-8 characters and only ascii, you can skip it IF you remove the isocharset=utf8 from the mount command above.
2. Music will stutter with all players I've tried. found an opinion that might be android lowlevel subsystem for reading mp3 files, and that they don't buffer enough - and given the latency over WIFI, this will create pauses / stuttering in the music. However, you can still copy the audio files, etc.
3. Movie playing works! I've tried RockPlayer for few minutes and didn't have an issue (seems it handles buffering very well) since it is software and thus they don't rely on some Android codec / etc.
4. Skip works! Again in Rock Player, you can skip in the movie and it takes a bit to skip there, but it does.
5. umount usually fails, since I assume, Android apps don't really exit and don't really free the resources. Once a file open, it doesn't let me un-mount saying that the resource / device is busy.
Download
Use it at your own risk!
cifs.zip
Chefs can bundle the files within the ROMs they offer - but please add this link into descriptions so that people can discuss issues they might encounter.
Click to expand...
Click to collapse
Thanks viulian, very nice modules! May I include it in my rom?
Regards
Erick
Hello Erick, yes. Please add a link in your descriptions / thread / patches page etc, so people would also come here to check for possible issues, share experiences etc.
viulian said:
Hello Erick, yes. Please add a link in your descriptions / thread / patches page etc, so people would also come here to check for possible issues, share experiences etc.
Click to expand...
Click to collapse
For sure, thanks!
Hello friend,
Just wondering if I can install this through android terminal rather than adb?
Same commands/process? Thx
Aphex33 said:
Hello friend,
Just wondering if I can install this through android terminal rather than adb?
Same commands/process? Thx
Click to expand...
Click to collapse
Yes - if you handle copying the module to sdcard separately and then you become root in terminal, then it's the same.
viulian said:
Yes - if you handle copying the module to sdcard separately and then you become root in terminal, then it's the same.
Click to expand...
Click to collapse
Thx for quick response, become root in terminal? Explain please.....buy the way your modules rock! Currently using interactive.ko
Aphex33 said:
Thx for quick response, become root in terminal?
Click to expand...
Click to collapse
When you start the terminal, you notice you have a $ sign displayed to the left of the command prompt. That means you do not have the rights to do most things, since $ is for standard (limited) user.
What you need is to type command
Code:
su
And then your prompt will change to the dash sign #.
That means now you have full control over the phone, and you can start typing the commands.
Please double check what you do, and that you typed correctly - otherwise, as root, you might render your phone useless. Do not attempt if you don't feel confident enough and that you know what you are doing.
viulian said:
When you start the terminal, you notice you have a $ sign displayed to the left of the command prompt. That means you do not have the rights to do most things, since $ is for standard (limited) user.
What you need is to type command
Code:
su
And then your prompt will change to the dash sign #.
That means now you have full control over the phone, and you can start typing the commands.
Please double check what you do, and that you typed correctly - otherwise, as root, you might render your phone useless. Do not attempt if you don't feel confident enough and that you know what you are doing.
Click to expand...
Click to collapse
Thank you once again.
viulian said:
When you start the terminal, you notice you have a $ sign displayed to the left of the command prompt. That means you do not have the rights to do most things, since $ is for standard (limited) user.
What you need is to type command
Code:
su
And then your prompt will change to the dash sign #.
That means now you have full control over the phone, and you can start typing the commands.
Please double check what you do, and that you typed correctly - otherwise, as root, you might render your phone useless. Do not attempt if you don't feel confident enough and that you know what you are doing.
Click to expand...
Click to collapse
Hello, so If I have this correct, after placing the module in the correct place I have to type the commands in the first post word for word, correct? Apologize for being a noob, just wanna make sure.
hello guy
I dont know how to mount files from Windows. Someone explains clearly , please
Sorry for being noob. I think this module is awesome but dont know how to use
Got an exec format error when trying to insmod.
What can i try to solve this please ?
Thanks !

[Q] Backup of disk encryption master key

I've been extensively searching on this, but I just can't find any answer, although I really can't image I'm the first one to come up with this.
I have a Google Nexus 4 (rooted, of course) and I'm using the native phone encryption.
There is some information that can be found, revealing that google uses the native linux dmsetup tool for this.
Now, just in case anything goes wrong, I'd like to have a backup of the encryption master-key,
that I could use to restore the dm-crypt header.
On a normal linux system, this would be easy, only one call to dmsetup and I'm done.
However, I just can't find any info to do this on android.
The UI doesn't offer this option (as is to be expected) and I just don't know how to do it by using adb.
I've opened a root shell session and tried some commands (dmsetup, cryptsetup, some calls to "vdc cryptfs", etc...), but I just don't find a way to do it.
Has someone already found a way and can share how it's done, any ideas?
Thanks in advance
Does no one encrypt their android phones or is concerned about integrity of their data?
I think you overestimate Android: In most cases /data partition is not larger then a few GB's on smartphone devices.
Just insert Storage card with enough free space, and do a decrypted backup (for example from CWM recovery being root):
1) Make sure /system, /sdcard, and /data are all mounted inside recovery environment
2) /system/xbin/tar -C / -cf /sdcard/data.tar data
When integrity of your data is no longer given, you can factory reset the device, start again the encryption process (which will use a new key for encryption), and then restore your userdata back:
1) Make sure /system, /sdcard, and /data are all mounted inside recovery environment
2) /system/xbin/tar -C / -xf /sdcard/data.tar
No need to play around with keys and cryptsetups or being afraid you loose data because you have encryption enabled
---------- Post added at 04:12 PM ---------- Previous post was at 03:14 PM ----------
To answer your initial question:
Have a small lecture on h*t*t*p://source.android.com/tech/encryption/android_crypto_implementation.html
It is said, that the "The crypto footer contains details on the type of encryption, and an encrypted copy of the master key to decrypt the filesystem".
And that "[..]the filesystem doesn't extend into the last 16 Kbytes of the partition where the crypto footer is kept".
So basically by doing a backup of the last 16KB of the partition initially was mounted as /data before encryption you are THEORETICALLY save.
I am sorry not being able to give you exact commands, but i am sure someone can post you the right partition name (e.g. for HTC vision devices it would be /dev/block/mmcblk0p26), you can do backup/restore on blocklevel using dd, which is on my current ROM located at /system/bin/dd
You then need to find out the size of this partition, which in my case with /dev/block/mmcblk0p26 would be:
cat /sys/class/block/mmcblk0p26/size gives yout size of partition in blocks (in my case 2234367)
Now you have to reduce this by 16KB, whish i think should be (2234367*4096-16*1024)/4096=2234363, because i think on all Android devices Blocksize is 4096 (you can check the column Blksize on output of shell command "df" on Nexus).
Commands would be then something like this:
Backup: /system/bin/dd if=/dev/block/mmcblk0p26 count=4 bs=4096 skip=2234363 of=/sdcard/masterkey.dd
Restore: /system/bin/dd of=/dev/block/mmcblk0p26 count=4 bs=4096 skip=2234363 if=/sdcard/masterkey.dd
Because 16KB are 4x4096 Byte
With THEORETICALLY i meant that these are my thoughts based on the implementation description, which might be accurate enough about the master key, or not (often the master key is stored on a special sector, and they only mentioned a "region" for the crypto footer), and i never tested above Backup/Restore commands, yet.
Perhaps someone better knowledged can confirm my calculations, or someone who digged in the right passages of the Android source can tell us where exactly the master key is getting stored!
Thanks for the answer.
I'll give it a try and store a backup of that last few kb of the disk.
However, since I can't really test if a restore works,
I wouldn't put too much trust into that backup.
Thanks anyway
Has anyone been able to backup their key? Anyone confirmed the commands that rondald put?
This is ridiculous that the SD card is locked to the device. I need to transfer my SD Card to a new device and should not have to reformat my SD Card.
Encryption without key management = FAIL

Xperia Tablet S Bricked and revived. Service tools obtained.

Hello all. After bricking my Xperia tablet S by the next method: rooted it, then install a soft called as I remember PLay help, or something like that, a soft that helped you make your device look like any other in Google play sao you can install all apps even if they aren't made for your device. everything was ok but when i restarted my tablet it wouldnt pass the sony logo and than black screen.
So I tryed all methods provided within this forum, but nothing worked.
So I decided to sent it to service. they realized it was a soft problem and charged me about 40 $ to repair.
every thing is great now, BUT I have found in the box when I have picked up my tablet from service a 2 gb sd card
i thought that was the sd card used to resoft my tablet, so I inserted the sd card in my tablet and rebooted while holding the vol plus button and it started to say something like: cold-boot linux kernel from sd card. i didnt want to break it again because i didnt have enough power and I restarted my tablet. it works ok.
I want to see what it is on that sd card and share this tool with you, but for this I need help from you to create an image or something like that of this sd card. I have an macbook pro with os x maverick.
Any Ideeas?
Can you upload the files in a zip file?
Sent from my Nexus 4 using Tapatalk
CoolApps said:
Can you upload the files in a zip file?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
my macbook sees the sd card, but it tells me that is not in a recognisable format and wants to format it.
deltaztek said:
my macbook sees the sd card, but it tells me that is not in a recognisable format and wants to format it.
Click to expand...
Click to collapse
If you can, try puting ubuntu on a cd and live boot it on the computer then put in the sdcard and see if it recognizes it
Sent from my C6603 using xda app-developers app
Oh damn, dd it to a file. If you can't do this, I can connect to your computer with teamviewer.
Sony Tablet S cihazımdan Tapatalk kullanılarak gönderildi
I have created a raw copy with Hdd raw copy tool
the image is here. please download until 22 jan 2014
www wetransfer com/downloads/0bf376dc203efb9020b16ad377e5e47820140115102753/0734314e80d6048007785b2d3448fd3020140115102753/8c53e2
replace the spaces in the we transfer link with dots because i have received this error: The following errors occurred with your submission:
To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!
deltaztek said:
I have created a raw copy with Hdd raw copy tool
the image is here. please download until 22 jan 2014
www wetransfer com/downloads/0bf376dc203efb9020b16ad377e5e47820140115102753/0734314e80d6048007785b2d3448fd3020140115102753/8c53e2
replace the spaces in the we transfer link with dots because i have received this error: The following errors occurred with your submission:
To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!
Click to expand...
Click to collapse
I wrote the image to my sd card and it is containing 3 partitions. But it is not working for tablet s. Can you explain how can you able to boot the tablet from that card?
Sony Tablet S cihazımdan Tapatalk kullanılarak gönderildi
smgdev said:
I wrote the image to my sd card and it is containing 3 partitions. But it is not working for tablet s. Can you explain how can you able to boot the tablet from that card?
Sony Tablet S cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
I have Sony Xperia Tablet S, which is the next generation of Sony Tablet S.
I have inserted the sd card and tried to boot but nothing happens. I can no longer acces the menu with Power+Vol UP or with Power +Vol UP+Vol Down, which I could before the service did the firmware upgrade. that is why is important this sd card, to see what it contains and how it works.
I apparently can't do nothing with it besides being stuck on screen with this text: Cold-boot Linux.kernel from sd-card.
Wow !
deltaztek thanks for sharing this with us , i think this maybe will be the solution to many bricked devices.
Cheers
Vatis
Damn, this is cool stuff! Just what we needed, service to forgot recovery SD card inside debricked device! Let's see if we can learn how to use this, too bad I am having so little time nowadays.
Btw. what do you mean "I can no longer acces the menu with Power+Vol UP or with Power +Vol UP+Vol Down, which I could before the service did the firmware upgrade. that is why is important this sd card, to see what it contains and how it works." ?
Do you mean that you cannot anymore access recovery, with or without recovery SD-card?
- What happens without SD-card, does your tablet boot normally
- Without SD-card, what happens if you try to go to recovery when booting by Power+Vol?
- With SD-card what happens when you boot normally?
- With SD-card what happens when you try to get to recovery?
I will download image, but my tab is not with me this weekend, damn...
Do NOT let your OSX format the card This is great great stuff.
---------- Post added at 02:24 PM ---------- Previous post was at 02:10 PM ----------
Oh and is the SD card itself ordinary generic SD card or is it some kind of Sony's special card or something?
jappaj said:
Damn, this is cool stuff! Just what we needed, service to forgot recovery SD card inside debricked device! Let's see if we can learn how to use this, too bad I am having so little time nowadays.
Btw. what do you mean "I can no longer acces the menu with Power+Vol UP or with Power +Vol UP+Vol Down, which I could before the service did the firmware upgrade. that is why is important this sd card, to see what it contains and how it works." ?
Do you mean that you cannot anymore access recovery, with or without recovery SD-card?
- What happens without SD-card, does your tablet boot normally
- Without SD-card, what happens if you try to go to recovery when booting by Power+Vol?
- With SD-card what happens when you boot normally?
- With SD-card what happens when you try to get to recovery?
I will download image, but my tab is not with me this weekend, damn...
Do NOT let your OSX format the card This is great great stuff.
---------- Post added at 02:24 PM ---------- Previous post was at 02:10 PM ----------
Oh and is the SD card itself ordinary generic SD card or is it some kind of Sony's special card or something?
Click to expand...
Click to collapse
Ok here is the strange thing...
When i connect the tab on my pc inside recovery i can not connect with ADB , BUT when i am on cold-boot and connect the tab on pc then showing that discovered a sony device then i dont have drivers but i install ADB test drive 2013 , then i can connect with ADB, any ideas? i try to shell but i am getting error :
C:\adb>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
- exec '/system/bin/sh' failed: Permission denied (13) -
anything else i can try?
Cheers
Please explain how device works when this SD card is inside What happens when you boot normally this SD card inside, what happens if you boot Power-Vol ? When this cold boot appears, what did you do?
Next week I can get my tab back and can try this by myself...
jappaj said:
Please explain how device works when this SD card is inside What happens when you boot normally this SD card inside, what happens if you boot Power-Vol ? When this cold boot appears, what did you do?
Next week I can get my tab back and can try this by myself...
Click to expand...
Click to collapse
Ok here is the deal :
After you burn the .img on the sd card the windows stops see the sd card due to the format , so i have to boot linux to see whats is inside sd card, but some people reported 3 partitions .... on uper posts.
Anyway when you boot the tablet with the SD card inside either you try to go to recovery automatically booting from sd card and writing on tablet : Cold-booting linux. kernel from sd card , but nothing happens , now if you remove the sd card and try to boot to recovery wokring as before. If you boot to recovery and after put the sd card can read the sd card from recovery but there is nothing to flash.
Any ideas?
Edit : Can you see mate whats on sd card after burning the .img ? Whats so big for 1.8 gb ?
Hmh. Sound like me that said SD do not contain zip file to flash from the recovery, instead tablet recognizes it as some kind of special Sony's maintenance card an boots directly Linux kernel from the card. If I am correct, this way you can recover device even if recovery itself has been corrupted.
But if there is nothing happening after "Cold-booting linux. kernel from sd card", it could be that some extra gear is required. In example serial cable through which you can run shell commands or perhaps ordinary USB cable but some kind of special software would be needed to upload new images to the device. This is just a quess though.
Need to check out that img and what's inside after I have some time. Let's hope it is not encrypted and all files inside can be read...
jappaj said:
Hmh. Sound like me that said SD do not contain zip file to flash from the recovery, instead tablet recognizes it as some kind of special Sony's maintenance card an boots directly Linux kernel from the card. If I am correct, this way you can recover device even if recovery itself has been corrupted.
But if there is nothing happening after "Cold-booting linux. kernel from sd card", it could be that some extra gear is required. In example serial cable through which you can run shell commands or perhaps ordinary USB cable but some kind of special software would be needed to upload new images to the device. This is just a quess though.
Need to check out that img and what's inside after I have some time. Let's hope it is not encrypted and all files inside can be read...
Click to expand...
Click to collapse
Filer are not encrypted and image contains 3 partitions, one of them contains a full system rot filesystem, and second one contains something similiar to first and third is empty.
Sony Tablet S cihazımdan Tapatalk kullanılarak gönderildi
deltaztek said:
Hello all. After bricking my Xperia tablet S by the next method: rooted it, then install a soft called as I remember PLay help, or something like that, a soft that helped you make your device look like any other in Google play sao you can install all apps even if they aren't made for your device. everything was ok but when i restarted my tablet it wouldnt pass the sony logo and than black screen.
So I tryed all methods provided within this forum, but nothing worked.
So I decided to sent it to service. they realized it was a soft problem and charged me about 40 $ to repair.
every thing is great now, BUT I have found in the box when I have picked up my tablet from service a 2 gb sd card
i thought that was the sd card used to resoft my tablet, so I inserted the sd card in my tablet and rebooted while holding the vol plus button and it started to say something like: cold-boot linux kernel from sd card. i didnt want to break it again because i didnt have enough power and I restarted my tablet. it works ok.
I want to see what it is on that sd card and share this tool with you, but for this I need help from you to create an image or something like that of this sd card. I have an macbook pro with os x maverick.
Any Ideeas?
Click to expand...
Click to collapse
Very very interesting Thank you very much deltaztek for sharing!
It might bring some capabilities, downloading, will take a look
Shame I've got only Tab S, maybe it could be modded to work on 1st Tab S also?
Unfortunately I suspect, that it will work only on Xperia Tab, because of other boot maybe etc.
br
condi
------------------------------
ok, everybody who wants to take a look into partitions in windows,
there is an easy way.
1) download win32diskimager, write img to some SD card.
2) download linux reader, run it
3) voila - all the files accessible
-------------------------------
guys? some maybe stupid idea, but I havent seen that diagnostic card running on device.
if its native linux runned, with adb shell not accessible, but with svold.fstab content:
## SVold 1.0
#######################
## Regular device mount
##
## Format: edev_mount <label> <mount_point> <dtype> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## dtype - Device type
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
dev_monitor sdcard2 /mnt/sdcard2 sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
edev_mount usbdisk1 /mnt/usbdisk1 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk2 /mnt/usbdisk2 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk3 /mnt/usbdisk3 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk4 /mnt/usbdisk4 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk5 /mnt/usbdisk5 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk6 /mnt/usbdisk6 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk7 /mnt/usbdisk7 usb auto /devices/platform/tegra-ehci
edev_mount usbdisk8 /mnt/usbdisk8 usb auto /devices/platform/tegra-ehci
Click to expand...
Click to collapse
where all the usb devices should be mounted,
so you could connect usb keyboard via otg host cable,
and with it have access and control on linux command prompt?
anybody here could try?
------------------------
build.prop content:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=IML74K
ro.build.display.id=txs03_351-eng 4.0.3 IML74K eng.t-yanagawa.20120618.223335 test-keys
ro.build.version.incremental=txs03servicediag.eng.t-yanagawa.20120618.223335
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.3
ro.build.date=2012ĺą´ 6ćśˆ 18ć—Ą ćśˆć›ść—Ą 22:36:32 JST
ro.build.date.utc=1340026592
ro.build.type=eng
ro.build.user=t-yanagawa
ro.build.host=t-yanagawa-laptop
ro.build.tags=test-keys
ro.product.model=Sony Tablet S_2
ro.product.brand=Sony
ro.product.name=txs03_351
ro.product.device=txs03
ro.product.board=txs03
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Sony
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
# ro.build.product is obsolete; use ro.product.device
ro.build.product=txs03
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=txs03_351-eng 4.0.3 IML74K eng.t-yanagawa.20120618.223335 test-keys
ro.build.fingerprint=Sony/txs03_351/txs03:4.0.3/IML74K/eng.t-yanagawa.20120618.223335:eng/test-keys
ro.build.characteristics=tablet
# end build properties
ro.opengles.version = 131072
wifi.interface=wlan0
wifi.wpa_supp_ready=0
persist.tegra.nvmmlite = 1
##NFC
#debug.nfc.fw_download=false
#debug.nfc.se=false
windowsmgr.max_events_per_sec=135
ro.tether.denied=true
ro.sony.sound.enabled=true
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.product-res-path=vendor/framework/SemcGenericUxpRes.apk
ro.sony.update.server=info.update.sony.net
ro.sony.update.category_id=ST001
ro.sony.update.service_id=txs03_351
ro.sony.sku.base=txs03_351
ro.sony.build.id=TID0010000
ro.sony.build.incremental=120618223
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
drm.service.enabled=true
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
keyguard.no_require_sim=1
ro.sony.wan.dispMenuNwTyp=true
rild.libpath=/system/lib/libhuawei-ril.so
ro.kernel.gps.data=/dev/ttyUSB3
ro.kernel.gps.ctl=/dev/ttyUSB4
ro.sony.wan.sar.enable=yes
ro.sony.wifisleep=0
ro.com.google.gmsversion=4.0_r1
ro.com.google.clientidbase=android-sony
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
tf.enable=y
ro.sony.wan.ipv6.enable=false
persist.sys.sony.cabc.disable=0
persist.sys.sony.hdmi.disable=0
ro.sony.irremote.protocol_type=2
ro.sony.ols.eula=1
Click to expand...
Click to collapse
incremental value looks nice
ro.build.version.incremental=txs03servicediag.eng.t-yanagawa.20120618.223335
condi said:
Very very interesting Thank you very much deltaztek for sharing!
It might bring some capabilities, downloading, will take a look
Shame I've got only Tab S, maybe it could be modded to work on 1st Tab S also?
Unfortunately I suspect, that it will work only on Xperia Tab, because of other boot maybe etc.
br
condi
------------------------------
ok, everybody who wants to take a look into partitions in windows,
there is an easy way.
1) download win32diskimager, write img to some SD card.
2) download linux reader, run it
3) voila - all the files accessible
-------------------------------
guys? some maybe stupid idea, but I havent seen that diagnostic card running on device.
if its native linux runned, with adb shell not accessible, but with svold.fstab content:
where all the usb devices should be mounted,
so you could connect usb keyboard via otg host cable,
and with it have access and control on linux command prompt?
anybody here could try?
Click to expand...
Click to collapse
Amazing idea, i have the cable and i can try it tommorow, i will let you know
Cheers
Vatis
vatis24 said:
Amazing idea, i have the cable and i can try it tommorow, i will let you know
Cheers
Vatis
Click to expand...
Click to collapse
Waiting for results
-------------------------
interesting .sh files inside /xbin/..
chkbootloader.sh:
Code:
#!/system/xbin/busyboxbin/sh
if [ "$1" == "" ]; then
echo COMMAND NOT FOUND
echo Result:NG
exit 1
else
hd -c 4200 /dev/block/mmcblk0p8 | /system/xbin/busyboxbin/grep "5f 42 4c" >/dev/null
if [ $? -ne 0 ]; then
echo Cannot get Bootloader version
echo Result:NG
exit 1
fi
BL_1=`hd -c 4200 /dev/block/mmcblk0p8 | /system/xbin/busyboxbin/grep "5f 42 4c" | /system/xbin/busyboxbin/cut -d " " -f6`
BL_2=`hd -c 4200 /dev/block/mmcblk0p8 | /system/xbin/busyboxbin/grep "5f 42 4c" | /system/xbin/busyboxbin/cut -d " " -f7`
BL_3=`hd -c 4200 /dev/block/mmcblk0p8 | /system/xbin/busyboxbin/grep "5f 42 4c" | /system/xbin/busyboxbin/cut -d " " -f8`
BL_4=`hd -c 4200 /dev/block/mmcblk0p8 | /system/xbin/busyboxbin/grep "5f 42 4c" | /system/xbin/busyboxbin/cut -d " " -f9`
BOOTLOADER=$BL_1$BL_2$BL_3$BL_4
echo Value, 0x$BOOTLOADER
if [ $BOOTLOADER -eq $1 ]; then
echo Result:eek:K
exit 0
else
echo Result:NG
exit 1
fi
fi
exit 0
diaginit.sh:
Code:
#!/system/xbin/busyboxbin/ash
/system/xbin/busyboxbin/awk '/^[a-z]/{sub(/=/," "); print "setprop "$1" \""$2"\""}' /system/build.prop > /tmp/setprop.sh
/system/bin/sh /tmp/setprop.sh
rm /tmp/setprop.sh
mount -r -w -t ext2 /dev/block/mmcblk0p1 /configs
mount -r -w -t ext4 /dev/block/mmcblk0p5 /cache
mount -r -t ext4 /dev/block/mmcblk0p10 /log
/system/xbin/busyboxbin/awk '/^[a-z]/{sub(/=/," "); print "setprop "$1" \""$2"\""}' /configs/local.prop | /system/xbin/busyboxbin/grep "bdaddr" > /tmp/setlocalprop.sh
/system/bin/sh /tmp/setlocalprop.sh
rm /tmp/setlocalprop.sh
setprop vold.decrypt trigger_restart_framework
export PS1="# "
That diag.init probably is being started on boot with service mode,
or should be initiated manually via running with shell.
Oh and there is SU binary already there
-----------------------
im thinking is it worth to replace system partition with nbx03 1st gen Tab S,
maybe we could use it on our devices also
-------------------------
there are some parametrs set in /property/ <<<<<<<<<< we could try to add "persist.service.adb.enable"
in order to get adb working
My wife going to sleep now i will test now the keyboard via usb on tablet i will revert very soon!!!
---------- Post added at 11:21 PM ---------- Previous post was at 11:11 PM ----------
vatis24 said:
My wife going to sleep now i will test now the keyboard via usb on tablet i will revert very soon!!!
Click to expand...
Click to collapse
Keyboard not working , i mean getting power but nothing happens, maybe a usb drive to usb port? with update zip ? just saying , any ideas?
Vatis
vatis24 said:
My wife going to sleep now i will test now the keyboard via usb on tablet i will revert very soon!!!
---------- Post added at 11:21 PM ---------- Previous post was at 11:11 PM ----------
Keyboard not working , i mean getting power but nothing happens, maybe a usb drive to usb port? with update zip ? just saying , any ideas?
Vatis
Click to expand...
Click to collapse
could you make a short video how this service mode looks?

Categories

Resources