yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Darkshado:
Hello everyone,

Background: Last January I wanted to mount an ext4 formated SD card, and it turned out to be a bit more difficult than just inserting it in my Note II. Back then, there was no exFAT support whatsoever in AOSP ROMs and I wanted to be able to run either TouchWiz or AOSP without having to reformat my card. FAT32 wasn't an option because of the 4GB limit.

I've since automated the methods that were devised in my previous thread (with due credit to [MENTION=1868583]ttabbal[/MENTION]), and since they should work on a variety of devices running TouchWiz ROMs, I thought it would be best to create a new thread in a more general location.

The usual caveats apply.

Required:

TouchWiz ROM

init.d support

a custom recovery that mounts ext4 SD cards properly, or a mounting updater-script. TWRP works out-of-the-box on my Note II.

You can get init.d support with the stock kernel on many devices by having the run-parts command launch from a custom install-recovery.sh script. See the following thread for files and a how-to:

[MOD]Term-init & Zip-init: Enable Init.d for Any Phones w/o Need of Custom Kernels!!!

SD card removal:

Should you need to remove the card it can be unmounted and safely removed from the storage settings as usual. Mounting it again requires either a reboot or manually executing the init.d script and then activating the card in the storage settings.

Technical considerations:

The mounting occurs early enough during the boot process that the media scanner and MTP services have no issues with this.

If your init.d support comes from the install-recovery.sh trick, CWM will prompt to delete the script before reboot. Don't.

If the mounting script doesn't run for some reason, or you try to activate the card before having mounted it manually, the phone will give an error and ask if you want to format the card. Don't.

Enjoy,

Darkshado
[Android Software/Hacking General [Developers Only]] SeaFargo:
Hello Darkshado, and thanks for your thread.

I have an S4 i9505 and I actually have a AOSP based MIUI operating system.

I have an external 16GB MicroSD EXT4 formatted with standard linux command.

I've to say that it works great, and the operating system just auto-mount that ext4 SD by itself..

Now I'm starting migrating from that very good but a little obsolete AOSP MIUI to a much more recent

Samsung based version

, wich is very complete and affrodable.

But ... this MIUI do not auto-mount my ext4 formatted external-sd.

It's strange because other OS, and other recovery also, do completely support external-sd ext4 filesystem.

MIUI says, from the notification bar, that the sd is not formatted and asks me if I want to procede with formatting.

I've obviously refuse that.

Do you have any suggests?

This MIUI is obviously a custom OS, and it sports 3.4.63-AbyssS4-1.6.1F Kernel.

Since this new MIUI is TW based I've tryed to run your script but without results.. Is there some other way to permanently auto-mount my ext4 external SD?

Kind regards.
[Android Software/Hacking General [Developers Only]] SeaFargo:
I still find no way to auto-mount the ext4 sd to my Samsung based MIUI, and your scripts does not work on it ...

Can you or anybody help me?

Tnahk you in advance.

Kind regards.
[Android Software/Hacking General [Developers Only]] SeaFargo:
How to solve the permission issue on MicroSD EXT4 filesystem?

I've find a way to partition and format MicroSD with EXT4 filesystem, and also to mount it properly under this MIUI, wich is a TW based environment. :laugh: :good:

Just to let you know, AOSP based MIUI is MicroSD EXT4 compatibile out-of-the-box.

Unfortunately, after mounting my ext4 MicroSD, I have permission issue (that I do not have on AOSP):

default chmod is 077, which means that files created by apps on the ext4 formatted SD card will only be readable by the same apps, unless you manually update permissions.

Do you have any suggestion to solve definitively this issue, different than change permission manually or in a batch mode?

I mean, I can not run a script (for batch update chmod) every time I just take a picture ...

My mounting script are:

#making sure adbd is on port 5555:
setprop service.adb.tcp.port 5555
adb kill-server
stop adbd
start adbd
#starting server in a way where proper private key is used:
HOME=/sdcard adb start-server
# connecting server to localhost
adb connect localhost
sleep 2
#actually mounting sdcard and re-running vold :
adb -s localhost:5555 shell su -c /system/xbin/msd2.sh
#if we don't kill server it will drain power like crazy:
adb kill-server

than

mount -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard && sleep 5 && /system/bin/vold

Thank you in advance for your kind support.

Regards.
[Android Software/Hacking General [Developers Only]] wassname:
one change

Great, this work for me with one change.

In /etc/init.d/10mountext4sd the line:

/system/bin/sdcard1 "$REALMNT" 1023 1023 &

