[DEV] Native Ubuntu !! - Eee Pad Transformer Android Development

Please go to Lilsteffy's threat !!! ,DEV here has stopt !!!
Admin close threat please

Working
Touchscreen
USB Host
Audio Out (Speakers not working)
Wifi - Requires Terminal / Script
Code:
For WPA2 edit /etc/wpa_supplicant/wpa_supplicant.conf
then run
sudo chmod +x /etc/init.d/start-networking
sudo update-rc.d start-networking defaults 99 05
Known Issues
Wifi GUI not working
Bluetooth not working
Speakers not working(Output Works)
Touchpad not working
Standby issues with Lid CLosed - Investigating
Resize Loop File <--
Keep in mind 4G fat32 limit for FAT32 !!
To Do
Boot To android -> looking into kexec.
trying to mod touchpad driver.
Sources
Kernal Source
Mega Source
Tweakers and Testers
HTC Linux

Change log.
0.2 Added WPA2 script , user just have to edit and enable it.
0.1 Added boot from loop or second partition.
0.0b first release

There is already a thread for this...

Here is what I would do:
1)Rebuild your kernel without virtual terminal,
2)use/boot this kernel with android.
3) use es file explorer to find the write /dev/block/mmcblkXXX???
use this in the init script of the initrd
4) use terminal emulator and ls -la to find out the MAJOR and MINOR number
of the right /dev/block/mmcblkXXX
use/change this in the bin/MKNODE script in the initrd
-> Done

bergfex said:
Here is what I would do:
1)Rebuild your kernel without virtual terminal,
2)use/boot this kernel with android.
3) use es file explorer to find the write /dev/block/mmcblkXXX???
use this in the init script of the initrd
4) use terminal emulator and ls -la to find out the MAJOR and MINOR number
of the right /dev/block/mmcblkXXX
use/change this in the bin/MKNODE script in the initrd
-> Done
Click to expand...
Click to collapse
always a great help bergfex thnx

You can try step 3 and 4 also with the default android system. It is likley that it shows the same behavior.
Yea, but where is my motivation to buy a transformer, when you already have done the fun part.

bergfex said:
You can try step 3 and 4 also with the default android system. It is likley that it shows the same behavior.
Yea, but where is my motivation to buy a transformer, when you already have done the fun part.
Click to expand...
Click to collapse
i thing makedev is not even running as i dont even see the intro .( make is after intro )
think i have to dd the image to sdcard and that the kernels calls directly to init on root dev
you remember that sdcard is not mounted because of makedev , here its already working i think

Gary13579 said:
There is already a thread for this...
Click to expand...
Click to collapse
and have you seen any progress at the thread? cmon the thread title says: coming soon (i assume)

dd the image to sdcard (or even better to the internal nand sometime in the future) should end up in an better performance anyway.
If the intro doesn't show up there may be a problem with the arguments of mkbootimg.
It was the following if someone else want to give it a try:
./mkbootimg --cmdline 'init=/init rw consoleblank=0 fbcon=rotate:1' --kernel zImage --ramdisk ramdisk-new.gz -o boot-new.img
Maybe you can add a the link to your zImage and to your ramdisk in the first post if someone else want to try/help.
Otherwise the link can be found in the coming soon (i assume) thread.

jazux said:
and have you seen any progress at the thread? cmon the thread title says: coming soon (i assume)
Click to expand...
Click to collapse
it was meant for people to brainstorm for solutions, pretty much like this thread, and yes there has been progress in that thread.

jazux said:
and have you seen any progress at the thread? cmon the thread title says: coming soon (i assume)
Click to expand...
Click to collapse
And needlessly fragmenting information/work across numerous threads does nothing but exactly that: segment information and clutter the forum.

almost there

Wow!
Thats really good news!
But tell us more! Whats left to crack before you are ready to release something?
Thanks for making this happen!
Sent from my Transformer TF101 using XDA Premium App

Jhinta said:
almost there
Click to expand...
Click to collapse
If you can pull this off, you sir, will be my hero

Jhinta said:
almost there
Click to expand...
Click to collapse
Getting my paypal account ready for some donating

yes ? yes ? yes ??

Will this help?
http://www.nvnews.net/vbulletin/showthread.php?t=163916
Sent from my Transformer TF101 using XDA Premium App

Little tip, Add root=/dev/ram0 to get it to load the initrd and drop you to a shell

david279 said:
Will this help?
http://www.nvnews.net/vbulletin/showthread.php?t=163916
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
very limited amounts of that are useful, probably the sound stuff, GPU acceleration isn't going to work from that package as it is for the harmony SOC only, and we have the ventana SOC

Related

