yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] aazzam16661:
I don't understand about the script and .sh stuff

A step by step please :fingers-crossed:
[HD2 Android NAND Development] aazzam16661:
I'm not install it using aroma installer or anything, i'm not an expert on the flashing part of rom or the updater-script

Still i dont understand, i'm so sorry
[HD2 Android NAND Development] Robbie P:
Try the attached in /system/etc/init.d/

delete the .txt at the end of the filename and set perms rwxr-x--- if needed

After boot attempt, see if you have lollilog.txt on /sdcard
[HD2 Android NAND Development] Robbie P:
I just tried latest v6 (updated today) with miui rom from http://xdaforums.com/hd2-android/nand-dev/dec-27-2014-t2986053 nativesd, chose newrom opt4. It doesn't install, see aroma log
[HD2 Android NAND Development] HypoTurtle:
Delete /sdcard/rdsfuncts.sh and try again - I changed the getpropfile() {} in ramdiskscr (forgot to change in rdsfuncts).
[HD2 Android NAND Development] -pixelfreak-:
re

hypo i have installed my LS nand and dataEXT on my TmoUs with V6 and works great... install with non rdsfuncts.sh on SD Card only one problem i have no activate screen (selectbox) in aroma for SWAP... in the log i can see Swap startup script deleted...

many thanks
[HD2 Android NAND Development] Robbie P:
It boots, eventually. hung on htc screen for 5 mins then took another 10 mins or so to make dalvik. It does seem slow.

edit; added aroma log and a first boot dmesg

edit2; each reboot takes ages on htc screen, is the wait for mmcblk0p2 command different in v6?
[HD2 Android NAND Development] HypoTurtle:
Just some text to mods/optional-swap

No difference in wait- it could be the kernel (ext4/FAT module) or sdcard (sdcard class may be too high).
[HD2 Android NAND Development] -pixelfreak-:
re

install V6 from yesterday and no swap screen in aroma... install with non /sdcard/rdsfuncts.sh and not run this script in twrp

install tests: CLK on Tmous and EU with Nand, nandDataEXT and NativeSD and DirectSD and works perfect....

hypo you can not insert my swap activator only with search swap partition, checkbox and copy files?

########################
# SWAPPING Selection #
########################
if file_getprop("/tmp/aroma/mods.prop","selected.2") == "1" then
ui_print("@ Configuring Ram Pages Swapping...");

package_extract_file("mods/swap-partition-activator/install/installswap.sh", "/tmp/installswap.sh");
set_perm(0, 0, 0777, "/tmp/installswap.sh");
run_program("/tmp/installswap.sh");

if ( file_getprop("/tmp/hardswap.prop", "swap.present") == "yes" )
then
if ( file_getprop("/tmp/hardswap.prop", "swap.formatted") == "yes" ) then
ui_print(" Swap partition formatted.");
else
ui_print(" Error: Can't format existing swap partition!");
abort(" Aborting...");
endif;

else
ui_print(" Error: No swap partition found on SDcard!");
abort(" Aborting...");
endif;

# We're ready for the startup script to do ./swapon

package_extract_dir("mods/swap-partition-activator/etc", "/system/etc");
set_perm(0, 0, 0755, "/system/etc/init.d/99swap");
ui_print(" Swap-on script copied to /etc/init.d.");

endif;

if file_getprop("/tmp/aroma/mods.prop", "selected.3") == "2" then
ui_print(" Removing swap...");
delete("/system/etc/init.d/99swap");
ui_print(" Swap startup script deleted.");
endif;

# Swap partition activation - run the check for sdcard swap partition
pleasewait("Checking SDCard for Swap Partition.");
zipexec("mods/swap-partition-activator/install/checkforswap.sh");

#-- Group 2
"Activate RAM Pages Swapping","",2,
"Yes",
"You must have a pre-made swap partition on your SDcard!", iif((file_getprop("/tmp/checkforswap.prop", "swap.present") == "yes"), 1, 0),
"No",
"Swapping will be deactivated.\n\n", iif((file_getprop("/tmp/checkforswap.prop", "swap.present") == "no"), 1, 0),

