yashsingh1/xdaforums huggingface dataset:
[Sailfish General] EnErGy[CSDX]:
AFAIK kernel command line set when creating boot.img using mkbootimg

http://people.debian.org/~timo/Jolla/jolla_dmesg

jolla device use following command line:

[ 0.000000] Kernel command line: init=/sbin/preinit root=/dev/mmcblk0p28 rootfstype=btrfs rootflags=recovery noinitrd androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 maxcpus=2 androidboot.emmc=true androidboot.serialno=DU3BB00426 androidboot.baseband=msm project_id=3 androidboot.board_adc=1119 lcm=1 wlanmac=5056A8010017 do_fsck=1 bootup_reason=0xFFAFDBFE wifibin=0 pwr_on_status=pwr_on_by_pwr_key emmc_wp_size=8388608 board_id=DVT0

you should change it for your device.

BTW better to have serial console when do such things, i know it is available on Nexus 4 and 99% sure that it is not available on your device.
[Sailfish General] Daycrawler:
Yeah, I believe it's my current problem. Fastboot is not really a perfect Linux-booting tool. I got my bootloader unlocked and it only allows fastboot. Every way to boot Mer I found so far uses U-boot or a similar bootloader. Usual Android bootloader may not be able to manage it. Maybe that's the reason Ubuntu was abandoned when flipped images came out... I will look into that further, thank you for your replies.
[Sailfish General] carepack:
how about the kickstart file? which one was used by [MENTION=4565663]Daycrawler[/MENTION]

?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Sailfish General] Daycrawler:
In the libhybris-cm project there is a yml file which gets converted to ks. That's the one I used, I think I edited a few lines though. I'm not home for the weekend, so I can't be sure.
[Sailfish General] tashik19:
Bring sailfish oS for nexus 7 soon!
[Sailfish General] apelamod:
Sorry wrong place...

Lähetetty minun Nexus 4 laitteesta Tapatalkilla
[Sailfish General] Daycrawler:
So I checked the file - the architecture was ok (ARM7HL) so I only edited repo links in .yml file - links were dead.

The problem is - in the tutorials I found people dd-ed the output tar.bz2 to an SD card and boot their devices from it. I don't know if that's possible for a stock Android bootloader and I don't know how to bypass that.

Regarding boot.img mentioned earlier - I'm using the one built from libhybris-slightly-modified CM sources.

I don't really know where to go from here, I would love to rum Mer/Harmattan/Sailfish on my phone, but it seems I have to wait until they release their Nexus 4 work and then try porting it. So fingers crossed.

The error I'm getting is "Cannot execve system/bin/sh". And that's not a typo on my part - it print "execve". Checked it more than once - this file is a symlink to file "bash" in the same folder, my updater-script sets this symlink and executable permissions for the file but it doesn't help.
[Sailfish General] EnErGy[CSDX]:
please give link on that tutorial.

i`m think you should create it manualy using mkbootimg.

boot.img is kernel + initrd + command line combined into file.

initrd contains root filesystem and android do not do switch root as desktop linux do.

system.img is mounted under /system dir, if you flashed sailfish os root image on partiotion where was system.img then it will not work.

because boot.img started first and it expect usual android system.img on that partition.
[Sailfish General] Daycrawler:
Yes, that makes sense. Will try to look into that more, thanks for your attention. Will play around with it more when I'm not busy with my current exams.

This is the blogpost/tutorial I'm trying to base on: http://martinbrook.blogspot.com/2013/04/adventures-with-libhybris-and-andriod.html .
[Sailfish General] mscion:
Been following this thread and hope you succeed. Also might be interesting to see what happens at MWC. Perhaps Jolla will have more info on port to nexus 4 or 5.

EDIT: Just happen to find this. Though you might find it interesting.

http://releases.merproject.org/~carsten/SailfishFOSDEM2014_vfinal.pdf
[Sailfish General] Daycrawler:
I've seen this guy's article somewhere about his libhybris, very good work on his part. Good find, nice read, thanks.
[Sailfish General] EnErGy[CSDX]:
i followed this tutorial, there is nothing about dd tar.bz2 to sd card.

you should get following

[YOUTUBE]zNwlVw-Ej68[/YOUTUBE]
[Sailfish General] Daycrawler:
I know I should get Qt running, it's a Qt demo, this is the DD part:

"Ok so next step is to get a minimal Mer image for your device, this is another blog post in itself so I've created a basic image here. Download this and write to an sdcard and boot in the cubieboard. It should boot to xterm on hdmi."

Cubieboard boots from SD directly. I will look into my boot.img tonight. I've seen it on a Xperia before, but no real guide has been published for that (as far as I've seen). Anyhow, thanks for the reply.
[Sailfish General] EnErGy[CSDX]:
but there is no tar.bz2 when you go to download link.

there is raw image and readme telling how that raw image was created

raw image contains all partitions and partiotion table it self, you don`t need it.