SD Card Speed Fix!! IMPLEMENT INTO CM7 PLEASE

http://forum.xda-developers.com/showthread.php?t=921530
THIS WORKS on the Aria. BIG DIFFERENCE!
akira02rex said:
http://forum.xda-developers.com/showthread.php?t=921530
THIS WORKS on the Aria. BIG DIFFERENCE!
Click to expand...
Click to collapse
I just tried this, and it appears that the tweak to the file makes a difference in speed tests.
I'm trying to get my hands around how to actually test it in real-world situations.
So for CM7 - this would definitely be a nice addition to this already excellent ROM...
akira02rex said:
http://forum.xda-developers.com/showthread.php?t=921530
THIS WORKS on the Aria. BIG DIFFERENCE!
Click to expand...
Click to collapse
This should have been posted in the CM7 thread. Why start a new one?
Here is a flashable zip that will add the fix to an init.d script and will survive reboot. It checks to see if the value is 4, and if so changes it to 128. You have to apply it after each new rom flash.
This can be tested with adb pull.
Pull it with the setting at 4. pull pack the cm rom to a local folder. you will get speed stats. after the first pull, set the param to 128. pull again.
syntax from adb: adb shell echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
from terminal - just skip the adb.
one note, I tried this on my Aria - it broke adb transfers. Then I tried it again and it worked.
Before I add this to CM, I want to make sure it's reliable.
The gallery loads even faster.
Sent from my Liberty using XDA App
attn1 said:
This can be tested with adb pull.
Pull it with the setting at 4. pull pack the cm rom to a local folder. you will get speed stats. after the first pull, set the param to 128. pull again.
syntax from adb: adb shell echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
from terminal - just skip the adb.
one note, I tried this on my Aria - it broke adb transfers. Then I tried it again and it worked.
Before I add this to CM, I want to make sure it's reliable.
Click to expand...
Click to collapse
Im at 128 with the update.zip I posted above, and I can adb pull and push to my hearts content. I am on nightly 18 BTW.
bkmo said:
Im at 128 with the update.zip I posted above, and I can adb pull and push to my hearts content. I am on nightly 18 BTW.
Click to expand...
Click to collapse
the correct way is to add it to init.rc - that's when I had a failure. but the failure is not consistent.
bkmo said:
This should have been posted in the CM7 thread. Why start a new one?
Here is a flashable zip that will add the fix to an init.d script and will survive reboot. It checks to see if the value is 4, and if so changes it to 128. You have to apply it after each new rom flash.
Click to expand...
Click to collapse
On cm, if you want to preserve an init script, you can do anyone of the following:
Save it in /sd-ext/userinit.d/
Save it as /sd-ext/userinit.sh
Save it as /data/local/userinit.sh
Use cm's backuptool, it runs on rom installation. Just save its path (without the leading "/system/") into /system/etc/custom_backup_list.txt
Code:
etc/init.d/04sdcardspeedfix
Apparent improvement
Just flashed the above posted zip on CM7 Nightly 18 - seems to be a dramatic improvement, at least in stats, on my cheapie class 6 card:
before update: Write 5 / Read 6
after update: Write 4 / Read 12
I did not conduct this test at all scientifically - just ran one speed test before and one after the update, so take it for what it's worth I guess...just figured I'd share.
attn1 said:
the correct way is to add it to init.rc - that's when I had a failure. but the failure is not consistent.
Click to expand...
Click to collapse
I have it running as an init.d script and cannot make it fail. I do see this tweak posted in a lot of different forums.
Looks like this thread is now dead. This has been commited to cm7.
bkmo said:
Looks like this thread is now dead. This has been commited to cm7.
Click to expand...
Click to collapse
I dont quite understand. This last change set it back to 4? We still gotta manually change it? Or that's just the MIN value?
Darius_bd said:
I dont quite understand. This last change set it back to 4? We still gotta manually change it? Or that's just the MIN value?
Click to expand...
Click to collapse
The last commit is making a correction for the nand flash after the sd commit changed all memory readahead to128.
.
Gotcha, thanks for the clear up
bkmo said:
The last commit is making a correction for the nand flash after the sd commit changed all memory readahead to128.
Click to expand...
Click to collapse
Correct! The changes will be built in tonight's nightly.
Have anyone who can build boot.img already flashed the new kernel files? Is Wi-Fi broken? Or just me?
Sent from my Liberty using XDA App
EDIT: sorry... my bad, it's my typo of modules folder

[HOWTO] Enable JIT automatically