Does not work, unless we change it to

/system/bin/sdcard1 "$REALMNT" /storage/sdcard1 1023 1023 &

Now it works and mounts the sdcard to /storage/sdcard1 nad /stroage/extSdCard

Changed zip attached
[Android Software/Hacking General [Developers Only]] hydroxymoron:
Thanks for this.

There seem to be at least 2 problems on sgs4 kk

- the external sdcard is not seen by MTP

- it is no longer possible to encrypt the external sdcard.

I get to "SD card encryption has been enabled. Selected options. Full encryption. The above options will be applied", but it just reverts to the same screen when tapping on "apply".

Something similar happened with an exFat formatted card. It seems that Samsung is stuck with FAT32.. so disappointing.

Is there an alternative to FAT32 for encrypting external sdcards on Samsung devices?
[Android Software/Hacking General [Developers Only]] impactor:
Great work. But there is one more problem with it. The card is mounted with no-exec permissions, which makes it impossible to install .apk files from the card. You have to copy them to internal and only then can you install the apk file.

Could you fix it and release as v3?
[Android Software/Hacking General [Developers Only]] Neo3D:
Could you please update this? I've been trying to get TW support for ext4.

Thank you in advance! :D
[Android Software/Hacking General [Developers Only]] wQuick2k14:
Hi Guys !!

This script work yet ?

I buyed one sdcard 128G and format this on ext4

I have a Galaxy Note 4 - rooted.

Thank you.

wQuick
[Galaxy S III Q&A, Help & Troubleshooting] houzhuozhi:
I downloaded and flashed MIUI for note2 into my samsung i9305 device by mistake, I restarted the phone, and the screen just doesn't work when my finger touch on it, it displays normally though, is there anyone who knows how to solve the problem? Thank you a lot, and you may send me email if you can do me a favor, thanks again!
[Galaxy S III Q&A, Help & Troubleshooting] danarama:
Note 2 digitiser is much more complex and bigger than s3. It uses much more power.

Flashing anything for note 2 on s3 fries the digitiser chip. It needs hardware to be replaced. There is no other fix

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Galaxy S III Q&A, Help & Troubleshooting] houzhuozhi:
Thanks letter

Thank you a lot, and all I need to do now is buy a digitiser chip and replace the broken one, right?
[Galaxy S III Q&A, Help & Troubleshooting] sriram231092:
yes.
[Galaxy S III Q&A, Help & Troubleshooting] danarama:
Well its the chip that fried but I cannot say for certain the state of the digitiser....

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[JASJAR, XDA Exec, MDA Pro General] yyl:
I presume a lot of users are like me. When I installed TCPMP, I just used all the default settings. Later I read a review article on a Taiwanese site (Mobile01), and I found out that TCPMP performed very differently on Jasjar (Dopod 900) using different video driver modes. Here are the performance statistics (in fps) produced by Mobile01's forum moderator iopiop:

320*240 video:

direct draw 82.10

xscale 105.77

raw frame buffer 108.19

GDI 73.62

320*240 video stretched to 640*480 screen:

direct draw 62.35

xscale 82.83

raw frame buffer 88.35

GDI 53.51

640*480 video:

direct draw 33.41

xscale 47.65

raw frame buffer 50.30

GDI 37.31

TCPMP's default video driver is "Direct Draw". According to the numbers above, Jasjar users should set the video driver to "Raw Frame Buffer" to get the best performance of QVGA and VGA video clips.

Click "Options > Video > Video Driver > Raw Frame Buffer" and you are all set.

If you understand Chinese and are interested in reading the full review (including some video performance comparison with HP and ASUS models), here is the full article:

http://www.mobile01.com/iopiop/dopod900.htm
[LG Optimus G Pro] polx:
when is it estimated that the update will come?
[LG Optimus G Pro] dginsd:
If they are like other venders maybe

never.

Sent from my LG-E980
[LG Optimus G Pro] NaveenKumarXDA:
[/COLOR]

I am also voting towards "Never" theory.

Also the same fate will be for G2 as G Pro.
[LG Optimus G Pro] polx:
wowwww! looks like i'll be buying the note 3 instead of this piece of old trash.
[LG Optimus G Pro] NaveenKumarXDA:
Yes you will get timely updates on Samsung.

But if compare ogp phone itself than it is great piece of hardware inside.