http://d-h.st/mZZa

Pixelfreak

P.S. ooopps a big picture for people with glasses ..LOL
[HD2 Android NAND Development] mosi hd2:
i had problem with this rom! (magldr, clk)

boot stuck and hangs!

this rom has problem and i think HypoTurtle's script works normally
[HD2 Android NAND Development] macs18max:
hypoturtle, robbie.

Again this is out of topic so I apologie but I desperately need ur help.

Again. I'm currently booting lollipop in directsd. (not using ur script)

It is taking 20min+ to boot using ext4

I want to try using f2fs for both system and data.

Tried all possible means but nothing yet.

I have attached the current script and fstab.htcleo.

no mounting is done in init.rc (except for mounting cache under data) and I'm using mount fstab.htcleo in init.htcleo.rc

How can I make changes in fstab and installer script to install and boot using f2fs?
[HD2 Android NAND Development] Robbie P:
Sorry, macs18max, but I would only be guessing with the coding.

Does the rom kernel and the recovery kernel both support f2fs?

Are both ext partitions pre-formatted to f2fs?
[HD2 Android NAND Development] macs18max:
yes. sorry for not mentioning.

kernel along with recovery supports f2fs. i can format to f2fs using recovery and mount it in recovey using mount option.

I am stuck mainly at installer script. i tried

mount("f2fs", "EMMC", "/dev/block/mmcblk0p2", "/system", "max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc");

didnt work

Then I found this post http://xdaforums.com/showpost.php?p=55061160&postcount=38

but i have to mount mmcblock0p2 as system so run_program("/sbin/busybox", "mount", "/system"); wouldnt nt work.
[HD2 Android NAND Development] Robbie P:
it might be a problem with the flags, the f2fs flags in ramdiskscript are "rw,flush_merge,discard,noatime,nodiratime,background_gc=on,inline_xattr,active_logs=2"

Edit; I just tried the last miui rom mentioned earlier with v6, directSD (ext4, ext4) with dalvik-on-nand and there is a marked improvement in the speed of the rom, and the speed of bootup. I did reformat both partitions before installing using minitool though, might explain the slow boots I had previously.

Edit2; can confirm what -pixelfreak- said earlier, no swap screen. I do have a 256mb swap partition p4, but it isn't being used, "free" gives 0,0,0
[HD2 Android NAND Development] HypoTurtle:
From nexus 7 f2fs fstab:

/dev/block/platform/sdhci-tegra.3/by-name/APP /system f2fs ro,noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait

/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait

/dev/block/platform/sdhci-tegra.3/by-name/UDA /data f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA​

From that page: run_program("/sbin/busybox", "mount", "/system"); looks at the recovery fstab to determine what/how to mount /system; you could try with the full command run_program("/sbin/busybox", "mount", "-t", "f2fs", "/dev/block/mmcblk0p2", "/system");

Do you think the boot time is due to (non-persistant) ART?

I'll try and fix the swap screen - adding any swap script to init.d would work though; or in terminal /system/xbin/swapon /dev/block/mmcblk0p4. (could use a copy of /tmp/checkforswap.prop)