[HOW TO] activate JIT on 2.2
PEOPLE. NO OFF TOPIC HERE!
if you dont know what JIT is it basically speeds up your phone, very recommended! more info ---> http://en.wikipedia.org/wiki/Just-in-time_compilation
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi all! i know some of you want to test JIT complier... so i did a little research and found greek forum ---> http://www.myphone.gr/forum/showthread.php?t=286161
there our friend kyrillos13 has posted a way to activate JIT. so heres guide in english how to do it:
Activation Wizard of JIT
You need to install the root explorer (find it by searching on google). After the installation will take you to leave a message superuser. Press allowed. Download the file from here http://www.multiupload.com/9HK3NP4MML Unzip and copy the system folder on your memory card. With root explorer access the bin folder, select all the files and copy them to the path / system / bin / on your mobile. Upon return to the system folder that you copied to your phone and open the folder lib. Select all the files and then copy the path / system / lib / on your mobile. Then execute the commands listed in the file folder JIT instructions to download either via the adb pc or terminal emulator through the phone. Stir in and reboot. Download from the MARKET linpack do the install and run. If you pull MFLOPS 7 + (maybe even 11+) your ok. The linpack is optional. The jit will work anyway. just if you have doubts about whether you did it right then test it with the linpack (from market)...
the commands:
(adb shell) write this IF using ADB,
su
chmod 755 /system/bin/dalvikvm
chmod 755 /system/bin/dexopt
chmod 755 /system/bin/logcat
---------------------------------------------------
automatic batch script is the best way!!
-tested on: kyrillos 3.3 and 3.0, lestatious 1.7 with fugumod 2.2 BE, odexed JPM rom+fugumod 2.2, normal JPM, normal JPF, normal JP3.
-how to enable JIT on 2.1 ---> http://forum.xda-developers.com/showpost.php?p=9701019&postcount=2457 by rulez81
-automatic batch script: http://forum.xda-developers.com/attachment.php?attachmentid=563441&d=1302230974 by moole
all credits to ARMV-DEV-TEAM!
Sent from my GT-I5800 using XDA App
Here's a packaged version of ARMV Team's files designed to enable JIT.
The zip contains a batch script which automatically pushes the files to your phone, chmods the relevant ones and then reboots your phone.
has haree changed the topic?? cuz i didnt write it like that...
Sent from my GT-I5800 using XDA App
Which task has the build.prop in /System/ ?
Everywhere you can read that you have enable Jit in this file,
but I can't see any difference if I write : dalvik.vm.execution-mode=int:jit
or if I erase this.
If I change the the heapsize, I can't see any differences too.
Can anybody tell me something about the build.prop ?
moole said:
Here's a packaged version of ARMV Team's files designed to enable JIT.
The zip contains a batch script which automatically pushes the files to your phone, chmods the relevant ones and then reboots your phone.
Click to expand...
Click to collapse
Did u tried this? impressions?
GOOD JOB
Tried JASUX links, 8,3MFLOPs instead of 2,8 - good improvement.
Using Lestat 1.7, Fugumod 2.2 no OC
Quadrant improved from 320 to 380.
Copy/Paste with Root Explorer, CHMOD with ADB.
I hope the war about "who own`s the Linux" is over now.
Anyone tried ARMV batch? Scores?
Thanx to all dev`s
Urmas1 said:
Tried JASUX links, 8,3MFLOPs instead of 2,8 - good improvement.
Using Lestat 1.7, Fugumod 2.2 no OC
Quadrant improved from 320 to 380.
Copy/Paste with Root Explorer, CHMOD with ADB.
I hope the war about "who own`s the Linux" is over now.
Anyone tried ARMV batch? Scores?
Thanx to all dev`s
Click to expand...
Click to collapse
the war is over! but what filesystem you use?
Sent from my GT-I5800 using XDA App
vonuzu said:
Did u tried this? impressions?
Click to expand...
Click to collapse
well he wouldnt post it if it wouldnt work...
Sent from my GT-I5800 using XDA App
hi friends,
I tried enabling JIT but after reboot it is stuck at bootanimation screen. it has been more that 10 mins ..shud i wait or shud i switch off and restart ?
jazux said:
has haree changed the topic?? cuz i didnt write it like that...
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
hi
no i did not just closed ur old thread and merged another thread related to this one deleted un wanted post here one thats all did not do any change at all
jazux said:
the war is over! but what filesystem you use?
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
system - ex4
data - ext4
cache - ext2
p_san_p said:
hi friends,
I tried enabling JIT but after reboot it is stuck at bootanimation screen. it has been more that 10 mins ..shud i wait or shud i switch off and restart ?
Click to expand...
Click to collapse
What build you use?
Edit: Jazux, I think you have to be more specific in first post about system demands for JIT - deodexed, rooted, base FW etc...
Urmas1 said:
Edit: Jazux, I think you have to be more specific in first post about system demands for JIT - deodexed, rooted, base FW etc...
Click to expand...
Click to collapse
Jazux it's not the dev of the mod and probably doesn't know...
I think the jit is based on a JPM release, anyway if you don't wanna brick your phones (well, softbrick!) wait for apocalypse, this is experimental as everything in this forum
Re
I tried but i got this msg...
Phone reboots and nothing
Mr.Gamer said:
Jazux it's not the dev of the mod and probably doesn't know...
I think the jit is based on a JPM release, anyway if you don't wanna brick your phones (well, softbrick!) wait for apocalypse, this is experimental as everything in this forum
Click to expand...
Click to collapse
Well, I was struggling to get JIT for three days before it came up here.
All I learned about JIT is that you have to have DEODEXED ROM and be ROOTED. This package of JIF is specific to our phones but do you have to be on JPM - I`m not sure. This may even work for Eclair. Until not tested can`t say. I`m not going to test it on Eclair or any other version and who does have Eclair anyway nowadays
If I`m wrong please correct me.
zavisa said:
I tried but i got this msg...
Phone reboots and nothing
Click to expand...
Click to collapse
You should mount your system writeable...
Code:
$ su
# mount -o remount,rw /system
zavisa said:
I tried but i got this msg...
Phone reboots and nothing
Click to expand...
Click to collapse
Is your phone rooted?
Damn, I was close to making it myself, would have probably posted it later today But anyways, great news. Now I don't have to do the work
P.S. same issue as zavisa. though on JPM, problem was probably that it wasnt deodoxed. will flash indroid now and try again
s3th.g3ck9 said:
You should mount your system writeable...
Code:
$ su
# mount -o remount,rw /system
Click to expand...
Click to collapse
or use Root Explorer to mount system before starting "enable_jit.cmd"
stubborn_d0nkey said:
Damn, I was close to making it myself, would have probably posted it later today But anyways, great news. Now I don't have to do the work
P.S. same issue as zavisa. though on JPM, problem was probably that it wasnt deodoxed. will flash indroid now and try again
Click to expand...
Click to collapse
guys do not push the file with ADB use ROOT EX transfer the files in corect place than open CMD type the comm and ENJOY

[GOVERNOR][2.6.39.4] Hotplug for Nvidia Tegra

Hello again xda, today I want to present something tiny, but nontheless important (in my view) for our old TF101 ...
The first working HOTPLUG governor for this device!
Q: What the hell is 'hotplug' ?
Hotplug Governor:
The “hotplug” governor scales CPU frequency based on load, similar to
“ondemand”. It scales up to the highest frequency when “up_threshold”
is crossed and scales down one frequency at a time when “down_threshold”
is crossed. Unlike those governors, target frequencies are determined
by directly accessing the CPUfreq frequency table, instead of taking
some percentage of maximum available frequency.
The key difference in the “hotplug” governor is that it will disable
auxillary CPUs when the system is very idle, and enable them again once
the system becomes busy. This is achieved by averaging load over
multiple sampling periods; if CPUs were online or offlined based on a
single sampling period then thrashing will occur.
Click to expand...
Click to collapse
As you can see, hotplug is able to deliver you the fastest experience and the most fps in game (kernel independant), but it also allows for completely switching off one core to save battery life. In my testings, that worked very well. I also found out, that with this governor, my TF is deep-sleeping like a baby. No governor around here (not even smartassv2 ... could deliver me this performance while maintaining a decent battery life).
Tested on EOS 4.2.1 with EOS4 kernel
But try out yourself:
NOTE: This works on any 2.X kernel available (my Harmony series, ELiTE series, KatKernel series, or any other kernel except my divemaster)
Code:
1) Download a terminal emulator (if you don't have one already)
2) Download the .ko module from [URL="https://dl.dropbox.com/u/31119007/xda/hotplug-tegra-2/cpufreq_hotplug.ko"]here[/URL]
3) Remember the path you saved the module to (or preferably move it into /system/lib/modules)
4) su
5) insmod path-to-module/cpufreq_hotplug.ko
6) Switch to 'hotplug' governor with your favourite tool.
If you were too lazy to read my instructions, this is for you ..
DOWNLOAD
As always, have fun, share, and report back!
​
I have followed the instructions, do I have to run it every reboot or just this one off?
Nothing really happened when I ran it but I guess it just loads the module.
Cheers buddy
Must say thanks again for all the amazing work!
pops106 said:
I have followed the instructions, do I have to run it every reboot or just this one off?
Nothing really happened when I ran it but I guess it just loads the module.
Cheers buddy
Click to expand...
Click to collapse
Ahaha figured it out, it adds the govenor so we can then change it.
Cheers
---------- Post added at 08:41 PM ---------- Previous post was at 08:36 PM ----------
pops106 said:
Ahaha figured it out, it adds the govenor so we can then change it.
Cheers
Click to expand...
Click to collapse
wouldn't wake up after putting it to sleep, had to hold power button till it rebooted then it is gone from the options.
Soz
Running eos3 and kat69
Cheers
Good work! I was trying to do this same thing the cpusleeper app but couldnt get it to work. Definitely giving this a go.
Edit: installed fine but wont survive a reboot. Any fix for e this?
Sent from my Transformer TF101 using xda premium
Got a reboot while browsing with stock browser for five minutes.
Eos81,kat kernel
The only problem as 2 people discribe abovme is RR or Random Reboot.
Thats only problem.
sounds very promising i'll try it out and report if I get any RR's.
Getting error insmod: Can't open 'path-to-module/cpufreq_hotplug.ko'
Cd to my download folder which is where it is, am I doing something wrong?
morphuex said:
sounds very promising i'll try it out and report if I get any RR's.
Getting error insmod: Can't open 'path-to-module/cpufreq_hotplug.ko'
Cd to my download folder which is where it is, am I doing something wrong?
Click to expand...
Click to collapse
path-to-module should be the path the the module.
st0nedpenguin said:
path-to-module should be the path the the module.
Click to expand...
Click to collapse
Wow I derped that up, thx lol.
Was running fine at 1.2 decided to bump it up to 1.4 hit apply and it rebooted on me, is also didn't stick after reboot like others have said.
In here you may find how to make permanent the governor insmod.
Long story short is "add a script in /system/etc/init.d , it can be something like 91modules. . Add execution permission and it can contain the same code as before. Reboot and it should load your module at boot (be sure that the path to your module is right).
Also, you can do that in one line as root in a terminal. First, be sure that your /system is mounted as rw, not ro. If you don't know how to do that, as root, in a terminal, execute:
Code:
mount -o remount,rw /system
Then:
Code:
echo -e \#\!/system/bin/sh'\n'insmod [B]/path/to/module[/B]/cpufreq_hotplug.ko > /system/etc/init.d/91modules | chmod +x /system/etc/init.d/91modules
"
It should load automatically next time you reboot.
I created the 91modules file and done the editing and file permission in ES File Manager, but the above instructions should work flawlessly.
Don't thank me for this. Thank MapleSyrup
RaymaFX, you always amaze me!:victory:
hunterval said:
RaymaFX, you always amaze me!:victory:
Click to expand...
Click to collapse
Posts like this are keeping my work up and my releases coming.
People like you are the reason I am putting this much effort in this kinda old device .
For those who experience SOD/RR with hotplug and can confirm it's not related to anything else, please gimme a dsmg/ksmg (I recommend using 'Lumberjack' from the playstore (made by Chris Trotman, EOS founder).
*NO* logcat, that isn't any useful for me in this case ..
I do now have 2 days uptime with hotplug governor, not a single SOD/RR, pretty much usage (wifi on all the time, a little Riptide GP, web browsing, most of the time playing music) and still got 20% left with EOS4 kernel while achieving full performance while needed. This thing is deep-sleeping just perfectly.
I have placed the hotplug in the system this morning and my battery life still 99% im using it with dock and dono m8 but if theres any problem but seems my tf101 dont consume energy at all im starting to get scarry lol
Sent from my Transformer TF101 using xda app-developers app
turtlemask said:
In here you may find how to make permanent the governor insmod.
Long story short is "add a script in /system/etc/init.d , it can be something like 91modules. . Add execution permission and it can contain the same code as before. Reboot and it should load your module at boot (be sure that the path to your module is right).
Also, you can do that in one line as root in a terminal. First, be sure that your /system is mounted as rw, not ro. If you don't know how to do that, as root, in a terminal, execute:
Code:
mount -o remount,rw /system
Then:
Code:
echo -e \#\!/system/bin/sh'\n'insmod [B]/path/to/module[/B]/cpufreq_hotplug.ko > /system/etc/init.d/91modules | chmod +x /system/etc/init.d/91modules
"
It should load automatically next time you reboot.
I created the 91modules file and done the editing and file permission in ES File Manager, but the above instructions should work flawlessly.
Don't thank me for this. Thank MapleSyrup
Click to expand...
Click to collapse
I typed all this in and it wont survive uve a reboot. I placed the module in /system/lib/modules and typed that. When i see the | is that a new line or all one line?
Sent from my Transformer TF101 using xda premium
You can make that code in 2 commands, 1st is all before the | and 2nd the command after the |.
In order to work your final 91modules should look like
Code:
#!/system/bin/sh
insmod /system/lib/modules/cpufreq_hotplug.ko
In order to test if it's working you cat try to run it from the terminal (it may need "su" before)
Code:
./system/etc/init.d/91modules
If it's not complaining about not being executable, you may test to see if it's loaded with "lsmod".
If it's loaded it surely will survive the reboot.
I hope that helps you.
Looks like it created the 91modules file in init.d but when i try to set permissions using chmod +x it says bad mode. Maybe thats why it isnt working, wrong permissions.
Sent from my Transformer TF101 using xda premium
Indeed the chmod +x command doesn't work.
You may use ES file explorer to set file permissions but also you need to allow it superuser access, mount /system as writable and "up to root" and mark execute and write to the user. At the end the file should have the following permissions: rwx r-- r--
Ill give that a try and see if that does it. Thanks!
thanks
Thanks RaymanFX, this is a great addition to our device.
Also thanks to all your work, you are keeping this device alive...

New Builder Question

This should probably go in some general Q&A forum, but this is by far the most helpful community I've come across so I wanted to try here first. I've finally got my Ubuntu box up and running again (upgrading to 14.04 wasn't pretty) and was able to build for both my 700t and my n5 without error, but I'm afraid to pull the trigger and flash it. I'm building straight CM for the tablet and AOSP for the phone, so what is the worst that could happen? I haven't gotten either of them to run in the emulator, but I'm not completely sure that is even possible. Any insight you may have would be most appreciated.
Thanks in advance!
Just thought of this, since I'm running Crombi ROM2SD, could I just install my zip on external, and then refresh the right kernel?
Sent from my ASUS Transformer Pad TF700T using Tapatalk
psudeke said:
but I'm afraid to pull the trigger and flash it. I'm building straight CM for the tablet and AOSP for the phone, so what is the worst that could happen?
Click to expand...
Click to collapse
The worst thing that can happen is that you brick your device, but you must do something sufficiently stupid for that to happen. I can't say anything about your phone, but for the TF700T, as long as you have a working recovery, flashing a ROM won't brick it. You may want to create the nvflash blobs if you want to have another safety net - it is possible to brick the TF700T if you force it to boot to the recovery and the recovery is broken.
psudeke said:
I haven't gotten either of them to run in the emulator, but I'm not completely sure that is even possible.
Click to expand...
Click to collapse
That's normal - ARM devices are just too different, and the emulator is just another different device.
psudeke said:
Just thought of this, since I'm running Crombi ROM2SD, could I just install my zip on external, and then refresh the right kernel?
Click to expand...
Click to collapse
See my Android dual-booting thread in the dev subforum. I originally developed ROM2SD to be able to test my self-built ROMs without breaking my working installation.
_that said:
The worst thing that can happen is that you brick your device, but you must do something sufficiently stupid for that to happen. I can't say anything about your phone, but for the TF700T, as long as you have a working recovery, flashing a ROM won't brick it. You may want to create the nvflash blobs if you want to have another safety net - it is possible to brick the TF700T if you force it to boot to the recovery and the recovery is broken.
That's normal - ARM devices are just too different, and the emulator is just another different device.
See my Android dual-booting thread in the dev subforum. I originally developed ROM2SD to be able to test my self-built ROMs without breaking my working installation.
Click to expand...
Click to collapse
Thanks _That, I appreciate your help! After reading your post and the f2fs post, i thought i was in the clear, but i still managed to screw something up. i'm unable to get the tablet to boot off of external, regardless of whether its my ROM or CROMBi. I see a "segmentation error" listed in the output from the the preinit, and then it always boots to internal. I thought maybe i got the mount points reversed in recovered, so i reflashed recovery, but no luck. i also tried deleting the preinit script and then reinstalling CROMBi, but i still get the same error. any thoughts?
psudeke said:
I see a "segmentation error" listed in the output from the the preinit
Click to expand...
Click to collapse
For some unknown reason, dynamically linked executables don't work for preinit in KitKat. So if your *internal* ROM is not stock 4.2-based (I have no data about 4.3), the only way to run a preinit script is to use a statically linked busybox.
You still get that fault with a static busybox but it seems to copy files fine.
@psudeke you can compile the static busybox yourself simply with make static-busybox in your build folder - or just steal mine from /system/boot
sbdags said:
You still get that fault with a static busybox but it seems to copy files fine.
Click to expand...
Click to collapse
Your fault may come from one of the programs that you call in your script (did you forget to prefix some line with "busybox"?).
_that said:
Your fault may come from one of the programs that you call in your script (did you forget to prefix some line with "busybox"?).
Click to expand...
Click to collapse
it comes from the ls -l /init* which indeed doesn't have the busybox prefix but if I do it gives some other error I forget now
Anyway it doesn't harm the boot process - just an error message
_that said:
For some unknown reason, dynamically linked executables don't work for preinit in KitKat. So if your *internal* ROM is not stock 4.2-based (I have no data about 4.3), the only way to run a preinit script is to use a statically linked busybox.
Click to expand...
Click to collapse
_that said:
Your fault may come from one of the programs that you call in your script (did you forget to prefix some line with "busybox"?).
Click to expand...
Click to collapse
Internal is the 5/17 build of Crombi, and its a brand new install. with a full format of the data partition (which in my haste to get this working yesterday, i wiped out my nandroid from right before i tried this).
is there any connection between when the internal is flashed compared to the external? in other words, if i reflash the internal rom, it should still recognize an existing external rom? hope that makes sense, i'm still shaking off the effects of a little too much whiskey last night.:laugh:
psudeke said:
Internal is the 5/17 build of Crombi, and its a brand new install. with a full format of the data partition (which in my haste to get this working yesterday, i wiped out my nandroid from right before i tried this).
is there any connection between when the internal is flashed compared to the external? in other words, if i reflash the internal rom, it should still recognize an existing external rom? hope that makes sense, i'm still shaking off the effects of a little too much whiskey last night.:laugh:
Click to expand...
Click to collapse
No currently if you reflash internal it will only see internal. You need to reflash external for that to work.
sbdags said:
No currently if you reflash internal it will only see internal. You need to reflash external for that to work.
Click to expand...
Click to collapse
Ahh, thanks sbdags! that fixed the issue with ROM2SD. i got that impression when i pulled the preinit and saw it only had an entry for internal. but, i'm still very much in a learning phase so i didn't want to jump to a conclusion.
and after getting crombi to boot on external, i swapped sd cards and my build of CM11 actually booted! now the real learning process begins as i figure out how to customize it.
Thanks again to both you and @_that, you guys are the best:good:
@sbdags and @_that
Just wanted to thank you both again for your help. After much trial and error, i was able to build the 5/27 version of CM and merge in that's 9 f2fs kernel, its running well so far. not a bad quadrant score for someone who doesn't know what they're doing!
https://www.dropbox.com/s/khq17h04b715eyd/C11%20Benchmark%20ART.png
Hats off to both of you! :good:
--- Guess I can't insert an image directly from my DropBox, link is to a screenshot of my score ---
psudeke said:
After much trial and error, i was able to build the 5/27 version of CM and merge in that's 9 f2fs kernel, its running well so far. not a bad quadrant score for someone who doesn't know what they're doing!
Click to expand...
Click to collapse
Congratulations! If you can build a working ROM from source, you're already in the top 1% of people here who know what they're doing.
_that said:
Congratulations! If you can build a working ROM from source, you're already in the top 1% of people here who know what they're doing.
Click to expand...
Click to collapse
Good to finally be a "One Percenter" in something! :laugh:
Thanks again for your help, I'm sure that was the first of many questions I can't figure out.
psudeke said:
Good to finally be a "One Percenter" in something! :laugh:
Thanks again for your help, I'm sure that was the first of many questions I can't figure out.
Click to expand...
Click to collapse
Just ask away and congrats! :good:
sbdags said:
Just ask away and congrats! :good:
Click to expand...
Click to collapse
Be careful what you wish for, I've got a laundry list of questions ranging from basic Linux commands to the nature of the multiverse, lol.
I do have one question out of the gate about the update-binary file. I'm trying to add a couple apps to either the system or data folders, but I'm not sure what commands are available from the stock CM file. I think for the most part by looking at your updater-script file I can figure out the commands to do what I want, but given the little I know about this and the size difference of the binary file between CM and the one i was looking at of yours, I'm curious. Is the best way to see what's available CM's git? I basically just want to install a different Launcher and Viper instead of DSP manager for sound. Do I need to study up on edify to look at the binary or is there an easier way?
Thanks again!
Sent from my ASUS Transformer Pad TF700T using Tapatalk
psudeke said:
Be careful what you wish for, I've got a laundry list of questions ranging from basic Linux commands to the nature of the multiverse, lol.
I do have one question out of the gate about the update-binary file. I'm trying to add a couple apps to either the system or data folders, but I'm not sure what commands are available from the stock CM file. I think for the most part by looking at your updater-script file I can figure out the commands to do what I want, but given the little I know about this and the size difference of the binary file between CM and the one i was looking at of yours, I'm curious. Is the best way to see what's available CM's git? I basically just want to install a different Launcher and Viper instead of DSP manager for sound. Do I need to study up on edify to look at the binary or is there an easier way?
Thanks again!
Sent from my ASUS Transformer Pad TF700T using Tapatalk
Click to expand...
Click to collapse
yes the easiest way to do it is just make 2 folders with your extra apps in it say /extras/app
then add the following to the updater-script (you don't need to touch the update-binary unless you start using aroma)
package_extract_dir("extras", "/system");
delete("/system/app/DSPManager.apk");
delete("/system/priv-app/Trebuchet.apk");
What that does is copies the extras/app folder into system and deletes your unwanted apps
note apps can be installed into 2 folders /system/app or /system/priv-app
similarly you can install your user apps into /data/app but this is dangerous with launchers as if the user manually uninstalls it you can't do anything on the tab
sbdags said:
yes the easiest way to do it is just make 2 folders with your extra apps in it say /extras/app
then add the following to the updater-script (you don't need to touch the update-binary unless you start using aroma)
package_extract_dir("extras", "/system");
delete("/system/app/DSPManager.apk");
delete("/system/priv-app/Trebuchet.apk");
What that does is copies the extras/app folder into system and deletes you unwanted apps
note apps can be installed into 2 folders /system/app or /systempriv-app
similar you can install your user apps into /data/app but this is dangerous with launchers as if the user manually uninstalls it you can't do anything on the tab
Click to expand...
Click to collapse
Thanks again! i can see how this becomes addicting fast :fingers-crossed:
@sbdags do I need to mount data before installing anything to the /data/app folder? I saw in your updater-script this line, and i'm assuming i need the same:
Code:
mount("f2fs", "EMMC", "/dev/block/mmcblk0p8", "/data");
one other quick question (hopefully), I saw in the XDA WIKI that i can possibly test the script using the update-binary, do i have to do this on the tablet itself? i spent all afternoon trying to fix a problem that amounted to an errant quotation mark in my script (and i knew it was something like that too. too many years of non-terminated string errors to not look there first:laugh, but the only way i could find to test it was to rezip the file and flash. any suggestions?
thank you good sir! :highfive:
psudeke said:
@sbdags do I need to mount data before installing anything to the /data/app folder? I saw in your updater-script this line, and i'm assuming i need the same:
Code:
mount("f2fs", "EMMC", "/dev/block/mmcblk0p8", "/data");
one other quick question (hopefully), I saw in the XDA WIKI that i can possibly test the script using the update-binary, do i have to do this on the tablet itself? i spent all afternoon trying to fix a problem that amounted to an errant quotation mark in my script (and i knew it was something like that too. too many years of non-terminated string errors to not look there first:laugh, but the only way i could find to test it was to rezip the file and flash. any suggestions?
thank you good sir! :highfive:
Click to expand...
Click to collapse
just zip the /meta-inf folder, and flash that to test. obviously comment out any format commands as they will fail. That is what I do.
Hey @psudeke you ever need any help with anything to do with source or git let me know
I am also willing to help out
and just a FYI be careful of @sbdags :cyclops: LOL
Just kidding....
Let me know thx Josh

Battery Status on computer

IGNORE THIS, NEWER VERSION(S) ARE HERE: http://forum.xda-developers.com/android/development/phone-s-battery-status-computer-screen-t3070549
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
wilk.gr76 said:
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
Click to expand...
Click to collapse
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
LS.xD said:
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
Click to expand...
Click to collapse
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
wilk.gr76 said:
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
Click to expand...
Click to collapse
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Sure!
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
If it helps, please press thanks.
wilk.gr76 said:
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
Click to expand...
Click to collapse
BASH?! Never heard about it...
Manjaro Linux should be fine for it
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
It is nice to get feedback so quicly! I expected to have no replies by Sunday, yet I get one in the first 5 mins! "Vielen Dank!" (I saw the german flag by your name...)
LS.xD said:
BASH?! Never heard about it...
Manjaro Linux should be fine for it
Click to expand...
Click to collapse
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
wilk.gr76 said:
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
Click to expand...
Click to collapse
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
LS.xD said:
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
Click to expand...
Click to collapse
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
wilk.gr76 said:
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
Click to expand...
Click to collapse
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
LS.xD said:
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
Click to expand...
Click to collapse
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
wilk.gr76 said:
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
Click to expand...
Click to collapse
Its really weird as the libs "missing" are all installed. I use KDE.
LS.xD said:
Its really weird as the libs "missing" are all installed. I use KDE.
Click to expand...
Click to collapse
It's pretty strange that it used "can't" instead of "cannot". Maybe try using gnome. I dunno, it works on mine.
I'm moving this to a DevDB now.
Has been moved to http://forum.xda-developers.com/and...ter-screen-t3070549/post59841376#post59841376

Categories

Resources