in readme described how he integrated u-boot into raw image.

AND DON`T DO ANYTHING WITH PARTITION TABLE ON YOUR PHONE!!!!

Sorry i`m a bit lazy to write guide.
[Sailfish General] EnErGy[CSDX]:
just found this: https://github.com/mer-hybris/hybris-boot

it is not usable out of the box but should help to create boot.img
[Sailfish General] Daycrawler:
Have you succeeded in building a boot image yourself? If you can't write how you did it - could you upload it somewhere for me to poke my nose in? If you still have the file...

I feel I'm stuck at this point - need to educate myself a bit more about how it (the boot process) works exactly, the link to github should help, thanks for that.

I didn't really realize until now how much Android changed Linux itself for its purposes.
[Sailfish General] EnErGy[CSDX]:
i didn`t try to boot, i always experimented in chroot and filesystem image is on SD card.

main difference is that desktop linux bootloader takes kernel and initrd from filesystem, on android kernel initrd and command line parametes combined into single image (boot.img) and this image is flashed to special partiotion.
[Sailfish General] mscion:
[MENTION=4565663]Daycrawler[/MENTION] I was wondering if it would be helpful to study how folks are getting ubuntu touch to work on android devices. Perhaps there are some similarities here?
[Sailfish General] Daycrawler:
You are right, there may be some similarities (at least should be IMHO) and I was excited to see some work has been done to run Ubuntu Touch on my LG, but Canonical let go of chroot some time ago (which is a good thing) and since then my device's contributor didn't work on that.

This is the official Ubuntu porting guide :

https://wiki.ubuntu.com/Touch/Porting

And the part I'd like to read (boot.img) is in "to-do" list :/

Anyhow, tomorrow is my last exam, so I will be messing around with it till the morning :P
[Sailfish General] carepack:
i found this tutorial

http://www.cnx-software.com/2013/04...u-libraries-with-mer-linux-on-the-cubieboard/

based on martin brooks blogpost

they use mer images from an ftp server. on this server they providing armv7 images for example and also the plasma files for the nexus 7

tablet. maybe the we will able to use the provided mer package!?

ftp://5.9.162.110/
[Sailfish General] kecibamoh:
very niceeeeeeeee
[Sailfish General] EnErGy[CSDX]:
it is the same ftp as in martin blog post.

for plasma active you can look on nexus7

https://wiki.merproject.org/wiki/Community_Workspace/Tegra3/Nexus7
[Sailfish General] cuttysark76:
Hi,

Followed the video uploader of the Nexus 4 Sailfish Port and found is github account and repositories...

https://github.com/sledges?tab=repositories

Hope it helps...
[Sailfish General] kkruglov:
one more video of sailfish on nexus4 with showed main screen, gallery, chat/sms apps.

http://www.youtube.com/watch?v=oEsNZdcw_cU
[Sailfish General] sledges:
Good news everyone: Jolla and community is enabling you to join and port Sailfish OS to an Android device! http://xdaforums.com/showpost.php?p=54236681&postcount=49

Spread the word in respective threads of your favourite devices with link to the announcement above

Fresh winds around, #sailfishallthethings :)

Sim
[Sailfish General] ivonSQY:
I hope it can flash in L7 oneday
[Sailfish General] Dnezkumam:
Is it possible to port sailfish on Xolo q1010i?
[Sailfish General] pakkosauna:
have enyone porting android in jolla?
[Sailfish General] JuggleX:
Ok here is it: connect to vnc ;)
[Android Q&A, Help & Troubleshooting] Mikethe3nd:
Hello I'm a owner of a Alps 1Phone 5c, tho I wanted to know if anyone else has that, I've tons of issues with it.

I'm currently trying to install a new firmware tried every rom possible and every single one failed.

I found something about alps 1phone5c on the needrom site if anyone knows that but still nothing.

when I try to wipe the cache and data and etc... then go to SD card and choose the rom, it just loads for a few seconds and gives me an error of "Installation aborted" I would love to have some assistance with those issues.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Ascertion:
Anyone know what kernels/ROMs work on the 720T version of this device?

Thanks
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] youngnex:
I'm a new 720T user, so as im searching myself, i'm leading everyone to this thread: http://xdaforums.com/showthread.php?t=2621862
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Shaun_vip:
I have my S4 updated to OD2 with the mk5 modem rooted with cf auto root. Domestic Sim stayed unlocked after upgrade. I haven't had any issues with the domestic Sim unlock and supersu as I have read some people have had to change superuser app on OD2 for galaxy tools to work properly.
[Nexus 5 Q&A, Help & Troubleshooting] vandizzam:
Any Roms besides Cataclysm that include Google dialer? I don't want to have to flash it because I've read about incompatibilities.
[Nexus 5 Q&A, Help & Troubleshooting] RootTheMachine:
Flashing it works just fine. ROMs aren't really supposed to include it, for legal reasons.
[Nexus 5 Q&A, Help & Troubleshooting] vandizzam:
Thanks for the reply. Will I be stuck with two dialers?
[Nexus 5 Q&A, Help & Troubleshooting] RootTheMachine:
Let me rephrase that. It should work fine, but that all depends on your ROM.

If you flash the Google Dialer addon module from the official PA gapps, it will remove the built in dialer and replace it with the Google one.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
No. They have the same name so what you flash will replace what once was there
[JASJAR, XDA Exec, MDA Pro General] sapija:
I recently upgraded the Rom from my Qtek 9000 from German to English. Worked out fine ! Next problem was the hardware keyboard...was suddenly Querty where it had to be QUERTZ. Thanks to the forum that problem is fixed too. Still have one little problem now....the 'SOFT' - keyboard (keyboard that appears on the screen) is still QUERTY and should be QUERTZ too. How can I change that ! Has anyone a solution ?

Thankx !
[General Questions and Answers] dannymb:
Maybe it won't be interesting to some of you

I am using a Nexus 4 running 4.4 stock, not rooted and tried to tether my Asus TF700 tablet. I am on T-mobile with the "unlimited" everything 70 dollar plan.

This is my first time tethering in many months

I setup my portable hotspot and my Asus connects to it fine. Apps such as Gmail and Google Maps have access to data albeit seemingly slower than on my phone but regardless it works.

the issue is when i try to browse the web (i use chrome), none of the webpages load and it does not direct me to a T-mobile page trying to sell me tethering plan.

the main reason I am doing this is for Netflix and I get the error "Netflix service is unable to be reached at this time..." but it works on my phone.

My question is...why do some apps have access to the tethering data but not my broweser and netflix? And is there a fix for this?

thank you for any help given to me
[Xperia SP Q&A, Help & Troubleshooting] Phanss:
Hi,

I managed to root my SP. I managed to do the boot unlock. I do not succeed in installing a Rom. It just doesn't work. I always get the bootloops no matter what I do. Sometimes with green, red and blue LED lights, sometimes with only the 'Sony' Logo, sometimes with the Sony logo and the colorfoul waves and even once with the cyanogen logo. But I'm tired of it. All.

So I'm asking; what is the most simple ROM to install so I can just use my phone again?
[Xperia SP Q&A, Help & Troubleshooting] no_username_available:
try the existenZ rom
[Xperia SP Q&A, Help & Troubleshooting] Pulsa:
What ROM are you trying to install?
[Galaxy Note 3 Q&A, Help & Troubleshooting] pietpodlood:
Hello people, I have now completely moved to CM11 on the Note 3 and I'm not looking back. It's brilliant. There are issues like battery life and audio and so on but I expect these issues to be sorted out in the next few weeks. Anyways the thing that grinds my gears the most about CM11 on the N3 is the hovering cursor. I want a visual indicator of where the stylus is, and on the Samsung ROMs it's perfect, however on CM the big black cursor does not look that great. I was wondering if someone with greater knowledge than me could help with this.

cm-11-20140126-NIGHTLY-hltexx\system\framework\framework-res\res\drawable-xxhdpi

'framework-res' is an apk file, that I extracted with 7zip

My idea is to extract the APK file above, and just replace the cursor icon with something smaller or more like the one on Samsung ROMS, then 'remake' (dunno if you compile/compress it) it into a apk, flash this to the device. Would this work or not?

I have attached the two /png images found in the folder above, which I pulled out of the latest CM11 nightly. The basic idea is to replace the cursor with the other icon.

If this is not possible, is there another way to do it? Xposed modules are able to replace battery icons and all sorts of other things. Can the cursor be replaced that way?
[Galaxy Note 3 Q&A, Help & Troubleshooting] yoarimo:
Same here

Hi there! Looking to do the same... No luck so far. I try with other .png but i always got boot loop. Lets wait for some real dev to help us! :D
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
Hi,

I accidentally deleted everything through TWRP. I wanted the kindle fresh for my new ROM, and thought that deleting everything would make for a cleaner install. I was wrong and now all my kindle is good for is TWRP.

When in TWRP, windows doesn't recognize the kindle. Because of this, I cannot mount it. Windows and the kindle fire utility recognizes it as adp when i boot regularly (which is just a black screen) but cannot do anything since it will not enter normal or fast mode.

I don't know what to do, nothing is working. When I restart the kindle it says superuser is not installed, and asks if I would like to install it. I say yes, and it fails. Super user WAS installed before I deleted everything.

Any ideas?
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
Some more info

1. shell doesn't work

2. it looks like the bootmode is stuck in fastboot, but KFU won't recognize it, even though windows does.

3. Windows does not recognize the kindle when in TWRP recovery mode. If It did i could simply transfer files over and flash it...

4. If I try to boot normally, I get a black screen, but FKU recognizes ADP. It does not recognize what bootmode it's in though.

I believe FFF is working as I have the blue kindle logo and options in the bootloader, but no matter what I do I can't figure it out.

I

REALLY

need some help from you more experienced guys

thanks for reading
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I'm making some progress, I'm in fastboot command prompt and have access. But what do I do from here?

How can I install a system from fastboot? It looks like all the guides say to install twrp and go from there but I have twrp and it wont communicate with my pc!!!
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
ADB

Do you have adb and fastboot intstalled on your PC??
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
Yes, I've been using them at the command level
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
Feedback

Boot into recovery and type

adb devices

copy and paste the output of this so I can see!!!
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I went to boot and at the black screen tried to push the stock kindle FW. it failed for some reason

c:\kfu\tools>adb devices

List of devices attached

0123456789ABCDEF device

c:\kfu\tools>adb push C:\update.zip \tmp

failed to copy 'C:\update.zip' to '\tmp': Read-only file system

c:\kfu\tools>

Here is me trying adb devices in recovery mode

c:\kfu\tools>adb reboot recovery

c:\kfu\tools>adb devices

List of devices attached

Interestingly, rebooting into recovery just brought me to the bootloader. it wouldnt boot into recovery by itself, I have to manually do it through the bootloader. Immediately, booting into recovery disconnects my kindle from the pc, and I hear the sound in windows and the kindle dissapears from device manager.
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
So you can boot into recovery yes??

What is this KFU if that some kindle stuff we need to get rid of it and get the fastboot and adb from google... The SDK

make sure you open your CMD window as admin and try putting that file in the /sdcard not the /tmp
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I can boot into recovery, yes. KFU is kindle fire utility. I have the sdk and fastboot and adb.

could putting it in tmp be why the push failed?
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
Admin

Or maybe you did not open you CMD window as admin....but twrp should see your devices in adb and let you push things to the /sdcard for sure... I have one right in front of me, but I am running linux which is much better for these kinds of things... Here is my output of that command and than a push of a zip file

lj50036@cmbroms ~ $ adb devices
List of devices attached
0123456789ABCDEF	recovery

lj50036@cmbroms ~ $ adb push cmb_kkgapps_20131209.zip /sdcard
6121 KB/s (126216099 bytes in 20.135s)
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I ran it as admin, now I get an error saying /sdcard is a directory

C:\Windows\system32>cd c:/kfu/tools

c:\kfu\tools>adb push C:\update.zip /sdcard

failed to copy 'C:\update.zip' to '/sdcard': Is a directory

c:\kfu\tools>adb devices

List of devices attached

0123456789ABCDEF device

c:\kfu\tools>
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
feedback

Move everything to the root of your c drive fastboot.exe, adb.exe, update.zip, all of it and than when you open your CMD windowas admin type

cd /

This will move you to the root of your c drive in you CMD window... Than type dir to make sure u can see your fastboot and adb and your update zip

than type

adb push update.zip /sdcard
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
It's been a long time since I looked at this, but I seem to remember the windows adb client wanting a trailing slash if the push destination is a directory. That is... you want to use "/sdcard/" instead of "/sdcard" in that command to indicate that you want to push a file into that directory rather than replace the directory with a file (which it won't allow). Alternatively, you can use "/sdcard/update.zip" to remove any ambiguity from the command.

The output of your "adb devices" command is also a concern. It doesn't look to me as if you've booted the device into TWRP because it should output "recovery" and not "device" at the end there. One way or another, you'll have to get it to boot into TWRP if you want to flash that update.zip.
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I wanna thank you guys for helping me. I'll never be able to figure this out alone.

Still no luck. It either says it's a directory or I lack permission.

I can get into TWRP, but windows will not recognize the kindle while in recovery mode. The only times windows will recognize the devices is if I'm sitting at the boot launcher (it says fastboot) or try and normal boot (and it says "device"). If I could just connect to the PC in TWRP, i could mount it, cut for some reason I can't. Whenever I exit TWRP it also warns me that superuser is not installed, and if I would like to install it. I say yes, and it gives me an error =/

Fastboot works great though, is there anything I can just flash?
[Kindle Fire Q&A, Help & Troubleshooting] kinfauns:
Try to use the "mount" function in TWRP to mount the /sdcard partition on your computer. It should work with the generic drivers already on your Windows PC and you can copy the update.zip over to it that way. If you can't get that to work, you are going to have to try reinstalling the drivers to get your PC to recognize TWRP. There are detailed instructions on how to do this in my guide.

The only other thing I can think of is to try reflashing an older version of TWRP. Those directions are available in one of my guides as well.
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
Recovery

I would if it were me, install a recovery you dont plan on using... Than flash the one you would like to us.... I know it sounds funny but.. Ive be here before and that seems to work everytime... Than flash ROM and Gapps....

Here is the link to TWRP the first gen fire is an 'otter'... Make sure you get the otter.img....Than rename the .img file to twrp.img than put it with fastboot.exe and open CMD window as admin...and type

fastboot -i 0x1949 flash recovery twrp.img

Than

fastboot -i 0x1949 reboot

Let me know if that works for you or if you have any questions along the way... Thx as always lj
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I didn't see the link for the older TWRP, but I went to the website and tried this one

http://techerrata.com/browse/twrp2/blaze

openrecovery-twrp-2.4.2.0-otter.img

I successfully flashed it and rebooted, but when the kindle went into recovery mode it once again disconnected from the computer. In recovery, which was clearly the older TWRP version, I attempted to mount but nothing happened. Of course it can't happen if it isn't communicating with my pc =/

Can I flash a ROM directly through fastboot? That would probably solve the issue, no?

What about that other recovery program, COTR?
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
2.6.3.1 Give that one a try!!!
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I was able to get TWRP recognized by windows by using the earliest blaze edition. I mounted, copied the files, and then flashed back to 2.6.3.1 otter.

Then I wiped whatever data may have been in system data and cache and installed a new rom...

Only problem is it seems to be hanging on "updating partition details.."

I have the option to reboot, but am not sure if I should...
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
I think I got it!!
[Kindle Fire Q&A, Help & Troubleshooting] lj50036:
Well take it slow......Let me know if you need any help
[Kindle Fire Q&A, Help & Troubleshooting] llmercll:
Yup, I got it. Once I was able to mount using TWRP it was easy from there.

PHEW!

Thanks so much guys, couldn't have done it without you :cyclops:

I installed this ROM, and it seems to be working well

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

I originally wanted to update my jellybean ROM because the one I had drained the battery really badly. It kept draining in sleep mode and whenever I went to use it, it was always dead. I hope this ROM does a better job with the battery.

If there's a particular ROM you guys would recommend I'd like to check it out.

thanks again!