Edit: Swap screen appears fine for me; have changed v6 so that dalvikonnand and swap screens appear. Empty the mods/optional-* files to remove them.
[HD2 Android NAND Development] EvilMegaDroid:
[MENTION=4056517]HypoTurtle[/MENTION] Download links are broken :(
[HD2 Android NAND Development] HypoTurtle:
Which links? - latest is Shellv6-with functs in my signature, and the dropbox links from #1 all seem to be working.
[HD2 Android NAND Development] EvilMegaDroid:
well i was trying to download beta 1_92 script , but dropbox gives Error (404) , anyways i downloaded your latest script but how do i use it now ?, i want to be able to flash a mod (CrossBreeder) in nativesd rom , is that possible??

Thanks
[HD2 Android NAND Development] HypoTurtle:
I just had a look...

If you add the ramdiskscript.sh to the setup folder and replace:

[b]run_program("/tmp/busybox","mount","/system");
run_program("/sbin/busybox","mount","/system");
run_program("/tmp/busybox","mount","-o","rw,remount","/system");
run_program("/sbin/busybox","mount","-o","rw,remount","/system");
run_program("/tmp/busybox","mount","/data");
run_program("/sbin/busybox","mount","/data");
run_program("/tmp/busybox","mount","-o","rw,remount","/data");
run_program("/sbin/busybox","mount","-o","rw,remount","/data");
[/b]
With
[b]
run_program("/tmp/ramdiskscript.sh","mntstuff","NativeSD","KK_JB_etc");
[/b]

Replacing kk_jb_etc with the rom-name; seen in /nativesd and about phone.
[HD2 Android NAND Development] HypoTurtle:
Yea, should work similar with other mods... just need to make sure it's sent to /tmp and perms set to 777.
[HD2 Android NAND Development] EvilMegaDroid:
your the best , thanks alot , do i do the same for all other flashes i need ?
[G3 General] dellvenues:
Xé tem [emoji16][emoji16][emoji16][emoji16][emoji16][emoji16][emoji16]
[G3 General] spiderio:
awesome works man..

thank for sharing..
[G3 General] Marcosuper7:
Thanks mate, ;)

Enviado desde mi LG★G3★D855®
[G3 General] PhYziCiAN:
LGPhone.apk

Hello.Where I can get LGPhone.apk? There is no such file in apps directories (D855, 10j firmware).
[G3 General] JaviLerma:
+1
[G3 General] DelBoy:
There is no easier way to get this? Not even with Xposed?
[G3 General] sergialess:
Any chance to create a mod for Marshmallow?. Many people are asking for a 2G/3G/4G toggle in the status bar. What do you think?. Thanks.
[G3 General] xddd00:
Googled and found this http://xdaforums.com/lg-g3/help/enable-3g-2g-lg-g3-d850-att-t3101137 easier than the old method, but thanks anyway for posting!
[Ouya Q&A, Help & Troubleshooting] jobzombi:
I'm on the stock rom, rooted, busyboxed, etc..etc and by that I mean I have the newest CWM recovery, mod collection, superuser, xposed framework and custom bootloader. I have been using a terminal emulator that allows an execute on open command, so I wanted to keep this program set to run "reboot -p" when run, since ouya still does not have a shutdown option. I know it is not the best, but I don't even have the shutdown utility in the terminal (maybe someone can help me install that too). Problem is that the shell opens non-root, so running that command fails. Sudo would be a good option, but it is not installed. I tried some sites for wgetting it, but that does not work, and I think it's mostly because the instructions are for other linux distros. I remember using it on fedora (had a no bells and whistles distro) and I tried doing the same steps here and same thing.

If someone can help on this that would be great, if someone has a better idea on how to shutdown from the GUI, even better, but that was the solution I thought of.
[Ouya Q&A, Help & Troubleshooting] jobzombi:
So using "su root reboot -p" works fine for now, but I would like sudo, i mean apt-get isn't on it either. Obviously shutdown is better as reboot -p does not give proper time for shutdown, ie like the waiting box when shutting down via the button on the ouya. So if shutdown could be added, that would be best.
[Ouya Q&A, Help & Troubleshooting] ahmadshawki:
You can go into the "Framework" in "Xposed" and choose to reboot or shutdown. I myself use the "Rebooter" option in "ROM Toolbox Pro".

Hope this helps...
[Galaxy S 4 Q&A, Help & Troubleshooting] SamsungPisser:
Hallo I have a Microsoft Wedge Mobile Keyboard. Since I'm German I have to use a different Keyboard-Layout. On Galaxy S3 and previous Android version of my S4, I just copied the files from there http://www.android-hilfe.de/4530976-post52.html Worked always perfectly. However now on 4.4.2 logcat says

but the files are in /system/usr and so on like said in the Android-Hilfe text.

I have a Galaxy Tab 4 with 4.4.2 and there when I connect my Bluetooth keyboard it says "Physical keyboard detected" and I can choose the keyboard Layout in the options, so it works with German layout flawlessly. There I don't need those files from Android-Hilfe.