Have a great time with note.
[LG Optimus G Pro] titus1:
Just an "old piece" but not "trash". Cause I can honestly say it is better then S4, which I previously used.
[LG Optimus G Pro] landeiro:
Update together w GN2 to 4.3
[LG Optimus G Pro] smaragdhk:
Guys, grow up please... I've had 2 updates within 1 months... Please be patient... I wouldn't say that LG has no timely updates.... If there are fixes to be done then they will issue them. If it ain't broken why fix it?
[LG Optimus G Pro] lantoine:
Everything new is not always better. I had a Galaxy nexus before GPRO and with each update the phone received after the SOLID 4.1.2, problems started mounting. These were not just performance issues and this was on a supposed pure Google device. Go visit the Galaxy Nexus forums and see how much folks are downgrading back to 4.1.2 from 4.2.x and 4.3. Case in point, 4.2.1 introduced issues with Bluetooth audio streaming which Google later fixed in 4.2.2. If a phone manufacturer decides to jump to a new release right away, unless they are will to deal with the churn and cost associated with putting out a new release every few months or so to correct problems, they risk taking untested functionality and upsetting their user base when stuff don't work.

I am not sure what the fascination is with 4.3 especially when 4.4 is around the corner. The biggest advantage in 4.3 in my opinion is the addition of Bluetooth LE (which GPRO already has), OpenGL ES for games and TRIM (flash filesystem garbage collection to prevent slow down). The last two would be nice to have but I am willing to wait for 4.3 to fully bake before jumping in. The GPRO is a solid device with ONE big advantage over the Note 3 at the moment. Unlike the Note 3, the GPRO does not have KNOX.
[LG Optimus G Pro] NaveenKumarXDA:
:sly: ^^^^^^^ no offence but how funny you are. Updates are bad, yaaa grapes are sour.
[LG Optimus G Pro] lantoine:
I am not saying updates are bad. I am asking you to use logic. LG does not update the software on their phones often. I knew this well before getting the GPRO. When/if they do provide an update, would you rather them provide one based on the current 4.3 (with all its current issues) knowing that once LG does you are probably stuck with it (good or bad) for a while or would you rather them wait for 4.3.x. I would much prefer they wait (which unfortunately means longer update cycles). Even the Nexus 4 has issues with 4.3 at the moment. 4.3 seems rushed and needs more time to fully bake. The developer community is doing their best to fix some the problems but that means using cooked ROMs which requires an open bootloader. Something I cant see (open bootloader) on the Note3 just yet due to KNOX.
[LG Optimus G Pro] NaveenKumarXDA:
:sly: lol. Sorry no offense, You really are :sly: So 4.2.2 in g2 is rushed. 1 year is not enough to update to 4.2 leave 4.3. Close the company for selling phones. and leave everything on Google edition.
[LG Optimus G Pro] lantoine:
Personally 4.2 did not bring much to the table compared to 4.1 (again this is my opinion). Name an APP that works on 4.2 and not on 4.1. In many ways 4.2 on phones was a step back in performance compared to 4.1 since 4.2 was really optimized for tablets (large heap sizes, multi-user support, etc.) with some inkling of benefit for phone users. Some of the changes in 4.2 cause massive performance issues (i.e. heap size changes) in phones which after a few iteration (4.2.1, 4.2.2) got ironed out. This only illustrate my point about why it may not be so great to always jumping to the new first. If you want consistent OS updates from a manufacturer then you need to get a Nexus device. If you bought an LG hoping to periodic updates then you made a big mistake.