I hope you can help my getting my keyboard work again on my S4.
[Nexus 5 Q&A, Help & Troubleshooting] Edogawa Conan:
Can we use the voice command to message people through WhatsApp?

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] kevtrysmoddin:
Not yet but it may come to the commandr app which extends the OK google functionality check the XDA YouTube channel for a review if it interests you
[7" Kindle Fire HD Q&A, Help & Troubleshooting] magnumthevoice:
Hello

and sorry for my horrible English! Yesterday I made a big mistake and I killed the bootloader of my Kindle Fire HD built in 2012!

I was reading on a german android plattform, that in this forum here are some members, who are able to write a new bootloader!

My questions are:

1. Is that right

2. how much it will coast?

Best wishes from Germany

Magnus
[7" Kindle Fire HD Q&A, Help & Troubleshooting] gingerdude:
Your in the smartwatch forum, try posting the question here http://xdaforums.com/showthread.php?t=2625682
[7" Kindle Fire HD Q&A, Help & Troubleshooting] SafinWasi:
Yes,it is right. Depending on what you did to the device,it might not cost anything at all. My question is,which bootloader did you flash?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] magnumthevoice:
At the last step of this instruction my kindle was dead!

Step 1: Test your fastboot driver installation by doing the following:

(For Kindle Fire 2nd Ed. and Kindle Fire HD 7" (2012) a fastboot cable is needed for this procedure. This cable is a special USB cable with a powered pin that normal USB cables do not have. For the Kindle Fire HD 8.9" it is not required.)

Power down your device if necessary

Type the following command into a cmd/terminal window on your PC:

fastboot -i 0x1949 getvar product

Should return with: < waiting for device >

If you need to, connect your fastboot cable to the Kindle at this time

Reboot the device

It *SHOULD* show a Fastboot screen and your terminal window should show something like:

product: Tate-XXX-XX

(example for Kindle Fire HD 7" 2012, can also start with "Jem" or "Otter2")

If you have any problems with these initial steps try downloading Amazon's USB drivers for the Kindles and then repeat the above till you see the desired response.

Step 2: Download the files you will need to install 2nd-bootloader & TWRP recovery:

An older bootloader with an unlock exploit (this is specific to your device):

kfhd8-u-boot-prod-8.1.4.bin

md5sum a56f24c0c01aaea4bf408bc710faadaa

VERY IMPORTANT THAT YOU DOUBLE CHECK THE MD5SUM ON THIS FILE. IF ITS CORRUPTED AND YOU APPLY WITH FASTBOOT, YOUR DEVICE IS A BRICK.

TWRP Recovery:

kfhd8-twrp-2.7.0.0-recovery.img

md5sum a0c7533fd853849184850580350abd18

Freedom Boot.img:

kfhd8-freedom-boot-8.4.6.img

md5sum 8374cf88e75abda8c374044a1f0daa5f

Step 3: Use fastboot to apply exploit files and reboot into recovery With the device powered off: connect your FASTBOOT USB cable(if needed) to the Kindle which should cause it to power on and enter "FASTBOOT" mode. Issue the following commands into your command/terminal window on your PC 1 at a time. (if you don't need a fastboot cable then power on the device after entering the 1st command below)

fastboot -i 0x1949 flash bootloader kfhd8-u-boot-prod-8.1.4.bin

fastboot -i 0x1949 flash recovery kfhd8-twrp-2.7.0.0-recovery.img

fastboot -i 0x1949 flash boot kfhd8-freedom-boot-8.4.6.img

(if using a fastboot USB cable swap to a normal USB cable before entering the next command)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] wire55:
Do you have the 8.9 or 7 inch model?

---------- Post added at 10:30 AM ---------- Previous post was at 10:29 AM ----------

If 7 inch you downloaded the wrong files, those files are for 8.9 inch.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] magnumthevoice:
Hi, you are right, I have the 7 inch version!!!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] wire55:
You have to use a restore tool to bring it back to life, let me link one.

---------- Post added at 01:24 PM ---------- Previous post was at 01:24 PM ----------

http://xdaforums.com/showthread.php?t=1951254
[7" Kindle Fire HD Q&A, Help & Troubleshooting] magnumthevoice:
Hi, I tried with the fastboot cable before, but the kindle stays still dead,- the display stays black!!!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] SafinWasi:
Dude,it's gone. An 8.9 bootlaoder on a 7 inch means hard-brick.

Sent from my device running CyanogenMod 11
[7" Kindle Fire HD Q&A, Help & Troubleshooting] magnumthevoice:
So it means, that there is no chance to wake it up?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] LinearEquation:
If the fastboot cord does not energize the tablet then it's a done deal. You can try the emmc threat or a new motherboard.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] magnumthevoice:
Thanks for information (

One question, what is the emmc threat,- I will find it here?
[ONE Q&A, Help & Troubleshooting] xkawsx:
This might be a silly question, but how do you carry such a big phone?

I came from and iphone 5, so putting the oneplusone in my jeans pocket just feels uncomfortable. I also get paranoid that i'm going to snap the phone in half if im like bending down.

So i find myself just holding it in my hands all the time...
[ONE Q&A, Help & Troubleshooting] AJ RIMMER!:
Front pocket of my jeans. I have deep pockets.

When I'm driving, I have to whip it out! It is too big and I need to lay it out on the passenger seat.

Awww yeah!

CM11s. Franco r7 Kernel. TWRP 2.7.1.0

Sent from my One, using the XDA app.
[ONE Q&A, Help & Troubleshooting] Spl4tt:
Also front pockets of my jeans. They are small, but it still fits :P
[ONE Q&A, Help & Troubleshooting] zephiK:
Front pockets. Its where my phone always has been.

Just don't put the phone in your backpocket, I still don't know to this day why people insist on putting their phone there. Just doesn't seem like a very smart thing to do.
[ONE Q&A, Help & Troubleshooting] OuncE718:
I've always had my front, right pocket reserved for every phone I've ever owned. I wear fitted jeans (not skinny jeans) and the phone fits comfortable in my pocket.
[ONE Q&A, Help & Troubleshooting] zephiK:
Now that I think about it, am I the only crazy one who thinks OPO sounds like Apple? lol
[ONE Q&A, Help & Troubleshooting] Birdsfan:
Front left pocket and I always take it out before sitting down or getting in my car. You will get used to the size in a week or so and then you'll look at your old phone like it was a child's toy!
[ONE Q&A, Help & Troubleshooting] xkawsx:
I guess thats the only place to put it then! hahaha

I would thought that a man purse would start trending... lol
[ONE Q&A, Help & Troubleshooting] inaudible101:
You could always put it in your purse...
[ONE Q&A, Help & Troubleshooting] AJ RIMMER!:
No, when we first saw the branding a few years back, on the side of a department store in China, we thought it was a blatant ripoff too.

OPPO - maybe how non-English speaking Chinese would say Apple!
[ONE Q&A, Help & Troubleshooting] zephiK:
The more I say it, it sounds like Apple thats for sure lol. I thought I was going crazy. I still feel like they could have named the company better, OnePlus is a weird name to call a company. But the name doesn't matter.
[ONE Q&A, Help & Troubleshooting] xkawsx:
https://www.kickstarter.com/projects/getclipless/clipless-secure-a-phone-to-new-surfaces-nfc-enable

problem solved lol!
[Palm Treo 750] georgedorn:
Is there a way that the media player stays active after the keypad is locked? I' m using the Treo 750 with a bluetooth headset (a2dp works fine). As soon as I lock the keypad the player stops. Could not find any option to change this.
[Palm Treo 750] lastcosmonaut:
I would also like to know if there's a solution.
[Palm Treo 750] bnycastro:
Try Scrnsaver.exe [taken from PHM PowerToys] it powers down the screen and locks the keys [D-pad center opens them up again], in other words it keeps the device ON while turning the Display and Keys Off [read: battery saving]. I use it when listening to music via A2DP.
[Palm Treo 750] georgedorn:
VJDeviceLock

I found a fine solution in the meantime. VJDeviceLock does the trick and works great with the Treo:

http://www.vijay555.com/index.php?Releases:VJDeviceLock
[Xperia Z2 Q&A, Help & Troubleshooting] HaroonZ2:
Hello.

Can I get more out of my devices by connecting them together by WiFi?

The TV is a 60inch Sharp LC-60.

The Aquos Net+ has WiFi and is able to connect to a PC using a home server option.

Can I not just connect my phone to my TV using WiFi?
[Xperia Z2 Q&A, Help & Troubleshooting] roninr1c:
Not sure if this helps but the Z2 supports miracast. If you TV supports miracast then you can mirror your phone to your TV.
[Xperia Z2 Q&A, Help & Troubleshooting] sensei_sai:
you can, I'm using this everyday. Well you can if your TV supports DLNA.

I'm casting almost everything from my phone to the TV with the app AllCast.

Also, if you have a Chromecast you can cast youtube and spotify from your phone.
[Xperia Z2 Q&A, Help & Troubleshooting] HaroonZ2:
My TV does I will try it thank you
[Xperia Z2 Q&A, Help & Troubleshooting] gibbo82:
I use the app bubbleupnp to stream videos to my TV. Love it ?
[Xperia Z2 Q&A, Help & Troubleshooting] irishrally:
Chromecast support screen mirroring now.

http://chrome.blogspot.com/2014/07/mirror-your-android-screen-to-tv-with.html
[Xperia Z2 Q&A, Help & Troubleshooting] sensei_sai:
Yes, but not yet on Xperia...

Edit: in fact it works with a hack found here on this forum!!!! http://xdaforums.com/hardware-hacking/chromecast/experimental-enable-mirroring-device-t2812193

And it works great!!!
[XPERIA X10 Q&A, Help & Troubleshooting] Sanujar:
Yesterday I wanted to take a screenshot of a message that appeared on my phone. I used the inbuilt Screenshot functionality of AirDroid as well as an app called Easy Screenshot, with root, but both give the same image (images attached and not re-sized or edited)

I am wondering why this happens. If I don't give root, nothing happens at all. Is there any way I can fix this, because I sometimes want an image of the messages my Service Providers sends me.

After rebooting several times, it is the same.

I am running stock upgraded Android 2.3 on my Sony Xperia X10i.

I appreciate any help.
[XPERIA X10 Q&A, Help & Troubleshooting] sabrinamalei:
Hi, I am from AirDroid Team, and AirDroid just has a XDA Forum Section, you are encouraged to post a question there. http://xdaforums.com/apps/airdroid

AirDroid screenshot function may not work for some devices and for Android 2.3 OS, it could not fix. I suggest you upgrade your Android OS.
[Huawei Ascend P6, Mate] thenatureboy:
Hello,,,

I am having problem updating some apps,, most of the apps are downloading and updating,,, but some apps like whatsapp, antutu, quickpic, Twitter are not updating... It gives an error 403...

Can somebody help...
[Verizon Samsung Galaxy S III] ejaf:
So...

I'm coming from a Fascinate running CM10. Pretty easy install, etc. etc.

Finally got some info from the S3 I'm restoring, and trolling around trying to find info (or finding too much).

This is what I have:

Android Version - 4.3

Baseband version - I535VRUCML1

Kernel Version - 3.0.31

Build - JSSI5J.I535VRUCML1

So I'm basically looking for the RTFM replies.

How do I find if the the bootloader is locked (I have been able to avoid installing ADB on my PC, but would have no troubles running basic linux command line stuff)?

I think I can install either TWRP or CWM, because it doesn't actually touch the bootloader, correct?

Can I install any ROM (I have read threads that I can install any "4.3 compatible ROM")? Is that all I need to look for?

What is the purpose of "safestrap" ? is it needed, and why (didn't need this on the Fascinate).

I am familiar with ODIN, and used CWM to install CM10, but with all the warning about "YOU WILL BRICK YOUR PHONE" have got me to a point of such confusion, I feel like a deer stuck in the headlights (or even worse, a Q-Beam).

Thanks in advance for any RTFM replies.

Eric
[Verizon Samsung Galaxy S III] kidhudi:
You ain't in Kansas anymore.

your bootloader is locked. your stuck with safestrap and roms compatible with a locked bootloader