Prior to getting the GPRO, I had the G2 for 3 days. Do I miss it? Heck no. Why? Because the GPRO is an all around better phone and from the surface you would not be able to tell the G2 is using 4.2.2 and the GPRO 4.1.2. If the GPRO gets 4.2.2 that would be nice but I'm not dying for it. Sure I would like the phone to be updated but I am not going to rely on LG for that and when I am ready to update, I'll find the most stable ROM possible and use that. I've been on the bleeding edge with Google for the pass two years with my Galaxy Nexus. I'm not interested in being a beta tester anymore.
[LG Optimus G Pro] NaveenKumarXDA:
^^^^ what do you think? Any possibilities of g2 features coming in next update.
[LG Optimus G Pro] lantoine:
Aside from "Knock Knock" and a few camera tricks, there was really not that much brought to the table by the G2 when compared to the GPRO in terms of features. In fact the GPRO has some features you wont find on some G2s (Wireless charging, true 5.5" screen real estate - G2 claims 5.2" screen but in reality it is more like 5" since the software buttons take up the bottom portion of the screen). The G2 was more about LG participating in the HW spec war presently going on between phone vendors. Most of the minor tweaks I saw on the G2 were with respect LG's Quick APPS which can be easily ported to the GPRO. In fact I think there is already a GPRO ROM that does this. The UI on the phones are so similar that you would have to go to the "About Phone" section to tell that you were on 4.1.2 rather than 4.2.2 on the GPRO.

"Knock Knock" is a nice feature but its only important to have on the G2 since LG placed the darn buttons on the back of the phone. Buttons on the back sounds like a great concept but in actual use the buttons being on the back just felt unnatural. At times I would have to knock the screen more than twice for it to turn on/off. Sometimes I would have to knock harder than I would like as well. Playing with that gimmick was nice for the first few day but when you get over it and start to really use the phone, you start to realize all the moments where having the button on the back is a pain in the behind.

So with that said, I think most of the minor software tweaks I saw on the G2 will make it into the GPRO if it is updated.
[LG Optimus G Pro] NaveenKumarXDA:
^^^ remote learning & hidden guest mode also good daily usability functions. On cm others can see what user account I logged in.

Lg this time nailed with new remote & guest mode. Also knock knock is good for me. :confused:
[LG Optimus G Pro] lantoine:
Guest mode most likely relies on the multi-user capability introduced in 4.2 so if that is something you are specifically looking for then you are unfortunately at the mercy of LG. All of the other G2 features you mentioned below MAY (no certain) be hardware specific to the G2. We know the GPRO has the hardware to transmit IR but what we don't know is if it has the circuitry to receive IR for learning. Same goes for "knock knock" in that we don't know if there is any hardware required to make it work.

If LG updates the GPRO to 4.2 or above, I can easily see them bring guest mode to the GPRO. If hardware is not the limiting factor for IR learning I think we will see that one too. Knock Knock on the other hand may remain a G2/"future LG phone" feature even if it is purely a software implementation. LG is in the phone business to make money and right now the "knock knock" feature is one of their prime differentiator. This unfortunately means that if you want it you will have to buy the latest and greatest hardware from them. They are not going to bring it back to older platforms because they want you to upgrade. Again this is just my opinion. Hopefully LG proves me wrong.
[LG Optimus G Pro] aygriffith:
Granted it's not that it's not totally working, but Android 4.2 correctly supports group sms messaging.
[LG Optimus G Pro] titus1:
And be able to move apps from internal to sd card natively.
[LG Optimus G Pro] lazerus06:
Dashclock
[Sony Xperia S, Acro S, Ion] alex_ncfc:
Can somebody offer a possible solution on this problem:

I upgraded my Xperia S to JB 6.2.B.1.96 using EMMA, and whilst the phone is otherwise working ok and running well, my call log is always empty.

I have tried restoring it using MyPhoneExplorer, with no success. I have also tried the menu button in the Call Log screen saying Hide/Show Call Log, with no change. When I hide it and then show it again, it says "call log is empty." However, something must be there, because when I hook my phone up to my PC using MyPhoneExplorer and refresh the call log on there, it shows calls that I've had today!

So why is it showing as empty on the phone? This is an important feature for me.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Mishael:
I've been searching for detailed information about Evernote integration but so far I did not find anything useful.

Can someone explain how does the Evernote integration in new Note 3 works?

I am looking especially for answers to the following questions.

- are action notes synchronized to evernote?

- can I sync scrapbook notes to Evernote?

- can I choose which s-note notebooks sync to Evernote?

- can I choose the destination notebook in Evernote?

- what about tags? are they synchronized?
[Galaxy Note 3 Q&A, Help & Troubleshooting] Kofanger:
Action notes and Srapbook doesnt seem to sync with Evernote.

However Evernote has been Integrated quite well into S-note.

Actually, I think s-note is much easier and faster to use than the original Evernote app.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] leandrocn:
Hi experts!

The i9082 model and other 'Duos' models from sansung have the funcionality of pointing what sim card will be used to work with data connections.

But I cant see nothing that can perform this operation scheduled or automated way, like in tasker or other applications.

For example, carrier 1 (SIM1), lets me use 10MB of daily transfer at hign speed. Usually I reach this quota by 11:00am. Should be great if I discover some way for switch the connection to carrier 2 (SIM2) for using by the afternoon... does it make sense?

I´m open to suggestions, we should change something on init.d file, or other configuration file, I dont know, but I feel this should be an issue of most of us, owners of dual-sim devices.

Thank you and let the brainstorm begin! :fingers-crossed:
[Android General] C00lBeanz:
All you need is a rooted phone with a root file explorer and a nandroid backup.

1: Go into your root file explorer

2: Go to your clockworkmod>backup then choose the backup file

3: You will see a file called "nandroid.md5" Open it with text editor and delete everything inside it (Don't rename any files)

4: Exit with the back button and click "Save"

5: Happy restoring!

The problem causing it was the stuff in the md5 file not matching up, when you deleted it, it now skips this step.
[Android General] C00lBeanz:
Bump

Sent From Note 2 Using Minuum Keyboard :)
[Android General] dragon135:
And then there is no way detecting your backup is corrupted.

Sent from my GT-I9500
[Android General] C00lBeanz:
I Tried it and it worked
[Android General] C00lBeanz:
bumparoonies
[Android General] justmpm:
The md5 check is pretty important, if your back up is corrupted you could easily end up in a bad place. The steps you lined up, absolutely work and I have done it myself, but only with a nandroid back up that I was really confident in. I am not sure if this is still the case, but if you have several nandroid backups in your back up folder and one of them has been corrupted, then all of them might throw the back up error...even though their md5s match.
[Android General] C00lBeanz:
true, but for me, most of the time it fixes everything.
[Android General] C00lBeanz:
bump
[Android General] BoyCasuales:
wow, thanks bro! this work in my device :good:
[Android General] C00lBeanz:
no problemo
[Nexus 4 Q&A, Help & Troubleshooting] Wimm147:
Yesterday my phone died. I started the tom tom application, the screen froze. Pressed the power button for some seconds, phone turns off. No success trying to turn the phone back on. It was plugged in to a car charger.

The phone has been attached to a wall charger for >10 hours. The phone just looks dead, when it's plugged in and I press the vol down + power button I get a blinking red light after about 15 seconds, but notting happens.

Is my phone officially dead?
[Nexus 4 Q&A, Help & Troubleshooting] Desno365:
Red light doesn't necessarily mean your phone is dead. Maybe it's a problem with the battery, some users have solved the problem removing the back cover.

Read this: http://xdaforums.com/showthread.php?t=2250454

http://xdaforums.com/showthread.php?t=2127047
[Nexus 4 Q&A, Help & Troubleshooting] Wimm147:
Disconnecting the battery didn't work...

Next up ... replacing the battery I guess?
[Nexus 4 Q&A, Help & Troubleshooting] playya:
RMA it and get another one
[Nexus 4 Q&A, Help & Troubleshooting] Goldenmeadow:
Hi!

I'm totally new to Nexus 4. I'm on 4.3 and yesterday unlocked bootloader and rooted. Everything works.

Today I booted in fastboot just to see CWM. On exiting it warned me about possible root lost. I answered YES.

So now I lost root. I still have SuperSU but when I run it I get message that no binaries installed and SU can't install them and I need to reroot phone...

I tried to download chainfire 1.65 zip and flash it CWM - same result...

Any hints would be appreciated!
[Nexus 4 Q&A, Help & Troubleshooting] Pipusz:
Try flashing TWRP.
[Nexus 4 Q&A, Help & Troubleshooting] Goldenmeadow:
Ok, I'll try.

But am I accessing CWM properly? Do I have to go through fastboot?

My last phone had button combination to boot straight into recovery. I don't see such option in Nexus 4.

Thanks again!
[Nexus 4 Q&A, Help & Troubleshooting] Pipusz:
Is there an option in your current ROM to reboot into recovery? If not, power off the device, then hold down the volume up-down and the power buttons. I tend to forget these button combinations, but I think this is the one that will lead you to fastboot. From there, navigate with the volume buttons and OK something with the power button.
[Nexus 4 Q&A, Help & Troubleshooting] Goldenmeadow:
Thanks for reply!

Sorry I forgot to give tech details: I run stock ROM + kernel, just rooted and unlocked fastboot.

So yes, this is the way I use to access recovery: through fastboot.

Last time while exiting CWM I selected NO to last question about trying to fix root and my root is still here :)

Thanks for help again!
[Nexus 4 Q&A, Help & Troubleshooting] Pipusz:
Glad to hear that. If it's OK, leave it that way, it won't cause any harm.

If you want to try TWRP, go to the Play Store and download the GooManager application. Grant it superuser permission, then hit the menu button at the upper-right side of the screen, right under the clock. From there, select "Install OpenRecoveryScript" and it will download and flash the latest TWRP on your device. After that, reboot to recovery to check if it's working.